XI2 = moving target?

Jim Gettys jg at freedesktop.org
Sat Jul 25 10:31:32 PDT 2009


That isn't a good reason: keycodes are arbitrary, a simple table lookup 
to remap them to 8-255 is an easy solution, much easier than the 
alternatives, unless I'm missing something...
                    - Jim


Maxim Levitsky wrote:
> On Sat, 2009-07-25 at 12:12 -0400, Jim Gettys wrote:
>> For curiosity's sake, have people actually seen keyboards with more than 
>> 248 keys?
> 
> No, but plenty with keycodes > 256
> (Most TV remotes fail in this category, and I still am waiting for limit
> of 256 keycodes to be lifted)
> 
>>                   - Jim
>>
>>
>> Peter Hutterer wrote:
>>> On Sat, Jul 25, 2009 at 05:43:50PM +1000, Timothy S. Nelson wrote:
>>>> On Sat, 25 Jul 2009, Peter Hutterer wrote:
>>>>
>>>>>> - When will the XI2 API be finalized?
>>>>> I think it is now, though I have to have a final glossover on monday to make
>>>>> sure I didn't forget anything.
>>>> 	Quick question: What's the maximum number of keys per keyboard it  
>>>> supports?
>>> num_keys in the XIQueryDevice reply is a CARD16. the current implementation
>>> will still return 8-255 as min/max keycodes, at least until we can untangle
>>> it from the core protocol.
>>>
>>> Cheers,
>>>   Peter
>>> _______________________________________________
>>> xorg mailing list
>>> xorg at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/xorg
>>>
>> _______________________________________________
>> xorg mailing list
>> xorg at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/xorg
> 
> 




More information about the xorg mailing list