First XI2 server implementation

Eamon Walsh ewalsh at tycho.nsa.gov
Wed Apr 22 21:49:05 PDT 2009


Peter Hutterer wrote:
> The current protocol specification is in inputproto/XI2proto.txt and in most
> places identical to 
> http://lists.freedesktop.org/archives/xorg/2009-February/043510.html
> Notable differences:
>   - raw events do not include button state
>   - FP1616 type implemented as INT16.CARD16
>   - Enter/leave events include button/modifier state
>   - Focus events added - basically identical to enter/leave events.
>   

Are you planning to duplicate the ListInputDevices wire encoding with
the new QueryInputDevice?  The ordering on the wire is not the same as
in the protocol spec; all the  BUTTONCLASS etc. are in one big list
after the DEVICEINFO's.  Same with the name strings.  Not asking for it
to be changed, just about consistency.

It would be nice if this whole extension was more XCB-friendly though. 
Right now there is no XCB description for some requests because of the
funky lists of variable-sized subclassed structures.  More description
in this mail:

http://lists.freedesktop.org/archives/xcb/2007-December/003166.html



-- 
Eamon Walsh <ewalsh at tycho.nsa.gov>
National Security Agency



More information about the xorg-devel mailing list