make mousedev accept the jogdial
PATCH 1/1 make mousedev accept the jogdial
Hi,
The following patch is required in order to make the input subsystem accept the Sony Vaio jogdial as a valid input device.
A similar fix want into the 2.5 tree.
Marcelo, Alan, please apply.
Thanks.
Stelian.
===== drivers/input/mousedev.c 1.5 vs edited =====
drivers/input/mousedev.c +4 -1
@@ -409,10 +409,13 @@int minor =0 ;if (!test_bit (EV_KEY , dev->evbit) || - (!test_bit (BTN_LEFT , dev->keybit) && !test_bit (BTN_TOUCH , dev->keybit))) + (!test_bit (BTN_LEFT , dev->keybit) && + !test_bit (BTN_MIDDLE , dev->keybit) && + !test_bit (BTN_TOUCH , dev->keybit)))return NULL ;if ((!test_bit (EV_REL , dev->evbit) || !test_bit (REL_X , dev->relbit)) && + (!test_bit (EV_REL , dev->evbit) || !test_bit (REL_WHEEL , dev->relbit)) && (!test_bit (EV_ABS , dev->evbit) || !test_bit (ABS_X , dev->absbit)))return NULL ;
Signature · 1 line
Stelian Pop <[email protected]>