On 02/02/2012 01:50 AM, Chase Douglas wrote:

+    if (rc>= 0&&  (prop&  INPUT_PROP_SEMI_MT))

Input props are defined like this:

#define INPUT_PROP_POINTER              0x00
#define INPUT_PROP_DIRECT               0x01
#define INPUT_PROP_BUTTONPAD            0x02
#define INPUT_PROP_SEMI_MT              0x03

Thus rather than and'ing, you should be using BitIsOn or equivalent.



_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to