Lines Matching refs:tool
390 struct libinput_tablet_tool *tool = libinput_event_tablet_tool_get_tool(t);
406 if (libinput_tablet_tool_has_tilt(tool)) {
414 if (libinput_tablet_tool_has_distance(tool) ||
415 libinput_tablet_tool_has_pressure(tool)) {
426 if (libinput_tablet_tool_has_rotation(tool)) {
432 if (libinput_tablet_tool_has_slider(tool)) {
438 if (libinput_tablet_tool_has_wheel(tool)) {
446 if (libinput_tablet_tool_has_size(tool)) {
553 struct libinput_tablet_tool *tool = libinput_event_tablet_tool_get_tool(t);
558 switch (libinput_tablet_tool_get_type(tool)) {
603 libinput_tablet_tool_get_serial(tool),
604 libinput_tablet_tool_get_tool_id(tool),
609 if (libinput_tablet_tool_has_distance(tool))
611 if (libinput_tablet_tool_has_pressure(tool))
613 if (libinput_tablet_tool_has_tilt(tool))
615 if (libinput_tablet_tool_has_rotation(tool))
617 if (libinput_tablet_tool_has_slider(tool))
619 if (libinput_tablet_tool_has_wheel(tool))
621 if (libinput_tablet_tool_has_size(tool))
625 if (libinput_tablet_tool_has_button(tool, BTN_TOUCH))
627 if (libinput_tablet_tool_has_button(tool, BTN_STYLUS))
629 if (libinput_tablet_tool_has_button(tool, BTN_STYLUS2))
631 if (libinput_tablet_tool_has_button(tool, BTN_LEFT))
633 if (libinput_tablet_tool_has_button(tool, BTN_MIDDLE))
635 if (libinput_tablet_tool_has_button(tool, BTN_RIGHT))
637 if (libinput_tablet_tool_has_button(tool, BTN_SIDE))
639 if (libinput_tablet_tool_has_button(tool, BTN_EXTRA))
641 if (libinput_tablet_tool_has_button(tool, BTN_0))