summaryrefslogtreecommitdiffstats
path: root/docs/feature_ps2_mouse.md
diff options
context:
space:
mode:
authorJesper Brix Rosenkilde <jbr@nordu.net>2017-09-22 13:58:49 +0200
committerJack Humbert <jack.humb@gmail.com>2017-10-10 19:20:17 +0200
commit966e2660cf8e2532b74aee64fda28203fcc5daf5 (patch)
tree9f61727adf40631199d41cd36866cc8db5ae786c /docs/feature_ps2_mouse.md
parent109b2ae0bd4cd32bde7a07e6b7f30abafbf0dfb7 (diff)
downloadqmk_firmware-966e2660cf8e2532b74aee64fda28203fcc5daf5.tar.gz
qmk_firmware-966e2660cf8e2532b74aee64fda28203fcc5daf5.tar.xz
Add option to reverse PS2 mouse axes and scrolling
Diffstat (limited to 'docs/feature_ps2_mouse.md')
-rw-r--r--docs/feature_ps2_mouse.md20
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:
#define PS2_MOUSE_SCROLL_DIVISOR_V 2
```
+#### Invert mouse and scroll axes
+
+To invert the X and Y axes you can put:
+
+```
+#define PS2_MOUSE_INVERT_X
+#define PS2_MOUSE_INVERT_Y
+```
+
+into config.h.
+
+To reverse the scroll axes you can put:
+
+```
+#define PS2_MOUSE_INVERT_H
+#define PS2_MOUSE_INVERT_V
+```
+
+into config.h.
+
#### Debug settings
To debug the mouse, add `debug_mouse = true` or enable via bootmagic.