diff options
author | tmk <nobody@nowhere> | 2014-08-20 13:36:15 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2014-08-20 13:36:15 +0900 |
commit | 4f22a45b99abd6b018ac0ab8be915e45a9f88282 (patch) | |
tree | 65f334550b8a385ce15729299ac3188fff987e15 /keyboard/hhkb_rn42/Makefile | |
parent | 17f22da3cf3366344347b24b068fa4043a79d64b (diff) | |
download | firmware-4f22a45b99abd6b018ac0ab8be915e45a9f88282.tar.gz firmware-4f22a45b99abd6b018ac0ab8be915e45a9f88282.tar.bz2 firmware-4f22a45b99abd6b018ac0ab8be915e45a9f88282.zip |
Add support for HHKB JP
Diffstat (limited to 'keyboard/hhkb_rn42/Makefile')
-rw-r--r-- | keyboard/hhkb_rn42/Makefile | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/keyboard/hhkb_rn42/Makefile b/keyboard/hhkb_rn42/Makefile index b46b77789..e28b3e0be 100644 --- a/keyboard/hhkb_rn42/Makefile +++ b/keyboard/hhkb_rn42/Makefile @@ -53,12 +53,6 @@ SRC += keymap_common.c \ matrix.c \ led.c -ifdef KEYMAP - SRC := keymap_$(KEYMAP).c $(SRC) -else - SRC := keymap_hasu.c $(SRC) -endif - CONFIG_H = config.h @@ -124,6 +118,26 @@ CONSOLE_ENABLE = yes # Console for debug COMMAND_ENABLE = yes # Commands for debug and configuration #NKRO_ENABLE = yes # USB Nkey Rollover #KEYMAP_SECTION_ENABLE = yes # fixed address keymap for keymap editor +#HHKB_JP = yes # HHKB JP support + + +ifdef HHKB_JP + OPT_DEFS += -DHHKB_JP +endif + + +# +# Keymap file +# +ifdef KEYMAP + SRC := keymap_$(KEYMAP).c $(SRC) +else + ifdef HHKB_JP + SRC := keymap_jp.c $(SRC) + else + SRC := keymap_hasu.c $(SRC) + endif +endif # Search Path |