linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event
PATCH 1/1 linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event
# HG changeset patch
# User Olaf Hering <[email protected]>
# Date 1316612524 -7200
# Node ID 4d03b2c3bf5953afddca325e15cce89ad5db0098 # Parent 56c7b8e10d3ba46e34d7a1be3b708da6f999b1a0 linux-2.6.18:xen-kbdfront: re-enable REL_WHEEL event
In commit 1083:211849d9d511 the wheel event was lost due to an incorrect backport of upstream commit 8c3c283e6bf463ab498d6e7823aff6c4762314b6. With this change the wheel event is available again in the guest.
Signed-off-by Olaf Hering <[email protected]>
drivers/xen/fbfront/xenkbd.c +1 -0
@@ -170,6 +170,7 @@ int __devinit xenkbd_probe(struct xenbus__set_bit (REL_Y , ptr->relbit); }__set_bit (REL_WHEEL , ptr->relbit); +__set_bit (EV_REL , ptr->evbit);__set_bit (EV_KEY , ptr->evbit);for (i =BTN_LEFT ; i <=BTN_TASK ; i++)