Lines Matching refs:libevdev_has_event_code
148 has_axis = (libevdev_has_event_code(evdev, in tablet_device_has_axis()
151 libevdev_has_event_code(evdev, in tablet_device_has_axis()
154 libevdev_has_event_code(evdev, in tablet_device_has_axis()
158 has_axis |= libevdev_has_event_code(evdev, in tablet_device_has_axis()
162 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
167 has_axis = libevdev_has_event_code(evdev, in tablet_device_has_axis()
923 if (libevdev_has_event_code(evdev, EV_KEY, button)) in copy_button_cap()
1030 if (libevdev_has_event_code(tablet->device->evdev, EV_ABS, in tool_set_bits()
2271 if (!libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_MOUSE) && in tablet_init_proximity_threshold()
2272 !libevdev_has_event_code(device->evdev, EV_KEY, BTN_TOOL_LENS)) in tablet_init_proximity_threshold()
2426 has_xy = libevdev_has_event_code(evdev, EV_ABS, ABS_X) && in tablet_reject_device()
2427 libevdev_has_event_code(evdev, EV_ABS, ABS_Y); in tablet_reject_device()
2428 has_pen = libevdev_has_event_code(evdev, EV_KEY, BTN_TOOL_PEN); in tablet_reject_device()
2429 has_btn_stylus = libevdev_has_event_code(evdev, EV_KEY, BTN_STYLUS); in tablet_reject_device()
2463 if (!libevdev_has_event_code(evdev, EV_KEY, BTN_TOOL_PEN)) { in tablet_init()