diff options
| author | Jesper Brix Rosenkilde <jbr@nordu.net> | 2017-09-22 13:58:49 +0200 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2017-10-10 07:20:17 -1000 |
| commit | 966e2660cf8e2532b74aee64fda28203fcc5daf5 (patch) | |
| tree | 9f61727adf40631199d41cd36866cc8db5ae786c /docs/feature_ps2_mouse.md | |
| parent | 109b2ae0bd4cd32bde7a07e6b7f30abafbf0dfb7 (diff) | |
| download | qmk_firmware-966e2660cf8e2532b74aee64fda28203fcc5daf5.tar.gz qmk_firmware-966e2660cf8e2532b74aee64fda28203fcc5daf5.zip | |
Add option to reverse PS2 mouse axes and scrolling
Diffstat (limited to 'docs/feature_ps2_mouse.md')
| -rw-r--r-- | docs/feature_ps2_mouse.md | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/feature_ps2_mouse.md b/docs/feature_ps2_mouse.md index 8629b28cf..dac3a5b36 100644 --- a/docs/feature_ps2_mouse.md +++ b/docs/feature_ps2_mouse.md | |||
| @@ -227,6 +227,26 @@ Fine control over the scrolling is supported with the following defines: | |||
| 227 | #define PS2_MOUSE_SCROLL_DIVISOR_V 2 | 227 | #define PS2_MOUSE_SCROLL_DIVISOR_V 2 |
| 228 | ``` | 228 | ``` |
| 229 | 229 | ||
| 230 | #### Invert mouse and scroll axes | ||
| 231 | |||
| 232 | To invert the X and Y axes you can put: | ||
| 233 | |||
| 234 | ``` | ||
| 235 | #define PS2_MOUSE_INVERT_X | ||
| 236 | #define PS2_MOUSE_INVERT_Y | ||
| 237 | ``` | ||
| 238 | |||
| 239 | into config.h. | ||
| 240 | |||
| 241 | To reverse the scroll axes you can put: | ||
| 242 | |||
| 243 | ``` | ||
| 244 | #define PS2_MOUSE_INVERT_H | ||
| 245 | #define PS2_MOUSE_INVERT_V | ||
| 246 | ``` | ||
| 247 | |||
| 248 | into config.h. | ||
| 249 | |||
| 230 | #### Debug settings | 250 | #### Debug settings |
| 231 | 251 | ||
| 232 | To debug the mouse, add `debug_mouse = true` or enable via bootmagic. | 252 | To debug the mouse, add `debug_mouse = true` or enable via bootmagic. |
