[PATCH (v5) evdev 2/4] Add experimental XI 2.1 multitouch support

Chase Douglas chase.douglas at canonical.com
Sun Jan 23 16:47:32 PST 2011

On 01/23/2011 06:59 PM, Cyril Brulebois wrote:
> Cyril Brulebois <kibi at debian.org> (24/01/2011):
>> Need to check the xi minor version in the server as well:
>> | evdev.c: In function ‘EvdevPostQueuedEvents’:
>> | evdev.c:862: warning: implicit declaration of function ‘xf86PostTouchEvent’
>> | evdev.c:862: warning: nested extern declaration of ‘xf86PostTouchEvent’
>> Something like this should do:
>> | #error You need SERVER_XI_MINOR_VERSION 1 or higher to get multitouch support
>> | /* Or decide here whether to disable multitouch. */
>> | #endif
> Err, sorry about that. That doesn't seem to be exported to
> drivers. Checking for ABI 13 isn't exactly sufficient, given the ABI
> was bumped before multitouch stuff (needed for this driver's commit)
> is merged: patches 4/8 vs. 7/8. But maybe that's a good enough
> approximation?

Since this version, I've added a check for the abi version for masked
valuators. I assume 1.10 will end up at major abi version 13 if I read
Peter's replies correctly, so I set a requirement for it.

I haven't added a check for multitouch abi simply because the abi
version it will go in at hasn't been determined yet.


-- Chase

More information about the xorg-devel mailing list