/third_party/libinput/test/ |
H A D | litest-device-elan-tablet.c | 60 if (tool_type == BTN_TOOL_PEN) in proximity_in() 68 litest_event(d, EV_KEY, BTN_TOOL_PEN, 1); in proximity_in() 82 if (tool_type != BTN_TOOL_PEN) in proximity_out() 83 litest_event(d, EV_KEY, BTN_TOOL_PEN, 0); in proximity_out() 123 /* Note: this tablet is one that sets both BTN_TOOL_PEN and BTN_TOOL_RUBBER, 129 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-isdv4-524c-pen.c | 101 litest_event(d, EV_KEY, BTN_TOOL_PEN, 1); in tip_down() 111 if (priv->tool != BTN_TOOL_PEN) in tip_up() 112 litest_event(d, EV_KEY, BTN_TOOL_PEN, 0); in tip_up() 146 EV_KEY, BTN_TOOL_PEN,
|
H A D | test-tablet.c | 1322 litest_filter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1325 litest_unfilter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1343 litest_filter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1346 litest_unfilter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1364 litest_filter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1367 litest_unfilter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1389 litest_filter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1392 litest_unfilter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1412 litest_filter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() 1415 litest_unfilter_event(dev, EV_KEY, BTN_TOOL_PEN); in START_TEST() [all...] |
H A D | litest-device-wacom-isdv4-4200-pen.c | 91 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-isdv4-e6-pen.c | 85 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-huion-pentablet.c | 83 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-hid4800-pen.c | 91 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-aiptek-tablet.c | 30 /* Note: this device does not send BTN_TOOL_PEN */ 126 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-cintiq-13hdt-pen.c | 116 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-cintiq-24hd-pen.c | 116 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-calibrated-tablet.c | 118 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-bamboo-2fg-pen.c | 95 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-bamboo-16fg-pen.c | 95 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-intuos5-pen.c | 129 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-cintiq-pro-16-pen.c | 122 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-wacom-cintiq-12wx-pen.c | 127 EV_KEY, BTN_TOOL_PEN,
|
H A D | litest-device-waltop-tablet.c | 213 EV_KEY, BTN_TOOL_PEN,
|
/third_party/eudev/src/udev/ |
H A D | udev-builtin-input_id.c | 183 stylus_or_pen = test_bit(BTN_STYLUS, bitmask_key) || test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers() 184 finger_but_no_pen = test_bit(BTN_TOOL_FINGER, bitmask_key) && !test_bit(BTN_TOOL_PEN, bitmask_key); in test_pointers()
|
/third_party/libinput/src/ |
H A D | evdev-tablet.h | 112 /* true while injecting BTN_TOOL_PEN events */ 229 case LIBINPUT_TABLET_TOOL_TYPE_PEN: code = BTN_TOOL_PEN; break; in tablet_tool_to_evcode()
|
H A D | evdev-fallback.h | 195 case BTN_TOOL_PEN: in get_key_type()
|
H A D | evdev-tablet.c | 800 case BTN_TOOL_PEN: type = LIBINPUT_TABLET_TOOL_TYPE_PEN; break; in tablet_evcode_to_tool() 831 case BTN_TOOL_PEN: in tablet_process_key() 1806 * BTN_TOOL_PEN on the very first event, then leave it set even when the pen 1810 * To avoid this, we set a timer on BTN_TOOL_PEN in. We expect the tablet to 1813 * a BTN_TOOL_PEN event into the sequence through the timer func. 1816 * timeout we need to emulate a BTN_TOOL_PEN event again to force proximity 1819 * Other tools never send the BTN_TOOL_PEN event. For those tools, we 1852 /* We need to emulate a BTN_TOOL_PEN if we get an axis event (i.e. in tablet_update_tool_state() 1856 * BTN_TOOL_PEN and the state for the tool was 0, this device will in tablet_update_tool_state() 1883 * - BTN_TOOL_PEN o in tablet_update_tool_state() [all...] |
/third_party/libinput/tools/ |
H A D | libinput-debug-tablet.c | 413 case evbit(EV_KEY, BTN_TOOL_PEN): in handle_libevdev_events() 420 ctx->evdev_buttons_down[event.code - BTN_TOOL_PEN] = event.value ? event.code : 0; in handle_libevdev_events()
|
H A D | libinput-analyze-touch-down-state.py | 105 libevdev.EV_KEY.BTN_TOOL_PEN: 0,
|
H A D | libinput-analyze-per-slot-delta.py | 252 or e.code == libevdev.EV_KEY.BTN_TOOL_PEN
|
/third_party/libevdev/test/ |
H A D | test-event-names.c | 84 ck_assert_str_eq(libevdev_event_code_get_name(EV_KEY, BTN_TOOL_PEN), "BTN_TOOL_PEN"); in START_TEST() 99 ck_assert_str_eq(libevdev_event_code_get_name(EV_KEY, BTN_DIGI), "BTN_TOOL_PEN"); in START_TEST()
|