include debian/xsfbs/xsfbs.mk
-CFLAGS = -Wall -g -D_F_IGNORE_TSP_RESOLUTION_
+CFLAGS = -Wall -g
CFLAGS += -D_F_GESTURE_EXTENSION_
CFLAGS += -D_F_SUPPORT_PREFERRED_NAME_
#CFLAGS += -D_DEBUG_MT_SEQUENCE_
*/
if( !xf86CheckStrOption(pInfo->options, "Resolution", NULL) )
{
-#ifdef _F_IGNORE_TSP_RESOLUTION_
- pEvdevMultitouch->absinfo[ABS_X].maximum = 0;
- pEvdevMultitouch->absinfo[ABS_X].minimum = 0;
- pEvdevMultitouch->absinfo[ABS_Y].maximum = 0;
- pEvdevMultitouch->absinfo[ABS_Y].minimum = 0;
-#else//_F_IGNORE_TSP_RESOLUTION_
for (i = ABS_X; i <= ABS_MAX; i++) {
if (TestBit(i, abs_bitmask)) {
len = ioctl(pInfo->fd, EVIOCGABS(i), &pEvdevMultitouch->absinfo[i]);
}
}
}
-#endif//_F_IGNORE_TSP_RESOLUTION_
}
len = ioctl(pInfo->fd, EVIOCGBIT(EV_KEY, sizeof(key_bitmask)), key_bitmask);
{
EvdevMultitouchSwapAxes(pEvdevMultitouch);
}
-#ifdef _F_IGNORE_TSP_RESOLUTION_
- else
- {
- pEvdevMultitouch->absinfo[ABS_X].maximum = 0;
- pEvdevMultitouch->absinfo[ABS_X].minimum = 0;
- pEvdevMultitouch->absinfo[ABS_Y].maximum = 0;
- pEvdevMultitouch->absinfo[ABS_Y].minimum = 0;
- }
-#endif//_F_IGNORE_TSP_RESOLUTION_
// register only the core device
EvdevMultitouchAddDevice(pInfo);