From 4a82c33fc0943c2dee89b51e236d21dac08c1101 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Thu, 12 Dec 2013 12:58:14 +0900 Subject: [PATCH] Compatibility change for separated right shift --- keyboard/gh60/Makefile.lufa | 2 +- keyboard/gh60/keymap_poker2.h | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/keyboard/gh60/Makefile.lufa b/keyboard/gh60/Makefile.lufa index 67b95a39..cf588b74 100644 --- a/keyboard/gh60/Makefile.lufa +++ b/keyboard/gh60/Makefile.lufa @@ -145,5 +145,5 @@ poker_set: all poker_bit: OPT_DEFS += -DKEYMAP_POKER_BIT poker_bit: all -poker2: OPT_DEFS += -DKEYMAP_POKER2 -DBACKLIGHT_CUSTOM -DGH60_REV_C +poker2: OPT_DEFS += -DKEYMAP_POKER2 -DBACKLIGHT_CUSTOM -DGH60_REV_C -DDEBUG poker2: all diff --git a/keyboard/gh60/keymap_poker2.h b/keyboard/gh60/keymap_poker2.h index eba6799a..0eae7364 100644 --- a/keyboard/gh60/keymap_poker2.h +++ b/keyboard/gh60/keymap_poker2.h @@ -12,17 +12,17 @@ static const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { * |-----------------------------------------------------------| * |Caps | A| S| D| F| G| H| J| K| L| ;| '|Return | * |-----------------------------------------------------------| - * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | + * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift |Fn0| * |-----------------------------------------------------------| * |Ctrl|Gui |Alt | Space |Alt |Fn0 |Gui |Ctrl| * `-----------------------------------------------------------' */ - KEYMAP_ANSI( + KEYMAP( ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC, \ TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \ - CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, \ - LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT, \ - LCTL,LGUI,LALT, SPC, RALT,FN0, RGUI,RCTL), + CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT,NO, ENT, \ + LSFT,NO, Z, X, C, V, B, N, M, COMM,DOT, SLSH,FN0, RSFT, \ + LCTL,LGUI,LALT, SPC, NO, RALT,FN0, RGUI,RCTL), /* Keymap 1: Fn Layer * ,-----------------------------------------------------------. * | `| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Delete | @@ -31,17 +31,17 @@ static const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { * |-----------------------------------------------------------| * | |Lef|Dow|Rig| | | | | | |Hom|PgU| | * |-----------------------------------------------------------| - * | | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | + * | | |App|Fn1|Fn2|Fn3|VoD|VoU|Mut|End|PgD| | | * |-----------------------------------------------------------| * | | | | | | | | | * `-----------------------------------------------------------' */ - KEYMAP_ANSI( + KEYMAP( GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, DEL, \ TRNS,TRNS,UP, TRNS,TRNS,TRNS,CALC,TRNS,INS, TRNS,PSCR,SLCK,PAUS,TRNS, \ - TRNS,LEFT,DOWN,RGHT,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,HOME,PGUP, TRNS, \ - TRNS,TRNS,APP, FN1, FN2, FN3, VOLD,VOLU,MUTE,END, PGDN, TRNS, \ - TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS), + TRNS,LEFT,DOWN,RGHT,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,HOME,PGUP,NO, TRNS, \ + TRNS,NO, TRNS,APP, FN1, FN2, FN3, VOLD,VOLU,MUTE,END, PGDN,TRNS,TRNS, \ + TRNS,TRNS,TRNS, TRNS, NO, TRNS,TRNS,TRNS,TRNS), }; /*