summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_console.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2021-11-26 22:45:37 +0100
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-26 22:46:36 +0100
commit639402850ac65c694967ef6519becb65abe89b39 (patch)
tree55ab559c417a519ac8b93a746428842e53c19a31 /src/core/hid/emulated_console.cpp
parentservice/hid: Finish converting LIFO objects and address some nits (diff)
downloadyuzu-639402850ac65c694967ef6519becb65abe89b39.tar
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.gz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.bz2
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.lz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.xz
yuzu-639402850ac65c694967ef6519becb65abe89b39.tar.zst
yuzu-639402850ac65c694967ef6519becb65abe89b39.zip
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
-rw-r--r--src/core/hid/emulated_console.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp
index b224932dc..80db8e9c6 100644
--- a/src/core/hid/emulated_console.cpp
+++ b/src/core/hid/emulated_console.cpp
@@ -30,8 +30,10 @@ void EmulatedConsole::SetTouchParams() {
}
touch_params[index++] = Common::ParamPackage{"engine:touch,axis_x:0,axis_y:1,button:0"};
touch_params[index++] = Common::ParamPackage{"engine:touch,axis_x:2,axis_y:3,button:1"};
- touch_params[index++] = Common::ParamPackage{"engine:cemuhookudp,axis_x:0,axis_y:1,button:0"};
- touch_params[index++] = Common::ParamPackage{"engine:cemuhookudp,axis_x:2,axis_y:3,button:1"};
+ touch_params[index++] =
+ Common::ParamPackage{"engine:cemuhookudp,axis_x:17,axis_y:18,button:65536"};
+ touch_params[index++] =
+ Common::ParamPackage{"engine:cemuhookudp,axis_x:19,axis_y:20,button:131072"};
const auto button_index =
static_cast<u64>(Settings::values.touch_from_button_map_index.GetValue());