On Mon, 27 Aug 2007, Adrian McMenamin wrote: > The problem I have is that when I press a key, that key is continually > output - eg pressing 'r' causes 'r' to echo on the screen more-or-less > for ever more. The HID keyboard should send HID report on every keypress indicating the usage code of the key and it's values (usually 1 when it is pressed, 0 when it is released). Then you'd get automatically corrent behavior, as you'd once issupe input_event(...., 1) for the keypress and input_event(...., 0) for the release. If you are concerned about autorepeat, you probably should not set EV_REP bit for the corresponding input device. -- Jiri Kosina -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ