From 5a7330dde43a544ac4f7f815688077e413e6712b Mon Sep 17 00:00:00 2001 From: Oleg Kostyuk Date: Thu, 5 Sep 2013 01:12:48 +0300 Subject: [PATCH] Added handy switching to L2 to use Mouse keys --- keyboard/ergodox/keymap_cub.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/keyboard/ergodox/keymap_cub.h b/keyboard/ergodox/keymap_cub.h index 0446bdc9..08e7ea31 100644 --- a/keyboard/ergodox/keymap_cub.h +++ b/keyboard/ergodox/keymap_cub.h @@ -34,7 +34,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // right hand QUOT,6, 7, 8, 9, 0, EQL, FN3, Y, U, I, O, P, LBRC, - H, J, K, L, SCLN,MINS, + FN14,J, K, L, SCLN,MINS, FN4, N, M, COMM,DOT, SLSH,RBRC, LEFT,UP, DOWN,RGHT,FN4, PGUP,DEL, @@ -76,7 +76,7 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { // right hand SLCK,NLCK,PSLS,PAST,PAST,PMNS,BSPC, TRNS,NO, P7, P8, P9, PMNS,BSPC, - NO, P4, P5, P6, PPLS,PENT, + TRNS,P4, P5, P6, PPLS,PENT, TRNS,NO, P1, P2, P3, PPLS,PENT, P0, PDOT,SLSH,PENT,PENT, TRNS,TRNS, @@ -219,8 +219,9 @@ static const uint16_t PROGMEM fn_actions[] = { ACTION_MODS_TAP_KEY(MOD_RSFT, KC_ENT), // FN12 = RShift with tap Enter ACTION_MODS_TAP_KEY(MOD_RCTL, KC_SPC), // FN13 = RCtrl with tap Space + ACTION_LAYER_TAP_KEY(2, KC_H), // FN14 = L2 symbols on J key, to use with Mouse keys + /* - ACTION_LAYER_TAP_KEY(1, KC_SPC), // FN0 = L1 symbols ACTION_LAYER_TAP_KEY(1, KC_ENT), // FN5 = L1 symbols */ }; -- 2.46.2