mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 01:47:10 +06:00
0237ff0c62
* [Core] Rework PS/2 driver selection Enabling and selecting PS/2 driver was using old approach, so it was reworked to current approach, inspired by Serial and WS2812 driver selections. * [Keyboard] Update keyboards using PS/2 to use new PS/2 driver selection * [Docs] Update PS/2 documentation to use new PS/2 driver selection * Fix indentation * [Core] Add PS2 to data driver * Fix oversight in property name Co-authored-by: Drashna Jaelre <drashna@live.com> * Add PS/2 pins to data driven mappings Co-authored-by: Drashna Jaelre <drashna@live.com>
13 lines
203 B
Makefile
13 lines
203 B
Makefile
ifeq ($(strip $(TRACKPOINT)), yes)
|
|
PS2_MOUSE_ENABLE = yes
|
|
PS2_ENABLE = yes
|
|
PS2_DRIVER = usart
|
|
OPT_DEFS += -DUSART
|
|
endif
|
|
|
|
ifeq ($(strip $(AUTO_BUTTONS)), yes)
|
|
OPT_DEFS += -DAUTO_BUTTONS
|
|
endif
|
|
|
|
|