diff options
author | Drashna Jaelre <drashna@live.com> | 2021-07-25 18:18:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-25 18:18:39 -0700 |
commit | 4bb595f94b5c77e7a961ff69d2b4d9c53a9094fc (patch) | |
tree | aef7208a8afee7f2f33c5a91b4613537c7ccb8ea /keyboards/splitkb/kyria/keymaps/gotham/rules.mk | |
parent | d90897052243808863bcab3b07e16d5b6a0b08f0 (diff) |
[Keyboard] Fix up SplitKB keyboards (#13511)
Diffstat (limited to 'keyboards/splitkb/kyria/keymaps/gotham/rules.mk')
-rw-r--r-- | keyboards/splitkb/kyria/keymaps/gotham/rules.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/keyboards/splitkb/kyria/keymaps/gotham/rules.mk b/keyboards/splitkb/kyria/keymaps/gotham/rules.mk new file mode 100644 index 0000000000..0bd8badb4d --- /dev/null +++ b/keyboards/splitkb/kyria/keymaps/gotham/rules.mk @@ -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 |