From b40d0e1512d35053e4402f4eae08360f5b2338b7 Mon Sep 17 00:00:00 2001 From: Kai Ryu Date: Tue, 2 Sep 2014 11:07:52 +0900 Subject: [PATCH] Change default keymap for AKB96 --- keyboard/akb96/keymap_common.h | 4 ++-- keyboard/akb96/keymap_default.c | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/keyboard/akb96/keymap_common.h b/keyboard/akb96/keymap_common.h index 923d1b8d..28312d7f 100644 --- a/keyboard/akb96/keymap_common.h +++ b/keyboard/akb96/keymap_common.h @@ -41,7 +41,7 @@ extern const uint16_t fn_actions[]; KA1, KB1, KC1, KD1, KE1, KF1, KG1, KH1, KI1, KJ1, KK1, KL1, KM1, KN1, KP1, KQ1, KR1, KS2, \ KA2, KB2, KC2, KD2, KE2, KF2, KG2, KH2, KI2, KJ2, KK2, KL2, KM2, KN2, KP2, KQ2, KR2, KS3, \ KA3, KB3, KC3, KD3, KE3, KF3, KG3, KH3, KI3, KJ3, KK3, KL3, KN3, KP3, KQ3, KR3, \ - KA4, KB4, KC4, KD4, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KN4, KP4, KQ4, KR4, KS5, \ + KA4, KB4, KC4, KD4, KE4, KF4, KG4, KH4, KI4, KJ4, KK4, KL4, KN4, KP4, KQ4, KR4, KS5, \ KA5, KB5, KC5, KF5, KJ5, KK5, KL5, KN5, KP5, KQ5, KR5 \ ) { \ { KC_##KA0, KC_##KA1, KC_##KA2, KC_##KA3, KC_##KA4, KC_##KA5 }, \ @@ -55,7 +55,7 @@ extern const uint16_t fn_actions[]; { KC_##KI0, KC_##KI1, KC_##KI2, KC_##KI3, KC_##KI4, KC_NO }, \ { KC_##KJ0, KC_##KJ1, KC_##KJ2, KC_##KJ3, KC_##KJ4, KC_##KJ5 }, \ { KC_##KK0, KC_##KK1, KC_##KK2, KC_##KK3, KC_##KK4, KC_##KK5 }, \ - { KC_##KL0, KC_##KL1, KC_##KL2, KC_##KL3, KC_NO, KC_##KL5 }, \ + { KC_##KL0, KC_##KL1, KC_##KL2, KC_##KL3, KC_##KL4, KC_##KL5 }, \ { KC_##KM0, KC_##KM1, KC_##KM2, KC_NO, KC_NO, KC_NO }, \ { KC_##KN0, KC_##KN1, KC_##KN2, KC_##KN3, KC_##KN4, KC_##KN5 }, \ { KC_##KP0, KC_##KP1, KC_##KP2, KC_##KP3, KC_##KP4, KC_##KP5 }, \ diff --git a/keyboard/akb96/keymap_default.c b/keyboard/akb96/keymap_default.c index 2d4e0c19..753f5acd 100644 --- a/keyboard/akb96/keymap_default.c +++ b/keyboard/akb96/keymap_default.c @@ -18,7 +18,7 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { * |-----------------------------------------------------------+---+---+---+---| * |Shift | Z| X| C| V| B| N| M| ,| .| /|Shift | 1| 2| 3| | * |-----------------------------------------------------------+---+---+---|Ent| - * |Ctrl|Gui |Alt | Space |Alt |Gui |Fn0 |Ctrl| 0| .| ,| | + * |Ctrl|Gui |Alt | Space |Alt |Gui |Fn0 |Ctrl| ,| 0| .| | * `---------------------------------------------------------------------------' */ KEYMAP( @@ -26,8 +26,8 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { GRV, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, BSPC,FN4, PSLS,PAST,PMNS, \ TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, BSLS,P7, P8, P9, PPLS, \ CAPS,A, S, D, F, G, H, J, K, L, SCLN,QUOT, ENT, P4, P5, P6, \ - LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT,P1, P2, P3, PENT, \ - LCTL,LGUI,LALT, SPC, RALT,RGUI,FN0, RCTL,P0, PDOT,PCMM ), + LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH, RSFT,FN0, P1, P2, P3, PENT, \ + LCTL,LGUI,LALT, SPC, RALT,RGUI,FN0, RCTL,PCMM,P0, PDOT ), /* Keymap 1: Fn Layer * ,---------------------------------------------------------------------------. * | | | | | | | | | | | | | | | | | | | | @@ -48,7 +48,7 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,NLCK,TRNS,TRNS,TRNS, \ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS,TRNS, \ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS, \ - TRNS,FN1, FN2, FN3, TRNS,TRNS,TRNS,APP, TRNS,TRNS,TRNS, TRNS,TRNS,UP, TRNS,TRNS, \ + TRNS,FN1, FN2, FN3, TRNS,TRNS,TRNS,APP, TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,UP, TRNS,TRNS, \ TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS, TRNS,LEFT,DOWN,RGHT ), /* Keymap 2: Arrow key Overlayer * ,---------------------------------------------------------------------------. @@ -70,7 +70,7 @@ const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = { TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS,TRNS, \ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS,TRNS, \ TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,TRNS, \ - TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,UP, TRNS,TRNS, \ + TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, TRNS,TRNS,TRNS,UP, TRNS,TRNS, \ TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS, TRNS,LEFT,DOWN,RGHT ), };