Lines Matching defs:tablet_has_status
48 #define tablet_has_status(tablet_,s_) (!!((tablet_)->status & (s_)))
271 if (!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY))
330 else if (!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY)) {
496 if (!tablet_has_status(tablet,
498 !tablet_has_status(tablet, TABLET_TOOL_ENTERING_CONTACT) &&
499 !tablet_has_status(tablet, TABLET_TOOL_LEAVING_CONTACT) &&
744 if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_CONTACT) ||
745 tablet_has_status(tablet, TABLET_TOOL_LEAVING_CONTACT)) {
1211 if (tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT))
1450 if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_CONTACT))
1453 if (tablet_has_status(tablet, TABLET_TOOL_LEAVING_CONTACT) &&
1454 !tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY))
1467 tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT)) {
1470 !tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT)) {
1507 (tablet_has_status(tablet, TABLET_TOOL_OUT_OF_RANGE) ||
1508 tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY))) {
1525 if (tablet_has_status(tablet, TABLET_TOOL_OUT_OF_RANGE) ||
1526 tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY))
1530 if (tablet_has_status(tablet,
1615 if (!tablet_has_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY))
1641 if (!tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY))
1668 if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_CONTACT)) {
1686 if (tablet_has_status(tablet, TABLET_TOOL_LEAVING_CONTACT)) {
1716 if (!tablet_has_status(tablet, TABLET_AXES_UPDATED))
1719 if (tablet_has_status(tablet,
1743 if (tablet_has_status(tablet, TABLET_BUTTONS_RELEASED)) {
1752 if (tablet_has_status(tablet, TABLET_BUTTONS_PRESSED)) {
1770 if (tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) {
1847 tablet_has_status(tablet, TABLET_TOOL_UPDATED) &&
1864 if (tablet_has_status(tablet, TABLET_AXES_UPDATED)) {
1866 if (!tablet_has_status(tablet, TABLET_TOOL_UPDATED) &&
1976 if (tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY) ||
1977 tablet_has_status(tablet, TABLET_TOOL_OUT_OF_RANGE))
1980 if (tablet_has_status(tablet, TABLET_TOOL_LEAVING_PROXIMITY)) {
1986 if (tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT))
1988 } else if (tablet_has_status(tablet, TABLET_TOOL_ENTERING_PROXIMITY)) {
1994 } else if (tablet_has_status(tablet, TABLET_AXES_UPDATED)) {
2038 if (tablet_has_status(tablet,
2040 tablet_has_status(tablet, TABLET_NONE) ||
2041 tablet_has_status(tablet,
2043 tablet_has_status(tablet,
2099 if (tablet_has_status(tablet, TABLET_TOOL_IN_CONTACT) ||
2100 tablet_has_status(tablet, TABLET_BUTTONS_DOWN)) {
2174 if (!tablet_has_status(tablet, TABLET_TOOL_OUT_OF_PROXIMITY)) {