4 #include "keymap_common.h"
7 #ifdef KEYMAP_SECTION_ENABLE
8 const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] __attribute__ ((section (".keymap.keymaps"))) = {
10 const uint8_t keymaps[][MATRIX_ROWS][MATRIX_COLS] PROGMEM = {
12 /* Layer 0: Default Layer */
13 KEYMAP_JP(ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, JYEN,BSPC, \
14 TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC, \
15 LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,BSLS,ENT, \
16 LSFT,Z, X, C, V, B, N, M, COMM,DOT, SLSH,RO, UP, RSFT, \
17 FN0, ZKHK,LGUI,LALT,MHEN, SPC, HENK,KANA,RALT,FN0, LEFT,DOWN,RGHT),
19 /* Layer 1: HHKB mode (HHKB Fn)
20 * ,-----------------------------------------------------------.
21 * |Pwr| F1| F2| F3| F4| F5| F6| F7| F8| F9|F10|F11|F12|Ins|Del|
22 * |-----------------------------------------------------------|
23 * |Caps | | | | | | | |Psc|Slk|Pus|Up | | |
24 * |------------------------------------------------------` |
25 * | |VoD|VoU|Mut| | | *| /|Hom|PgU|Lef|Rig| | |
26 * |-----------------------------------------------------------|
27 * | | | | | | | +| -|End|PgD|Dow| | | |
28 * |-----------------------------------------------------------|
29 * | || | | | | | | | | || | | |
30 * `-----------------------------------------------------------'
32 KEYMAP_JP(PWR, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, DEL, \
33 CAPS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PSCR,SLCK,PAUS, UP, TRNS, \
34 TRNS,VOLD,VOLU,MUTE,TRNS,TRNS,PAST,PSLS,HOME,PGUP,LEFT,RGHT,TRNS,PENT, \
35 TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,PPLS,PMNS,END, PGDN,DOWN,TRNS,TRNS,TRNS, \
36 TRNS,TRNS,TRNS,TRNS,TRNS, TRNS, TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS),
42 * Fn action definition
44 #ifdef KEYMAP_SECTION_ENABLE
45 const action_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
47 const action_t fn_actions[] PROGMEM = {
49 [0] = ACTION_LAYER_MOMENTARY(1),