Skip to content

Commit

Permalink
post_keymap demo
Browse files Browse the repository at this point in the history
  • Loading branch information
vomindoraan committed May 12, 2020
1 parent 4acd02f commit bc4b8e0
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 91 deletions.
16 changes: 0 additions & 16 deletions keyboards/doro67/multi/keymaps/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Generic features
BOOTMAGIC_ENABLE = no
COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = yes

# Keyboard-specific features
BACKLIGHT_ENABLE = no
VIA_ENABLE = yes

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
14 changes: 1 addition & 13 deletions keyboards/kbdfans/kbd6x/keymaps/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,19 +1,7 @@
# Generic features
BOOTMAGIC_ENABLE = lite
COMMAND_ENABLE = yes
# Generic feature overrides
CONSOLE_ENABLE = no
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = no

# Keyboard-specific features
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = yes
VIA_ENABLE = yes

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
15 changes: 0 additions & 15 deletions keyboards/maartenwut/wasdat/keymaps/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,17 +1,2 @@
# Generic features
BOOTMAGIC_ENABLE = no
COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = yes

# Keyboard-specific features
VIA_ENABLE = yes

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
16 changes: 0 additions & 16 deletions keyboards/melody96/keymaps/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Generic features
BOOTMAGIC_ENABLE = no
COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = yes

# Keyboard-specific features
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = yes

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
16 changes: 0 additions & 16 deletions keyboards/whitefox/keymaps/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,2 @@
# Generic features
BOOTMAGIC_ENABLE = no
COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = yes

# Keyboard-specific features
BACKLIGHT_ENABLE = no
VISUALIZER_ENABLE = no

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
14 changes: 14 additions & 0 deletions users/konstantin/post_keymap.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
SRC += konstantin.c
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
SRC += rgb.c
endif
RGB_MATRIX_ENABLE ?= no
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
SRC += rgb.c
endif
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += tap_dance.c
endif
ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE)))
SRC += unicode.c
endif
34 changes: 19 additions & 15 deletions users/konstantin/rules.mk
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
SRC += konstantin.c
ifeq ($(strip $(RGBLIGHT_ENABLE)), yes)
SRC += rgb.c
endif
RGB_MATRIX_ENABLE ?= no
ifneq ($(strip $(RGB_MATRIX_ENABLE)), no)
SRC += rgb.c
endif
ifeq ($(strip $(TAP_DANCE_ENABLE)), yes)
SRC += tap_dance.c
endif
ifneq (,$(filter yes,$(UNICODE_ENABLE) $(UNICODEMAP_ENABLE)))
SRC += unicode.c
endif
# Generic features
BOOTMAGIC_ENABLE = no
COMMAND_ENABLE = yes
CONSOLE_ENABLE = yes
EXTRAKEY_ENABLE = yes
MOUSEKEY_ENABLE = yes
NKRO_ENABLE = yes
TAP_DANCE_ENABLE = yes
UNICODEMAP_ENABLE = yes

# Keyboard-specific feature defaults
BACKLIGHT_ENABLE = no
RGBLIGHT_ENABLE = no
RGB_MATRIX_ENABLE = no

# Firmware size reduction
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
SPACE_CADET_ENABLE = no
ifneq ($(PLATFORM),CHIBIOS)
LTO_ENABLE = yes
LTO_ENABLE = yes
endif

0 comments on commit bc4b8e0

Please sign in to comment.