Displaying 1 result from an estimated 1 matches for "mouse_dz".
Did you mean:
mouse_dy
2005 Oct 20
0
[PATCH][VT] disable bogus touchpad device model, which cause annoying dmesg on 2.6 kernel
...KBD_CCMD_WRITE_MODE 0x60 /* Write mode bits */
@@ -117,10 +120,12 @@
int rptr, wptr, count;
} KBDQueue;
+#ifdef SYNAPTIC
typedef struct {
int absolute;
int high;
} TouchPad;
+#endif
typedef struct KBDState {
KBDQueue queue;
@@ -142,7 +147,9 @@
int mouse_dy;
int mouse_dz;
uint8_t mouse_buttons;
+#ifdef SYNAPTIC
TouchPad touchpad;
+#endif
} KBDState;
KBDState kbd_state;
@@ -399,6 +406,7 @@
dx1 = s->mouse_dx;
dy1 = s->mouse_dy;
dz1 = s->mouse_dz;
+#ifdef SYNAPTIC
if (s->touchpad.absolute)
{
int dz2, dleftnright, dg...