diff options
author | QMK Bot <[email protected]> | 2024-11-14 18:00:36 +0000 |
---|---|---|
committer | QMK Bot <[email protected]> | 2024-11-14 18:00:36 +0000 |
commit | 79a661fe61f28e2df76b94f36f0cc3366f088f70 (patch) | |
tree | 640dfe2af0b851fa4c303e48be8ee9771ae4847a /docs/features/ps2_mouse.md | |
parent | 0bda0f47754d01aa904f9831ff58ef760807ab16 (diff) | |
parent | 46236ce3de8385f27e3f13a9921abee7e1e0fa57 (diff) | |
download | qmk_firmware-79a661fe61f28e2df76b94f36f0cc3366f088f70.tar.gz qmk_firmware-79a661fe61f28e2df76b94f36f0cc3366f088f70.zip |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'docs/features/ps2_mouse.md')
-rw-r--r-- | docs/features/ps2_mouse.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/docs/features/ps2_mouse.md b/docs/features/ps2_mouse.md index 90f4cca827..52443c3ce2 100644 --- a/docs/features/ps2_mouse.md +++ b/docs/features/ps2_mouse.md @@ -90,18 +90,22 @@ PS2_ENABLE = yes PS2_DRIVER = interrupt ``` -In your keyboard config.h: +In your keyboard `config.h`: ```c #define PS2_CLOCK_PIN A8 #define PS2_DATA_PIN A9 ``` -And in the chibios specifig halconf.h: +And in the ChibiOS specific `halconf.h`: + ```c -#define PAL_USE_CALLBACKS TRUE -``` +#pragma once +#define PAL_USE_CALLBACKS TRUE // [!code focus] + +#include_next <halconf.h> +``` ### USART Version {#usart-version} |