hhkb: fix for keymap editor
This commit is contained in:
parent
14a66a181e
commit
db2015a6b2
5
keyboard/hhkb/Makefile.keymap_editor
Normal file
5
keyboard/hhkb/Makefile.keymap_editor
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# build firmware for keymap editor
|
||||||
|
#
|
||||||
|
KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor
|
||||||
|
include Makefile
|
||||||
|
|
@ -108,12 +108,12 @@ OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
|||||||
# Build Options
|
# Build Options
|
||||||
# comment out to disable the options.
|
# comment out to disable the options.
|
||||||
#
|
#
|
||||||
#BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration
|
||||||
MOUSEKEY_ENABLE = yes # Mouse keys
|
MOUSEKEY_ENABLE = yes # Mouse keys
|
||||||
EXTRAKEY_ENABLE = yes # Audio control and System control
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
||||||
CONSOLE_ENABLE = yes # Console for debug
|
CONSOLE_ENABLE = yes # Console for debug
|
||||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||||
#NKRO_ENABLE = yes # USB Nkey Rollover
|
NKRO_ENABLE = yes # USB Nkey Rollover
|
||||||
#KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor
|
#KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor
|
||||||
#HHKB_JP = yes # HHKB JP support
|
#HHKB_JP = yes # HHKB JP support
|
||||||
|
|
||||||
|
5
keyboard/hhkb/Makefile.rn42.keymap_editor
Normal file
5
keyboard/hhkb/Makefile.rn42.keymap_editor
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# build firmware for keymap editor
|
||||||
|
#
|
||||||
|
KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor
|
||||||
|
include Makefile.rn42
|
||||||
|
|
@ -48,7 +48,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||||||
#define ONESHOT_TIMEOUT 300
|
#define ONESHOT_TIMEOUT 300
|
||||||
|
|
||||||
/* Boot Magic salt key: Space */
|
/* Boot Magic salt key: Space */
|
||||||
#define BOOTMAGIC_KEY_SALT KC_FN6
|
#define BOOTMAGIC_KEY_SALT KC_SPACE
|
||||||
|
|
||||||
/* power control of key switch board */
|
/* power control of key switch board */
|
||||||
#define HHKB_POWER_SAVING
|
#define HHKB_POWER_SAVING
|
||||||
|
@ -85,8 +85,8 @@ const uint16_t fn_actions[] __attribute__ ((section (".keymap.fn_actions"))) = {
|
|||||||
[27] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC),
|
[27] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_ESC),
|
||||||
[28] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPACE),
|
[28] = ACTION_MODS_TAP_KEY(MOD_LSFT, KC_BSPACE),
|
||||||
[29] = ACTION_MODS_ONESHOT(MOD_LSFT),
|
[29] = ACTION_MODS_ONESHOT(MOD_LSFT),
|
||||||
[30] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_ESC),
|
[30] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_GRAVE),
|
||||||
[31] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_BSPACE),
|
[31] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_BSLASH),
|
||||||
};
|
};
|
||||||
#else
|
#else
|
||||||
const uint16_t fn_actions[] PROGMEM = {
|
const uint16_t fn_actions[] PROGMEM = {
|
||||||
|
Reference in New Issue
Block a user