Skip to content

Commit

Permalink
Add Support for USB programmable buttons (qmk#12950)
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch authored and coquizen committed Jun 3, 2022
1 parent 5b8a592 commit 04b2bf0
Show file tree
Hide file tree
Showing 4 changed files with 517 additions and 515 deletions.
6 changes: 6 additions & 0 deletions builddefs/common_features.mk
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,12 @@ ifeq ($(strip $(POINTING_DEVICE_ENABLE)), yes)
SRC += $(QUANTUM_DIR)/pointing_device.c
endif

ifeq ($(strip $(PROGRAMMABLE_BUTTON_ENABLE)), yes)
OPT_DEFS += -DPROGRAMMABLE_BUTTON_ENABLE
SRC += $(QUANTUM_DIR)/programmable_button.c
SRC += $(QUANTUM_DIR)/process_keycode/process_programmable_button.c
endif

VALID_EEPROM_DRIVER_TYPES := vendor custom transient i2c spi
EEPROM_DRIVER ?= vendor
ifeq ($(filter $(EEPROM_DRIVER),$(VALID_EEPROM_DRIVER_TYPES)),)
Expand Down
Loading

0 comments on commit 04b2bf0

Please sign in to comment.