TARGET = RedScarfII_pjrc | TARGET = RedScarfII_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c \ | |||||
yc059.c \ | |||||
rgb.c \ | |||||
suspend.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
CONSOLE_ENABLE = yes # Console for debug(+400) | CONSOLE_ENABLE = yes # Console for debug(+400) | ||||
COMMAND_ENABLE = yes # Commands for debug and configuration | COMMAND_ENABLE = yes # Commands for debug and configuration | ||||
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||||
#NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||||
NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||||
USB_6KRO_ENABLE = yes # USB 6key Rollover | |||||
#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | #PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | ||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||||
KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = RedScarfIII_lufa | TARGET = RedScarfIII_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c \ | ledmap.c \ | ||||
yc059.c \ | yc059.c \ | ||||
rgb.c \ | |||||
suspend.c | |||||
rgb.c \ | |||||
suspend.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/protocol.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = RedScarfIII_pjrc | TARGET = RedScarfIII_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c \ | ledmap.c \ | ||||
yc059.c \ | yc059.c \ | ||||
rgb.c \ | |||||
suspend.c | |||||
rgb.c \ | |||||
suspend.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
CONSOLE_ENABLE = yes # Console for debug(+400) | CONSOLE_ENABLE = yes # Console for debug(+400) | ||||
COMMAND_ENABLE = yes # Commands for debug and configuration | COMMAND_ENABLE = yes # Commands for debug and configuration | ||||
#SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | #SLEEP_LED_ENABLE = yes # Breathing sleep LED during USB suspend | ||||
#NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||||
NKRO_ENABLE = yes # USB Nkey Rollover - not yet supported in LUFA | |||||
USB_6KRO_ENABLE = yes # USB 6key Rollover | |||||
#PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | #PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | ||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||||
KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = gh60_lufa | TARGET = gh60_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TMK_DIR = ../../tmk_core | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . |
TARGET = gh60_pjrc | TARGET = gh60_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TMK_DIR = ../../tmk_core | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
include $(TMK_DIR)/protocol/pjrc.mk | include $(TMK_DIR)/protocol/pjrc.mk | ||||
include $(TMK_DIR)/common.mk | include $(TMK_DIR)/common.mk | ||||
include $(TMK_DIR)/rules.mk | include $(TMK_DIR)/rules.mk | ||||
plain: OPT_DEFS += -DKEYMAP_PLAIN | |||||
plain: all | |||||
poker: OPT_DEFS += -DKEYMAP_POKER | |||||
poker: all | |||||
poker_set: OPT_DEFS += -DKEYMAP_POKER_SET | |||||
poker_set: all | |||||
poker_bit: OPT_DEFS += -DKEYMAP_POKER_BIT | |||||
poker_bit: all |
TARGET = ghpad_lufa | TARGET = ghpad_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = ghpad_pjrc | TARGET = ghpad_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
plain: OPT_DEFS += -DKEYMAP_PLAIN | |||||
plain: all | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = lr94_lufa | TARGET = lr94_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = lr94_pjrc | TARGET = lr94_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = smart68_lufa | TARGET = smart68_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = smart68_pjrc | TARGET = smart68_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = staryu_lufa | TARGET = staryu_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c \ | ledmap.c \ | ||||
light_ws2812.c \ | |||||
rgb.c | |||||
light_ws2812.c \ | |||||
rgb.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/protocol.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = staryu_pjrc | TARGET = staryu_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c \ | |||||
light_ws2812.c \ | |||||
rgb.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight | SOFTPWM_LED_ENABLE = yes # Enable SoftPWM to drive backlight | ||||
FADING_LED_ENABLE = yes # Enable fading backlight | FADING_LED_ENABLE = yes # Enable fading backlight | ||||
BREATHING_LED_ENABLE = yes # Enable breathing backlight | BREATHING_LED_ENABLE = yes # Enable breathing backlight | ||||
LEDMAP_ENABLE = yes # Enable LED mapping | |||||
LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom | |||||
#LEDMAP_ENABLE = yes # Enable LED mapping | |||||
#LEDMAP_IN_EEPROM_ENABLE = yes # Read LED mapping from eeprom | |||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = staryu_lite_lufa | TARGET = staryu_lite_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c \ | ledmap.c \ | ||||
light_ws2812.c \ | |||||
rgb.c | |||||
light_ws2812.c \ | |||||
rgb.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/protocol.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = tentapad_lufa | TARGET = tentapad_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/protocol.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/protocol.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = tentapad_pjrc | TARGET = tentapad_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# project specific files | # project specific files | ||||
SRC = keymap_common.c \ | SRC = keymap_common.c \ | ||||
tentapad.c \ | |||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c \ | |||||
vibration.c \ | |||||
buzzer.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
#NKRO_ENABLE = yes # USB Nkey Rollover | #NKRO_ENABLE = yes # USB Nkey Rollover | ||||
#USB_6KRO_ENABLE = yes # USB 6key Rollover | #USB_6KRO_ENABLE = yes # USB 6key Rollover | ||||
PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | PS2_MOUSE_ENABLE = yes # PS/2 mouse(TrackPoint) support | ||||
PS2_USE_BUSYWAIT = yes | |||||
PS2_USE_USART= yes | |||||
#PS2_USE_BUSYWAIT = yes | |||||
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||||
KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | KEYMAP_IN_EEPROM_ENABLE = yes # Read keymap from eeprom | ||||
#KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor | #KEYMAP_SECTION_ENABLE = yes # Fixed address keymap for keymap editor | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/protocol.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = tentapad_lufa | TARGET = tentapad_lufa | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/lufa.mk | |||||
include $(TOP_DIR)/protocol.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/lufa.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
TARGET = tentapad_pjrc | TARGET = tentapad_pjrc | ||||
# Directory common source filess exist | # Directory common source filess exist | ||||
TOP_DIR = ../.. | |||||
TMK_DIR = ../../tmk_core_custom | |||||
# Directory keyboard dependent files exist | # Directory keyboard dependent files exist | ||||
TARGET_DIR = . | TARGET_DIR = . | ||||
# project specific files | # project specific files | ||||
SRC = keymap_common.c \ | SRC = keymap_common.c \ | ||||
tentapad.c \ | |||||
matrix.c \ | matrix.c \ | ||||
led.c \ | led.c \ | ||||
backlight.c \ | backlight.c \ | ||||
ledmap.c | |||||
ledmap.c \ | |||||
vibration.c \ | |||||
buzzer.c | |||||
ifdef KEYMAP | ifdef KEYMAP | ||||
SRC := keymap_$(KEYMAP).c $(SRC) | SRC := keymap_$(KEYMAP).c $(SRC) | ||||
# Search Path | # Search Path | ||||
VPATH += $(TARGET_DIR) | VPATH += $(TARGET_DIR) | ||||
VPATH += $(TOP_DIR) | |||||
VPATH += $(TMK_DIR) | |||||
include $(TOP_DIR)/protocol/pjrc.mk | |||||
include $(TOP_DIR)/common.mk | |||||
include $(TOP_DIR)/rules.mk | |||||
include $(TMK_DIR)/protocol/pjrc.mk | |||||
include $(TMK_DIR)/common.mk | |||||
include $(TMK_DIR)/rules.mk |
#include "keymap_in_eeprom.h" | #include "keymap_in_eeprom.h" | ||||
#include "keymap_common.h" | #include "keymap_common.h" | ||||
static uint8_t keymaps_cache[KEYMAPS_COUNT][MATRIX_ROWS][MATRIX_COLS] = {0}; | |||||
static uint8_t keymaps_cache[KEYMAPS_COUNT][MATRIX_ROWS][MATRIX_COLS] = {{{0}}}; | |||||
static uint8_t last_layer_number = 1; | static uint8_t last_layer_number = 1; | ||||
void keymaps_cache_init(void) | void keymaps_cache_init(void) | ||||
} | } | ||||
/* translates key to keycode */ | /* translates key to keycode */ | ||||
uint8_t keymap_key_to_keycode(uint8_t layer, key_t key) | |||||
uint8_t keymap_key_to_keycode(uint8_t layer, keypos_t key) | |||||
{ | { | ||||
return keymaps_cache[layer][key.row][key.col]; | return keymaps_cache[layer][key.row][key.col]; | ||||
} | } |