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