[Keymap] Add Kyria keymap (#9224)
* Add Kyria keymap * clean split hand detection code * rename "joystick" to "thumbstick" * thumbstick overhaul * removed angle correction, seems buggy * save some memory * Remove deprecated config option * Use the correct types for getting host led states * Fix include path * Made .h files for encoder and oled code * Increase speed cap on thumbstick
This commit is contained in:
21
keyboards/kyria/keymaps/gotham/rules.mk
Normal file
21
keyboards/kyria/keymaps/gotham/rules.mk
Normal file
@@ -0,0 +1,21 @@
|
||||
CONSOLE_ENABLE = yes # Console for debug
|
||||
ENCODER_ENABLE = yes # ENables the use of one or more encoders
|
||||
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
|
||||
MOUSEKEY_ENABLE = no # Mouse keys
|
||||
OLED_DRIVER_ENABLE = yes # Enables the use of OLED displays
|
||||
THUMBSTICK_ENABLE = yes # Enables analog thumbstick code
|
||||
|
||||
ifeq ($(strip $(ENCODER_ENABLE)), yes)
|
||||
SRC += encoder_utils.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(OLED_DRIVER_ENABLE)), yes)
|
||||
SRC += oled_utils.c
|
||||
endif
|
||||
|
||||
ifeq ($(strip $(THUMBSTICK_ENABLE)), yes)
|
||||
POINTING_DEVICE_ENABLE = yes
|
||||
OPT_DEFS += -DTHUMBSTICK_ENABLE
|
||||
SRC += analog.c
|
||||
SRC += thumbstick.c
|
||||
endif
|
||||
Reference in New Issue
Block a user