summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_console.cpp
diff options
context:
space:
mode:
authorGravatar german772021-10-31 10:41:44 -0500
committerGravatar Narr the Reg2021-11-24 20:30:26 -0600
commit730f07830247cfcdc551c253d30c6717fc16316c (patch)
tree9a0d7dbee51ad20e4a174c1be08816289a586d6a /src/core/hid/emulated_console.cpp
parentkraken: Address comments from review (diff)
downloadyuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.gz
yuzu-730f07830247cfcdc551c253d30c6717fc16316c.tar.xz
yuzu-730f07830247cfcdc551c253d30c6717fc16316c.zip
settings: Fix Debug controller type options
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
-rw-r--r--src/core/hid/emulated_console.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp
index c259de0f1..012909954 100644
--- a/src/core/hid/emulated_console.cpp
+++ b/src/core/hid/emulated_console.cpp
@@ -166,9 +166,10 @@ void EmulatedConsole::SetTouch(Common::Input::CallbackStatus callback,
166 return; 166 return;
167 } 167 }
168 168
169 // TODO(german77): Remap touch id in sequential order
169 console.touch_state[index] = { 170 console.touch_state[index] = {
170 .position = {console.touch_values[index].x.value, console.touch_values[index].y.value}, 171 .position = {console.touch_values[index].x.value, console.touch_values[index].y.value},
171 .id = console.touch_values[index].id, 172 .id = static_cast<u32>(console.touch_values[index].id),
172 .pressed = console.touch_values[index].pressed.value, 173 .pressed = console.touch_values[index].pressed.value,
173 }; 174 };
174 175