input_common: touch: Rewrite touch driver to support multiple touch points
This commit is contained in:
parent
4eb7f6c044
commit
c82806f9cb
8 changed files with 140 additions and 92 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue