Lines Matching refs:keyBitmask
166 memset(keyBitmask, 0, sizeof(keyBitmask));
340 if (device && !device->isVirtual() && test_bit(scanCode, device->keyBitmask)) {
429 if (test_bit(scanCodes[sc], device->keyBitmask)) {
494 if (test_bit(scanCode, device->keyBitmask)) {
1031 ioctl(fd, EVIOCGBIT(EV_KEY, sizeof(device->keyBitmask)), device->keyBitmask);
1041 bool haveKeyboardKeys = containsNonZeroByte(device->keyBitmask, 0, sizeof_bit_array(BTN_MISC))
1042 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(KEY_OK),
1044 bool haveGamepadButtons = containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_MISC),
1046 || containsNonZeroByte(device->keyBitmask, sizeof_bit_array(BTN_JOYSTICK),
1053 if (test_bit(BTN_MOUSE, device->keyBitmask)
1066 if (test_bit(BTN_TOUCH, device->keyBitmask) || !haveGamepadButtons) {
1070 } else if (test_bit(BTN_TOUCH, device->keyBitmask)
1279 if (!device->keyMap.haveKeyLayout() || !device->keyBitmask) {
1288 if (sc >= 0 && sc <= KEY_MAX && test_bit(sc, device->keyBitmask)) {