On 09/29/2012 07:58 PM, Jason Gerecke wrote:
> @@ -419,6 +419,14 @@ static int wcmDevInit(DeviceIntPtr pWcm)
> return FALSE;
> }
>
> +#if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16
> + if (!InitTouchClassDeviceStruct(pInfo->dev, 0, XIDependentTouch, 2)) {
> + xf86Msg(X_ERROR, "Unable to init touch class device struct!\n");
> + return FALSE;
> + }
> + priv->common->touch_mask = valuator_mask_new(2);
> +#endif
> +
> if (!IsPad(priv))
> {
> wcmInitialToolSize(pInfo);
This will register any wacom device as a direct touch device, even pens
and erasers.
Tom
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel