diff options
author | Dmitry Torokhov <dtor@insightbb.com> | 2006-08-04 22:53:24 -0400 |
---|---|---|
committer | Dmitry Torokhov <dtor@insightbb.com> | 2006-08-04 22:53:24 -0400 |
commit | c3c38fbd0cc8cc200a65b2ca7700e4dddedc13a0 (patch) | |
tree | 8e68190cf244c39bc295e0392341aff34714ea81 /drivers/usb | |
parent | c605b679144a39f291debd7031a4ada0337f02ef (diff) | |
download | kernel_samsung_espresso10-c3c38fbd0cc8cc200a65b2ca7700e4dddedc13a0.zip kernel_samsung_espresso10-c3c38fbd0cc8cc200a65b2ca7700e4dddedc13a0.tar.gz kernel_samsung_espresso10-c3c38fbd0cc8cc200a65b2ca7700e4dddedc13a0.tar.bz2 |
Input: ati_remote - add missing input_sync()
When emulating button toggle drivers need to send input_sync()
between 'down' and 'up' events, otherwise some users might miss
keypress because device's state is only considered finalized
after EV_SYN/SYN_REPORT is received.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/input/ati_remote.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/input/ati_remote.c b/drivers/usb/input/ati_remote.c index bdf144b..5a56f6c 100644 --- a/drivers/usb/input/ati_remote.c +++ b/drivers/usb/input/ati_remote.c @@ -489,6 +489,7 @@ static void ati_remote_input_report(struct urb *urb, struct pt_regs *regs) input_regs(dev, regs); input_event(dev, ati_remote_tbl[index].type, ati_remote_tbl[index].code, 1); + input_sync(dev); input_event(dev, ati_remote_tbl[index].type, ati_remote_tbl[index].code, 0); input_sync(dev); |