Searched refs:mts_state (Results 1 – 1 of 1) sorted by relevance
106 _mtsstate_get_pointer_index(const MTSState* mts_state, int tracking_id) in _mtsstate_get_pointer_index() argument110 if (mts_state->tracked_pointers[index].tracking_id == tracking_id) { in _mtsstate_get_pointer_index()123 _mtsstate_get_available_pointer_index(const MTSState* mts_state) in _mtsstate_get_available_pointer_index() argument125 return _mtsstate_get_pointer_index(mts_state, MTS_POINTER_UP); in _mtsstate_get_available_pointer_index()136 _mts_pointer_down(MTSState* mts_state, int tracking_id, int x, int y, int pressure) in _mts_pointer_down() argument139 const int slot_index = _mtsstate_get_available_pointer_index(mts_state); in _mts_pointer_down()144 mts_state->tracked_ptr_num++; in _mts_pointer_down()145 mts_state->tracked_pointers[slot_index].tracking_id = tracking_id; in _mts_pointer_down()146 mts_state->tracked_pointers[slot_index].x = x; in _mts_pointer_down()147 mts_state->tracked_pointers[slot_index].y = y; in _mts_pointer_down()[all …]