Home
last modified time | relevance | path

Searched refs:BTN_TOOL_PEN (Results 1 - 25 of 32) sorted by relevance

12

/third_party/libinput/test/
H A Dlitest-device-elan-tablet.c60 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 Dlitest-device-wacom-isdv4-524c-pen.c101 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 Dtest-tablet.c1322 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 Dlitest-device-wacom-isdv4-4200-pen.c91 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-isdv4-e6-pen.c85 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-huion-pentablet.c83 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-hid4800-pen.c91 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-aiptek-tablet.c30 /* Note: this device does not send BTN_TOOL_PEN */
126 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-cintiq-13hdt-pen.c116 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-cintiq-24hd-pen.c116 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-calibrated-tablet.c118 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-bamboo-2fg-pen.c95 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-bamboo-16fg-pen.c95 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-intuos5-pen.c129 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-cintiq-pro-16-pen.c122 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-wacom-cintiq-12wx-pen.c127 EV_KEY, BTN_TOOL_PEN,
H A Dlitest-device-waltop-tablet.c213 EV_KEY, BTN_TOOL_PEN,
/third_party/eudev/src/udev/
H A Dudev-builtin-input_id.c183 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 Devdev-tablet.h112 /* 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 Devdev-fallback.h195 case BTN_TOOL_PEN: in get_key_type()
H A Devdev-tablet.c800 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 Dlibinput-debug-tablet.c413 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 Dlibinput-analyze-touch-down-state.py105 libevdev.EV_KEY.BTN_TOOL_PEN: 0,
H A Dlibinput-analyze-per-slot-delta.py252 or e.code == libevdev.EV_KEY.BTN_TOOL_PEN
/third_party/libevdev/test/
H A Dtest-event-names.c84 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()

Completed in 14 milliseconds

12