From 966e2660cf8e2532b74aee64fda28203fcc5daf5 Mon Sep 17 00:00:00 2001 From: Jesper Brix Rosenkilde Date: Fri, 22 Sep 2017 13:58:49 +0200 Subject: Add option to reverse PS2 mouse axes and scrolling --- docs/feature_ps2_mouse.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/feature_ps2_mouse.md') 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. -- cgit v1.2.3-24-g4f1b