]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
New layer for F* keys
authorOleg Kostyuk <cub.uanic@gmail.com>
Mon, 9 Sep 2013 16:58:53 +0000 (19:58 +0300)
committerOleg Kostyuk <cub.uanic@gmail.com>
Mon, 9 Sep 2013 16:58:53 +0000 (19:58 +0300)
keyboard/ergodox/keymap_cub.h

index 32e98bc5db7733f7e24eb546ea5dda7eeb2ea822..eab27dac1437151248ef6e42d32b9a46efcae116 100644 (file)
@@ -237,6 +237,27 @@ static const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
         TRNS,RSFT,RCTL
     ),
 
+    KEYMAP(  // layout: layer 7: F-keys on right hand
+        // left hand
+        TRNS,NO,  NO,  NO,  NO,  NO,  NO,
+        TRNS,NO,  NO,  NO,  NO,  NO,  TRNS,
+        TRNS,TRNS,NO,  NO,  NO,  NO,
+        TRNS,NO,  NO,  NO,  NO,  NO,  TRNS,
+        TRNS,TRNS,TRNS,LALT,LGUI,
+                                      TRNS,TRNS,
+                                           TRNS,
+                                 LCTL,LSFT,TRNS,
+        // right hand
+             NO,  NO,  NO,  NO,  NO,  NO,  TRNS,
+             TRNS,NO,  F1,  F2,  F3,  F4,  PGUP,
+                  NO,  F5,  F6,  F7,  F8,  PGDN,
+             TRNS,NO,  F9,  F10, F11, F12, TRNS,
+                       RGUI,RALT,TRNS,TRNS,TRNS,
+        TRNS,TRNS,
+        TRNS,
+        TRNS,RSFT,RCTL
+    ),
+
 /*
     // templates to copy from
 
@@ -315,7 +336,7 @@ static const uint16_t PROGMEM fn_actions[] = {
 
     ACTION_LAYER_TAP_KEY(2, KC_H),                  // FN18 = L2 symbols on J key, to use with Mouse keys
     ACTION_LAYER_TAP_KEY(2, KC_V),                  // FN19 = L2 symbols on V key, to use with Numpad keys
-    ACTION_LAYER_TAP_KEY(6, KC_A),                  // FN20 = L6 symbols on A key, to use with F* keys
+    ACTION_LAYER_TAP_KEY(7, KC_A),                  // FN20 = L7 symbols on A key, to use with F* keys
     ACTION_LAYER_TAP_KEY(6, KC_SCLN),               // FN21 = L6 symbols on ; key, to use with F* keys
 };