pc98_usb: Add unimap for usual pc98 layout
This commit is contained in:
parent
dd543150b4
commit
f9ceb7d1e1
3 changed files with 182 additions and 3 deletions
|
|
@ -8,10 +8,8 @@ TMK_DIR = ../../tmk_core
|
|||
TARGET_DIR = .
|
||||
|
||||
# keyboard dependent files
|
||||
SRC = keymap.c \
|
||||
matrix.c \
|
||||
SRC = matrix.c \
|
||||
protocol/serial_uart.c
|
||||
# protocol/serial_soft.c
|
||||
|
||||
CONFIG_H = config.h
|
||||
|
||||
|
|
@ -64,6 +62,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control
|
|||
CONSOLE_ENABLE = yes # Console for debug
|
||||
COMMAND_ENABLE = yes # Commands for debug and configuration
|
||||
#NKRO_ENABLE = yes # USB Nkey Rollover
|
||||
UNIMAP_ENABLE = yes
|
||||
|
||||
|
||||
# Boot Section Size in bytes
|
||||
|
|
@ -73,6 +72,25 @@ COMMAND_ENABLE = yes # Commands for debug and configuration
|
|||
OPT_DEFS += -DBOOTLOADER_SIZE=4096
|
||||
|
||||
|
||||
#
|
||||
# Keymap file
|
||||
#
|
||||
ifeq (yes,$(strip $(UNIMAP_ENABLE)))
|
||||
KEYMAP_FILE = unimap
|
||||
else
|
||||
ifeq (yes,$(strip $(ACTIONMAP_ENABLE)))
|
||||
KEYMAP_FILE = actionmap
|
||||
else
|
||||
KEYMAP_FILE = keymap
|
||||
endif
|
||||
endif
|
||||
ifdef KEYMAP
|
||||
SRC := $(KEYMAP_FILE)_$(KEYMAP).c $(SRC)
|
||||
else
|
||||
SRC := $(KEYMAP_FILE).c $(SRC)
|
||||
endif
|
||||
|
||||
|
||||
# Search Path
|
||||
VPATH += $(TARGET_DIR)
|
||||
VPATH += $(TMK_DIR)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue