X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=docs%2Ffeature_ps2_mouse.md;h=dac3a5b361765a06bab91d3407948ae242eb38af;hb=fca03e15b9f111e614738d9dcce09e03c49e9409;hp=8629b28cffaf8a8680f0bda9a382f9e260ec19d2;hpb=a729d852fe502d62e09bab1a31f49b738f8892e4;p=qmk_firmware.git 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.