Lines Matching refs:tracking_id
51 int tracking_id; member
106 _mtsstate_get_pointer_index(const MTSState* mts_state, int tracking_id) in _mtsstate_get_pointer_index() argument
110 if (mts_state->tracked_pointers[index].tracking_id == tracking_id) { in _mtsstate_get_pointer_index()
136 _mts_pointer_down(MTSState* mts_state, int tracking_id, int x, int y, int pressure) in _mts_pointer_down() argument
145 mts_state->tracked_pointers[slot_index].tracking_id = tracking_id; in _mts_pointer_down()
186 mts_state->tracked_pointers[slot_index].tracking_id = MTS_POINTER_UP; in _mts_pointer_up()
433 mts_state->tracked_pointers[index].tracking_id = MTS_POINTER_UP; in multitouch_init()
465 int tracking_id, in multitouch_update_pointer() argument
474 tracking_id = MTS_POINTER_MOUSE; in multitouch_update_pointer()
478 const int slot_index = _mtsstate_get_pointer_index(mts_state, tracking_id); in multitouch_update_pointer()
483 if (tracking_id != MTS_POINTER_MOUSE) { in multitouch_update_pointer()
485 tracking_id); in multitouch_update_pointer()
491 _mts_pointer_down(mts_state, tracking_id, x, y, pressure); in multitouch_update_pointer()