Home
last modified time | relevance | path

Searched refs:ABS_MT_MIN (Results 1 – 2 of 2) sorted by relevance

/third_party/libevdev/libevdev/
Dlibevdev.c58 if (unlikely(axis < ABS_MT_MIN || axis > ABS_MT_MAX)) { in slot_value()
60 axis, ABS_MT_MIN, ABS_MT_MAX); in slot_value()
61 axis = ABS_MT_MIN; in slot_value()
63 return &dev->mt_slot_vals[slot * ABS_MT_CNT + axis - ABS_MT_MIN]; in slot_value()
642 if (i >= ABS_MT_MIN && i <= ABS_MT_MAX) in sync_abs_state()
672 for (int axis = ABS_MT_MIN; axis <= ABS_MT_MAX; axis++) { in sync_mt_state()
816 for (int axis = ABS_MT_MIN; axis <= ABS_MT_MAX; axis++) { in push_mt_sync_events()
1005 if (e->code >= ABS_MT_MIN && e->code <= ABS_MT_MAX) in update_abs_state()
1424 if (code > ABS_MT_MAX || code < ABS_MT_MIN) in libevdev_get_slot_value()
1439 if (code > ABS_MT_MAX || code < ABS_MT_MIN) in libevdev_set_slot_value()
Dlibevdev-int.h18 #define ABS_MT_MIN ABS_MT_SLOT macro
20 #define ABS_MT_CNT (ABS_MT_MAX - ABS_MT_MIN + 1)