]> git.friedersdorff.com Git - max/tmk_keyboard.git/commitdiff
fc980c: Update keymap
authortmk <hasu@tmk-kbd.com>
Thu, 27 Jul 2017 13:56:23 +0000 (22:56 +0900)
committertmk <hasu@tmk-kbd.com>
Thu, 27 Jul 2017 13:56:23 +0000 (22:56 +0900)
keyboard/fc980c/unimap.c

index 0caf4efa4f7a224983afb9f2f725e79babb5ec98..bd35a8ee0b5b1161ed5bdafd86ebeebaacc6bd61 100644 (file)
@@ -4,17 +4,27 @@
 #include "fc980c.h"
 
 
+#define AC_L1       ACTION_LAYER_MOMENTARY(1)
+
 #ifdef KEYMAP_SECTION_ENABLE
 const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
 #else
 const action_t actionmaps[][UNIMAP_ROWS][UNIMAP_COLS] PROGMEM = {
 #endif
     [0] = KMAP(
-    ESC,      F1,  F2,  F3,  F4,  F5,  F6,  F7,  F8,  F9,  F10, F11, F12,                         DEL, INS, PGUP,PGDN,
-    GRV, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSPC,                        NLCK,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,          UP,           P1,  P2,  P3,  PENT,
-    LCTL,LGUI,LALT,               SPC,                     RALT,RCTL,RGUI,     LEFT,DOWN,RGHT,         P0,  PDOT     
+        ESC,      F1,  F2,  F3,  F4,  F5,  F6,  F7,  F8,  F9,  F10, F11, F12,                         DEL, INS, PGUP,PGDN,
+        GRV, 1,   2,   3,   4,   5,   6,   7,   8,   9,   0,   MINS,EQL, BSPC,                        NLCK,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,          UP,           P1,  P2,  P3,  PENT,
+        LCTL,LGUI,LALT,               SPC,                     RALT,RCTL,L1,       LEFT,DOWN,RGHT,         P0,  PDOT
+    ),
+    [1] = KMAP(
+        TRNS,     TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,                        TRNS,TRNS,HOME,END,
+        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,PSCR,SLCK,PAUS,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,          PGUP,         TRNS,TRNS,TRNS,TRNS,
+        TRNS,TRNS,TRNS,               TRNS,                    TRNS,APP, TRNS,     HOME,PGDN,END,          TRNS,TRNS
     ),
 };