mirror of
https://github.com/qmk/qmk_firmware.git
synced 2024-12-16 22:53:22 +00: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>
35 lines
880 B
Makefile
35 lines
880 B
Makefile
# MCU name
|
|
MCU = atmega32u4
|
|
|
|
# Processor frequency
|
|
F_CPU = 8000000
|
|
|
|
# Bootloader selection
|
|
BOOTLOADER = caterina
|
|
|
|
# Build Options
|
|
# change yes to no to disable
|
|
#
|
|
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
|
|
MOUSEKEY_ENABLE = no # Mouse keys
|
|
EXTRAKEY_ENABLE = yes # Audio control and System control
|
|
CONSOLE_ENABLE = no # Console for debug
|
|
COMMAND_ENABLE = no # Commands for debug and configuration
|
|
NKRO_ENABLE = yes # Enable N-Key Rollover
|
|
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
|
|
AUDIO_ENABLE = no # Audio output
|
|
RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
|
|
PS2_MOUSE_ENABLE = yes
|
|
PS2_ENABLE = yes
|
|
PS2_DRIVER = interrupt
|
|
CUSTOM_MATRIX = yes
|
|
BLUETOOTH_ENABLE = yes
|
|
BLUETOOTH_DRIVER = BluefruitLE
|
|
|
|
SRC += ws2812.c
|
|
SRC += rgbsps.c
|
|
SRC += analog.c
|
|
SRC += matrix.c
|
|
|
|
LTO_ENABLE = yes
|