input_common: touch: Rewrite touch driver to support multiple touch points

This commit is contained in:
german77 2022-05-22 20:34:32 -05:00 committed by Narr the Reg
parent 4eb7f6c044
commit c82806f9cb
8 changed files with 140 additions and 92 deletions

View file

@ -93,7 +93,7 @@ void EmuWindow_SDL2::OnFingerMotion(float x, float y, std::size_t id) {
}
void EmuWindow_SDL2::OnFingerUp() {
input_subsystem->GetTouchScreen()->TouchReleased(0);
input_subsystem->GetTouchScreen()->ReleaseAllTouch();
}
void EmuWindow_SDL2::OnKeyEvent(int key, u8 state) {