Home
last modified time | relevance | path

Searched refs:changed_axes (Results 1 – 7 of 7) sorted by relevance

/third_party/libinput/src/
Devdev-totem.c40 unsigned char changed_axes[NCHARS(LIBINPUT_TABLET_TOOL_AXIS_MAX + 1)]; member
228 set_bit(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X); in totem_process_abs()
231 set_bit(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y); in totem_process_abs()
234 set_bit(slot->changed_axes, in totem_process_abs()
238 set_bit(slot->changed_axes, in totem_process_abs()
242 set_bit(slot->changed_axes, in totem_process_abs()
268 const char tmp[sizeof(slot->changed_axes)] = {0}; in totem_slot_fetch_axes()
273 if (memcmp(tmp, slot->changed_axes, sizeof(tmp)) == 0) { in totem_slot_fetch_axes()
278 if (bit_is_set(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in totem_slot_fetch_axes()
279 bit_is_set(slot->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y)) { in totem_slot_fetch_axes()
[all …]
Devdev-tablet.c136 memset(tablet->changed_axes, 0, sizeof(tablet->changed_axes)); in tablet_reset_changed_axes()
235 set_bit(tablet->changed_axes, axis); in tablet_process_absolute()
439 set_bit(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_ROTATION_Z); in convert_tilt_to_rotation()
468 if (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in tablet_update_xy()
469 bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y)) { in tablet_update_xy()
509 (bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X) || in tablet_tool_process_delta()
510 bit_is_set(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y))) { in tablet_tool_process_delta()
516 set_bit(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_X); in tablet_tool_process_delta()
518 set_bit(tablet->changed_axes, LIBINPUT_TABLET_TOOL_AXIS_Y); in tablet_tool_process_delta()
541 if (bit_is_set(tablet->changed_axes, in tablet_update_pressure()
[all …]
Devdev-tablet-pad.c107 pad->changed_axes |= PAD_AXIS_RING1; in pad_process_absolute()
111 pad->changed_axes |= PAD_AXIS_RING2; in pad_process_absolute()
115 pad->changed_axes |= PAD_AXIS_STRIP1; in pad_process_absolute()
119 pad->changed_axes |= PAD_AXIS_STRIP2; in pad_process_absolute()
266 if (pad->changed_axes & PAD_AXIS_RING1) { in pad_check_notify_axes()
280 if (pad->changed_axes & PAD_AXIS_RING2) { in pad_check_notify_axes()
294 if (pad->changed_axes & PAD_AXIS_STRIP1) { in pad_check_notify_axes()
308 if (pad->changed_axes & PAD_AXIS_STRIP2) { in pad_check_notify_axes()
322 pad->changed_axes = PAD_AXIS_NONE; in pad_check_notify_axes()
675 pad->changed_axes = PAD_AXIS_NONE; in pad_init()
Dlibinput.c215 unsigned char changed_axes[NCHARS(LIBINPUT_TABLET_TOOL_AXIS_MAX + 1)]; member
1131 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_x_has_changed()
1147 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_y_has_changed()
1163 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_pressure_has_changed()
1179 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_distance_has_changed()
1195 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_tilt_x_has_changed()
1211 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_tilt_y_has_changed()
1227 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_rotation_has_changed()
1243 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_slider_has_changed()
1259 return bit_is_set(event->changed_axes, in libinput_event_tablet_tool_size_major_has_changed()
[all …]
Devdev-tablet-pad.h66 uint32_t changed_axes; member
Devdev-tablet.h60 unsigned char changed_axes[NCHARS(LIBINPUT_TABLET_TOOL_AXIS_MAX + 1)]; member
Dlibinput-private.h677 unsigned char *changed_axes,
685 unsigned char *changed_axes,
693 unsigned char *changed_axes,