Re: [PATCH 1/2] uinput: Support injecting multiple events in one write() call

2013-09-10 Thread Ryan Mallon
On 11/09/13 10:14, Dmitry Torokhov wrote: > Hi Ryan, > > On Wed, Sep 11, 2013 at 09:32:52AM +1000, Ryan Mallon wrote: >> Rework the code in uinput_inject_event so that it matches the code in >> evdev_write and allows injecting more than one event, or zero events. >> >> Signed-off-by: Ryan Mallon >

Re: [PATCH 1/2] uinput: Support injecting multiple events in one write() call

2013-09-10 Thread Dmitry Torokhov
Hi Ryan, On Wed, Sep 11, 2013 at 09:32:52AM +1000, Ryan Mallon wrote: > Rework the code in uinput_inject_event so that it matches the code in > evdev_write and allows injecting more than one event, or zero events. > > Signed-off-by: Ryan Mallon > --- > drivers/input/misc/uinput.c | 14 +++

[PATCH 1/2] uinput: Support injecting multiple events in one write() call

2013-09-10 Thread Ryan Mallon
Rework the code in uinput_inject_event so that it matches the code in evdev_write and allows injecting more than one event, or zero events. Signed-off-by: Ryan Mallon --- drivers/input/misc/uinput.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/drivers/inpu