Messages in this thread | | | Date | Wed, 21 Jan 2009 00:08:25 +0100 (CET) | From | Jiri Kosina <> | Subject | Re: How to check input device |
| |
On Tue, 20 Jan 2009, mike zheng wrote:
> It is the first time for me to use the input device. I have a keypad > driver registers a keypad the device as an input device in the kernel > 2.6. The registration of the driver is OK, I can see the interrupt > whenever there is key pressed. How can I verify if it works fine? Where > can I check keycode value of the key pressed?
If the input device is registered properly, there should be corresponding /dev/input/eventX created. Running evtest (from input-utils) on this node will decode and dump all the scancodes/keycodes that come out of the corresponding input device.
-- Jiri Kosina SUSE Labs
| |