Thread (2 messages) 2 messages, 2 authors, 2009-03-23

Re: question on device registration

From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date: 2009-03-23 15:07:14

On Wednesday 02 July 2008 13:08:56 Oliver Neukum wrote:
Hi,

what happens if you call input_report_key(), input_report_rel() or
input_sync() for a device before you call input_register_device() ?
Well, this surely be a blast from the past for you but I was going
through my old mail...

You can safely use input_report* on an unrefistered input device as
long as it was alloocated with input_allocate_device(). The reported
events will simply be dropped by the input core.

-- 
Dmitry
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help