Lines Matching refs:keyBitmask
457 if (sc >= 0 && sc <= KEY_MAX && keyBitmask.test(sc)) { in hasKeycodeLocked()
826 if (device != nullptr && device->hasValidFd() && device->keyBitmask.test(scanCode)) { in getScanCodeState()
909 if (device->keyBitmask.test(scanCodes[sc])) { in markSupportedKeyCodes()
1182 return device->keyBitmask.test(scanCode); in hasScanCode()
1972 device->readDeviceBitMask(EVIOCGBIT(EV_KEY, 0), device->keyBitmask); in openDeviceLocked()
1984 device->keyBitmask.any(0, BTN_MISC) || device->keyBitmask.any(BTN_WHEEL, KEY_MAX + 1); in openDeviceLocked()
1985 bool haveGamepadButtons = device->keyBitmask.any(BTN_MISC, BTN_MOUSE) || in openDeviceLocked()
1986 device->keyBitmask.any(BTN_JOYSTICK, BTN_DIGI); in openDeviceLocked()
1992 if (device->keyBitmask.test(BTN_MOUSE) && device->relBitmask.test(REL_X) && in openDeviceLocked()
2012 if (device->keyBitmask.test(BTN_TOUCH) || !haveGamepadButtons) { in openDeviceLocked()
2016 } else if (device->keyBitmask.test(BTN_TOUCH) && device->absBitmask.test(ABS_X) && in openDeviceLocked()
2020 } else if ((device->absBitmask.test(ABS_PRESSURE) || device->keyBitmask.test(BTN_TOUCH)) && in openDeviceLocked()