* question on device registration
@ 2008-07-02 20:08 Oliver Neukum
2009-03-21 17:42 ` Dmitry Torokhov
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2008-07-02 20:08 UTC (permalink / raw)
To: linux-input
Hi,
what happens if you call input_report_key(), input_report_rel() or input_sync()
for a device before you call input_register_device() ?
Regards
Oliver
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: question on device registration
2008-07-02 20:08 question on device registration Oliver Neukum
@ 2009-03-21 17:42 ` Dmitry Torokhov
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2009-03-21 17:42 UTC (permalink / raw)
To: Oliver Neukum; +Cc: linux-input
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-03-23 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-02 20:08 question on device registration Oliver Neukum
2009-03-21 17:42 ` Dmitry Torokhov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).