summaryrefslogtreecommitdiff
path: root/x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h')
-rw-r--r--x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h b/x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h
new file mode 100644
index 000000000000..7bd620564018
--- /dev/null
+++ b/x11-drivers/xlibre-xf86-input-mouse/files/patch-src_mouse.h
@@ -0,0 +1,25 @@
+--- src/mouse.h.orig 2012-10-08 01:40:07 UTC
++++ src/mouse.h
+@@ -220,10 +220,13 @@ typedef struct _MouseDevRec {
+ Bool emulate3ButtonsSoft;
+ int emulate3Timeout;/* Timeout for 3 button emulation */
+ Bool chordMiddle;
++ Bool disableXY;
+ Bool flipXY;
+ int invX;
+ int invY;
+ int resolution;
++ Bool hasW;
++ Bool hasZ;
+ int negativeZ; /* button mask */
+ int positiveZ; /* button mask */
+ int negativeW; /* button mask */
+@@ -262,6 +265,8 @@ typedef struct _MouseDevRec {
+ int doubleClickOldSourceState;
+ int lastMappedButtons;
+ int buttonMap[MSE_MAXBUTTONS];
++ float fracdx,fracdy;
++ float sensitivity;
+ } MouseDevRec, *MouseDevPtr;
+
+ #endif /* _XF86OSMOUSE_H_ */