Removed old protosplit folder
parent
78f79ca6cc
commit
cbc5a08c40
@ -1,3 +0,0 @@
|
|||||||
ifndef MAKEFILE_INCLUDED
|
|
||||||
include ../../Makefile
|
|
||||||
endif
|
|
@ -1,32 +0,0 @@
|
|||||||
#include "DeltaSplit75.h"
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
float tone_startup[][2] = SONG(STARTUP_SOUND);
|
|
||||||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
|
||||||
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
_delay_ms(20); // gets rid of tick
|
|
||||||
PLAY_NOTE_ARRAY(tone_startup, false, 0);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// // green led on
|
|
||||||
// DDRD |= (1<<5);
|
|
||||||
// PORTD &= ~(1<<5);
|
|
||||||
|
|
||||||
// // orange led on
|
|
||||||
// DDRB |= (1<<0);
|
|
||||||
// PORTB &= ~(1<<0);
|
|
||||||
|
|
||||||
matrix_init_user();
|
|
||||||
};
|
|
||||||
|
|
||||||
void shutdown_user(void) {
|
|
||||||
#ifdef AUDIO_ENABLE
|
|
||||||
PLAY_NOTE_ARRAY(tone_goodbye, false, 0);
|
|
||||||
_delay_ms(150);
|
|
||||||
stop_all_notes();
|
|
||||||
#endif
|
|
||||||
}
|
|
@ -1,37 +0,0 @@
|
|||||||
#ifndef ProtoSplit_H
|
|
||||||
#define ProtoSplit_H
|
|
||||||
|
|
||||||
#include "../DeltaSplit75.h"
|
|
||||||
|
|
||||||
//void promicro_bootloader_jmp(bool program);
|
|
||||||
#include "quantum.h"
|
|
||||||
|
|
||||||
//void promicro_bootloader_jmp(bool program);
|
|
||||||
//matrix is defined in a weird way here; the layout on both sides are asymmetrical, but the "matrix" is symmetrical but with empty gaps
|
|
||||||
//the last column is defined as a separate row because the firmware currently doesnt support more than 8 columns (this layout has 9 columns per side) K45 and K110 are the Bs on both sides
|
|
||||||
#define KEYMAP( \
|
|
||||||
K00, K01, K02, K03, K04, K05, K06, K70, K71, K72, K73, K74, K75, K76, K77, K132, \
|
|
||||||
K10, K11, K12, K13, K14, K15, K16, K80, K81, K82, K83, K84, K85, K86, K87, K133, \
|
|
||||||
K20, K21, K22, K23, K24, K25, K90, K91, K92, K93, K94, K95, K96, K97, K134, \
|
|
||||||
K30, K31, K32, K33, K34, K35, K100, K101, K102, K103, K104, K105, K107, K135, \
|
|
||||||
K40, K41, K42, K43, K44, K45, K110, K111, K112, K113, K114, K115, K116, K117, K136, \
|
|
||||||
K50, K51, K52, K54, K55, K120, K121, K122, K123, K126, K127, K137 \
|
|
||||||
) \
|
|
||||||
{ \
|
|
||||||
{ K00, K01, K02, K03, K04, K05, K06, KC_NO}, \
|
|
||||||
{ K10, K11, K12, K13, K14, K15, K16, KC_NO}, \
|
|
||||||
{ K20, K21, K22, K23, K24, K25, KC_NO, KC_NO}, \
|
|
||||||
{ K30, K31, K32, K33, K34, K35, KC_NO, KC_NO}, \
|
|
||||||
{ K40, K41, K42, K43, K44, K45, KC_NO, KC_NO}, \
|
|
||||||
{ K50, K51, K52, KC_NO, K54, K55, KC_NO, KC_NO}, \
|
|
||||||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO}, \
|
|
||||||
{ K70 , K71, K72, K73, K74, K75, K76, K77}, \
|
|
||||||
{ K80, K81, K82, K83, K84, K85, K86, K87}, \
|
|
||||||
{ K90, K91, K92, K93, K94, K95, K96, K97}, \
|
|
||||||
{ K100, K101, K102, K103, K104, K105, KC_NO, K107}, \
|
|
||||||
{ K110, K111, K112, K113, K114, K115, K116, K117}, \
|
|
||||||
{ K120, K121, K122, K123, KC_NO, KC_NO, K126, K127}, \
|
|
||||||
{ KC_NO, KC_NO, K132, K133, K134, K135, K136, K137} \
|
|
||||||
}
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,90 +0,0 @@
|
|||||||
/*
|
|
||||||
Copyright 2012 Jun Wako <wakojun@gmail.com>
|
|
||||||
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 2 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef CONFIG_H
|
|
||||||
#define CONFIG_H
|
|
||||||
|
|
||||||
#include "config_common.h"
|
|
||||||
|
|
||||||
/* USB Device descriptor parameter */
|
|
||||||
#define VENDOR_ID 0xFEED
|
|
||||||
#define PRODUCT_ID 0x3060
|
|
||||||
#define DEVICE_VER 0x0001
|
|
||||||
#define MANUFACTURER xyxjj
|
|
||||||
#define PRODUCT DeltaSplit75
|
|
||||||
#define DESCRIPTION 75% split keyboard
|
|
||||||
|
|
||||||
/* key matrix size */
|
|
||||||
// Rows are doubled-up
|
|
||||||
#define MATRIX_ROWS 14
|
|
||||||
#define MATRIX_COLS 8
|
|
||||||
|
|
||||||
// wiring of each half
|
|
||||||
#define MATRIX_ROW_PINS { F4, F5, F6, F7, B1, B3, B2 }
|
|
||||||
#define MATRIX_COL_PINS { B6, B5, B4, E6, D7, C6, D4, D1}
|
|
||||||
|
|
||||||
#define CATERINA_BOOTLOADER
|
|
||||||
|
|
||||||
/* COL2ROW or ROW2COL */
|
|
||||||
#define DIODE_DIRECTION COL2ROW
|
|
||||||
|
|
||||||
/* define if matrix has ghost */
|
|
||||||
//#define MATRIX_HAS_GHOST
|
|
||||||
|
|
||||||
/* number of backlight levels */
|
|
||||||
// #define BACKLIGHT_LEVELS 3
|
|
||||||
|
|
||||||
/* Set 0 if debouncing isn't needed */
|
|
||||||
#define DEBOUNCING_DELAY 5
|
|
||||||
|
|
||||||
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
|
|
||||||
#define LOCKING_SUPPORT_ENABLE
|
|
||||||
/* Locking resynchronize hack */
|
|
||||||
#define LOCKING_RESYNC_ENABLE
|
|
||||||
|
|
||||||
/* key combination for command */
|
|
||||||
#define IS_COMMAND() ( \
|
|
||||||
keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
|
|
||||||
)
|
|
||||||
|
|
||||||
/* ws2812 RGB LED */
|
|
||||||
#define RGB_DI_PIN D3
|
|
||||||
#define RGBLIGHT_TIMER
|
|
||||||
#define RGBLED_NUM 12 // Number of LEDs
|
|
||||||
#define ws2812_PORTREG PORTD
|
|
||||||
#define ws2812_DDRREG DDRD
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Feature disable options
|
|
||||||
* These options are also useful to firmware size reduction.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* disable debug print */
|
|
||||||
// #define NO_DEBUG
|
|
||||||
|
|
||||||
/* disable print */
|
|
||||||
// #define NO_PRINT
|
|
||||||
|
|
||||||
/* disable action features */
|
|
||||||
//#define NO_ACTION_LAYER
|
|
||||||
//#define NO_ACTION_TAPPING
|
|
||||||
//#define NO_ACTION_ONESHOT
|
|
||||||
//#define NO_ACTION_MACRO
|
|
||||||
//#define NO_ACTION_FUNCTION
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
|
@ -1,5 +0,0 @@
|
|||||||
BACKLIGHT_ENABLE = no
|
|
||||||
|
|
||||||
ifndef QUANTUM_DIR
|
|
||||||
include ../../../Makefile
|
|
||||||
endif
|
|
Loading…
Reference in New Issue