LWN.net Logo

Blog series on XInput 2

Blog series on XInput 2

Posted Jun 18, 2009 23:09 UTC (Thu) by Cyberax (✭ supporter ✭, #52523)
In reply to: Blog series on XInput 2 by Cyberax
Parent article: Blog series on XInput 2

Also, does XI2 support keyboards with more than 256 keys?


(Log in to post comments)

Blog series on XInput 2

Posted Jun 19, 2009 0:48 UTC (Fri) by whot (subscriber, #50317) [Link]

yes. XI2 supports 32 bit keycodes.

Blog series on XInput 2

Posted Jun 19, 2009 0:55 UTC (Fri) by alecs1 (guest, #46699) [Link]

I hope so. As far as I observed (I may be wrong) there are two ways to overcome silly limitations, adding extensions and bumping the version to X12: http://www.x.org/wiki/Development/X12 . I hope I live to see this second option used also.

Blog series on XInput 2

Posted Jun 19, 2009 7:03 UTC (Fri) by eduperez (guest, #11232) [Link]

More than 256 keys!? Just for curiosity, do those exist?

Blog series on XInput 2

Posted Jun 19, 2009 8:07 UTC (Fri) by arekm (subscriber, #4846) [Link]

I have keyboard with less than 256 keys but some keys produce keycodes bigger than value 256, so xi2 is the only sane (remapping is instane) way to handle them.

Blog series on XInput 2

Posted Jun 19, 2009 11:43 UTC (Fri) by Cyberax (✭ supporter ✭, #52523) [Link]

Yes, they do exist.

However, the common problem is that a lot of quite common keyboards have additional keys which emit keycodes>256.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds