summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/default_ini.h
diff options
context:
space:
mode:
authorClément Gallet <clement.gallet@ens-lyon.org>2021-06-04 00:58:35 +0200
committerClément Gallet <clement.gallet@ens-lyon.org>2021-06-04 00:58:35 +0200
commit166f5d1612de718fc19a45541191b33eb56cd75b (patch)
treed8cb9990469b2ba9bace728e1c7b83bced84d4a7 /src/yuzu_cmd/default_ini.h
parentMerge pull request #6402 from Kelebek1/UI (diff)
downloadyuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar.gz
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar.bz2
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar.lz
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar.xz
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.tar.zst
yuzu-166f5d1612de718fc19a45541191b33eb56cd75b.zip
Diffstat (limited to '')
-rw-r--r--src/yuzu_cmd/default_ini.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/yuzu_cmd/default_ini.h b/src/yuzu_cmd/default_ini.h
index 4ce8e08e4..8ce2967ac 100644
--- a/src/yuzu_cmd/default_ini.h
+++ b/src/yuzu_cmd/default_ini.h
@@ -7,7 +7,7 @@
namespace DefaultINI {
const char* sdl2_config_file = R"(
-[Controls]
+[ControlsGeneral]
# The input devices and parameters for each Switch native input
# It should be in the format of "engine:[engine_name],[param1]:[value1],[param2]:[value2]..."
# Escape characters $0 (for ':'), $1 (for ',') and $2 (for '$') can be used in values
@@ -86,6 +86,18 @@ motion_device=
# - "min_x", "min_y", "max_x", "max_y": defines the udp device's touch screen coordinate system
touch_device=
+# Whether to enable or disable touch input from button
+# 0 (default): Disabled, 1: Enabled
+use_touch_from_button=
+
+# for mapping buttons to touch inputs.
+#touch_from_button_map=1
+#touch_from_button_maps_0_name=default
+#touch_from_button_maps_0_count=2
+#touch_from_button_maps_0_bind_0=foo
+#touch_from_button_maps_0_bind_1=bar
+# etc.
+
# Most desktop operating systems do not expose a way to poll the motion state of the controllers
# so as a way around it, cemuhook created a udp client/server protocol to broadcast the data directly
# from a controller device to the client program. Citra has a client that can connect and read