Home
last modified time | relevance | path

Searched refs:tool_state (Results 1 – 3 of 3) sorted by relevance

/third_party/libinput/src/
Devdev-tablet.c834 tablet->tool_state |= bit(type); in tablet_process_key()
836 tablet->tool_state &= ~bit(type); in tablet_process_key()
1779 !tablet->tool_state) { in tablet_update_tool_state()
1798 !tablet->tool_state) in tablet_update_tool_state()
1799 tablet->tool_state = bit(LIBINPUT_TABLET_TOOL_TYPE_PEN); in tablet_update_tool_state()
1801 } else if (tablet->tool_state == 0 && in tablet_update_tool_state()
1803 tablet->tool_state = bit(LIBINPUT_TABLET_TOOL_TYPE_PEN); in tablet_update_tool_state()
1808 if (tablet->tool_state == tablet->prev_tool_state) in tablet_update_tool_state()
1815 if (tablet->tool_state & (tablet->tool_state - 1)) { in tablet_update_tool_state()
1824 doubled_up_new_tool_bit = tablet->tool_state ^ tablet->prev_tool_state; in tablet_update_tool_state()
[all …]
Devdev-tablet.h79 uint32_t tool_state; member
/third_party/libinput/tools/
Dlibinput-analyze-per-slot-delta.py302 tool_state = string
305 tool_state = ' '
326 … print("{:2d}.{:06d} {:+5d}ms {}: {}".format(e.sec, e.usec, tdelta, tool_state, fmt))