Lines Matching refs:classes
151 classes(0), configuration(NULL), virtualKeyMap(NULL), in Device()
261 return device->classes; in getDeviceClasses()
1170 device->classes |= INPUT_DEVICE_CLASS_KEYBOARD; in openDeviceLocked()
1177 device->classes |= INPUT_DEVICE_CLASS_CURSOR; in openDeviceLocked()
1188 device->classes |= INPUT_DEVICE_CLASS_TOUCH | INPUT_DEVICE_CLASS_TOUCH_MT; in openDeviceLocked()
1194 device->classes |= INPUT_DEVICE_CLASS_TOUCH; in openDeviceLocked()
1200 device->classes |= INPUT_DEVICE_CLASS_EXTERNAL_STYLUS; in openDeviceLocked()
1204 device->classes &= ~INPUT_DEVICE_CLASS_KEYBOARD; in openDeviceLocked()
1211 uint32_t assumedClasses = device->classes | INPUT_DEVICE_CLASS_JOYSTICK; in openDeviceLocked()
1215 device->classes = assumedClasses; in openDeviceLocked()
1224 device->classes |= INPUT_DEVICE_CLASS_SWITCH; in openDeviceLocked()
1231 device->classes |= INPUT_DEVICE_CLASS_VIBRATOR; in openDeviceLocked()
1235 if ((device->classes & INPUT_DEVICE_CLASS_TOUCH)) { in openDeviceLocked()
1240 device->classes |= INPUT_DEVICE_CLASS_KEYBOARD; in openDeviceLocked()
1247 if (device->classes & (INPUT_DEVICE_CLASS_KEYBOARD | INPUT_DEVICE_CLASS_JOYSTICK)) { in openDeviceLocked()
1253 if (device->classes & INPUT_DEVICE_CLASS_KEYBOARD) { in openDeviceLocked()
1264 device->classes |= INPUT_DEVICE_CLASS_ALPHAKEY; in openDeviceLocked()
1273 device->classes |= INPUT_DEVICE_CLASS_DPAD; in openDeviceLocked()
1279 device->classes |= INPUT_DEVICE_CLASS_GAMEPAD; in openDeviceLocked()
1292 if (device->classes == 0) { in openDeviceLocked()
1301 device->classes |= INPUT_DEVICE_CLASS_MIC; in openDeviceLocked()
1306 device->classes |= INPUT_DEVICE_CLASS_EXTERNAL; in openDeviceLocked()
1309 if (device->classes & (INPUT_DEVICE_CLASS_JOYSTICK | INPUT_DEVICE_CLASS_DPAD) in openDeviceLocked()
1310 && device->classes & INPUT_DEVICE_CLASS_GAMEPAD) { in openDeviceLocked()
1366 device->classes, in openDeviceLocked()
1384 device->classes = INPUT_DEVICE_CLASS_KEYBOARD in createVirtualKeyboardLocked()
1528 device->fd, device->classes); in closeDeviceLocked()
1669 dump.appendFormat(INDENT3 "Classes: 0x%08x\n", device->classes); in dump()