diff options
author | Marek Kraus <gamelaster@users.noreply.github.com> | 2022-08-31 09:16:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-31 09:16:07 +0200 |
commit | 0237ff0c62d4278df3c0c93f5f85f84c1a0ed519 (patch) | |
tree | dceb6fc12c8d73de4e7e20160ceb9617387ac62b /keyboards/pierce | |
parent | ba7030d216c677538093043d357d819a81549ff7 (diff) |
[Core] Rework PS/2 driver selection (#17892)
* [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>
Diffstat (limited to 'keyboards/pierce')
-rw-r--r-- | keyboards/pierce/keymaps/durken1/config.h | 2 | ||||
-rw-r--r-- | keyboards/pierce/post_rules.mk | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/pierce/keymaps/durken1/config.h b/keyboards/pierce/keymaps/durken1/config.h index bc0bb1c4b8..7c9970c5a9 100644 --- a/keyboards/pierce/keymaps/durken1/config.h +++ b/keyboards/pierce/keymaps/durken1/config.h @@ -31,7 +31,7 @@ #define COMBO_COUNT 3 #define COMBO_TERM 35 -#ifdef PS2_USE_USART +#ifdef PS2_DRIVER_USART #define PS2_CLOCK_PIN D5 #define PS2_DATA_PIN D2 diff --git a/keyboards/pierce/post_rules.mk b/keyboards/pierce/post_rules.mk index e0360a3391..9cc6739d78 100644 --- a/keyboards/pierce/post_rules.mk +++ b/keyboards/pierce/post_rules.mk @@ -1,6 +1,7 @@ ifeq ($(strip $(TRACKPOINT)), yes) PS2_MOUSE_ENABLE = yes - PS2_USE_USART = yes + PS2_ENABLE = yes + PS2_DRIVER = usart OPT_DEFS += -DUSART endif |