question of Xinput priorities

Daniel Stone daniel at fooishbar.org
Tue Jun 17 13:37:27 PDT 2008


On Tue, Jun 17, 2008 at 12:34:21PM -0400, Chuck Robey wrote:
> So, either I need to just move most of the stuff I would have stuck into the
> PreInit part into the later area, or maybe find some way to get the Xinput to
> suspend it's initialization until there's input waiting.
> 
> What's the most reasonable way to do this.  Am I clear about the problem, that I
> need to have at least 1 input report (something pretty small, about 9 bytes)
> before I can finish my setup, and begin reporting correct input values?  If I'm
> not being clear, tell me and I'll try again.

Hi,
This sounds pretty tough.  Which initialisation exactly do you need to
defer? Is it just the axis values, or more?

If the latter, you could either declare a fixed range larger than you
know to exist and then scale up to that (eww!), or we could sort out
dynamic axis info.

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20080617/658d819d/attachment.pgp>


More information about the xorg mailing list