Displaying 1 result from an estimated 1 matches for "kbd_queue".
Did you mean:
bd_queue
2005 Oct 20
0
[PATCH][VT] disable bogus touchpad device model, which cause annoying dmesg on 2.6 kernel
...;
+#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, df;
@@ -444,6 +452,7 @@
kbd_queue(s, dy1 & 0xFF, 1);
return;
}
+#endif
/* XXX: increase range to 8 bits ? */
if (dx1 > 127)
dx1 = 127;
@@ -516,9 +525,11 @@
static void kbd_write_mouse(KBDState *s, int val)
{
+#ifdef SYNAPTIC
/* variables needed to store synaptics command info */
static int rr...