chiark / gitweb /
input_id: Check mouse button for ID_INPUT_MOUSE
authorMartin Pitt <martin.pitt@ubuntu.com>
Thu, 3 Dec 2009 12:15:50 +0000 (13:15 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Thu, 3 Dec 2009 12:15:50 +0000 (13:15 +0100)
commit01db50919ebdf1aa5a21ea839117f52938c33afe
tree0c9a512efef336586c0d772d773d5406f5292f7f
parent7c3db771115570a951e7878062aee58119ab9046
input_id: Check mouse button for ID_INPUT_MOUSE

Before we bless an input device as a mouse, verify that it has a left button
(BTN_MOUSE).

Thanks to Dmitry Torokhov <dtor@mail.ru> for pointing out!
extras/input_id/input_id.c