diff options
author | unknown <itsaferbie@gmail.com> | 2017-07-27 23:30:20 +0200 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-07-28 16:45:34 +0200 |
commit | 1f78b62cd66cd8dd69a7ae89db0f9e6481129640 (patch) | |
tree | b0715d55b2bbe1406be034739fe5e7c6e22d713a /keyboards/deltasplit75/protosplit | |
parent | 9f82d14eb94217a5990eac2a07349d921f29f77b (diff) | |
download | qmk_firmware-1f78b62cd66cd8dd69a7ae89db0f9e6481129640.tar.gz qmk_firmware-1f78b62cd66cd8dd69a7ae89db0f9e6481129640.tar.xz |
Hopefully compile issues are gone, and updated files
Diffstat (limited to 'keyboards/deltasplit75/protosplit')
-rw-r--r-- | keyboards/deltasplit75/protosplit/protosplit.c | 5 | ||||
-rw-r--r-- | keyboards/deltasplit75/protosplit/protosplit.h | 27 |
2 files changed, 26 insertions, 6 deletions
diff --git a/keyboards/deltasplit75/protosplit/protosplit.c b/keyboards/deltasplit75/protosplit/protosplit.c index 0301f096b..a7ee1fa8a 100644 --- a/keyboards/deltasplit75/protosplit/protosplit.c +++ b/keyboards/deltasplit75/protosplit/protosplit.c @@ -1,10 +1,5 @@ #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) { // // green led on // DDRD |= (1<<5); diff --git a/keyboards/deltasplit75/protosplit/protosplit.h b/keyboards/deltasplit75/protosplit/protosplit.h index 5e0c338f4..1b8ff89a9 100644 --- a/keyboards/deltasplit75/protosplit/protosplit.h +++ b/keyboards/deltasplit75/protosplit/protosplit.h @@ -9,7 +9,32 @@ //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( \ +#define KEYMAP_V2( \ + 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, K106, K107, K135, \ + K40, K53, 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, K53, 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, K106, 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} \ + } + +#define KEYMAP_PROTOSPLIT( \ 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, \ |