summaryrefslogtreecommitdiff
path: root/src/touchmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r--src/touchmanager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/touchmanager.cpp b/src/touchmanager.cpp
index 96a083872..5b04b2023 100644
--- a/src/touchmanager.cpp
+++ b/src/touchmanager.cpp
@@ -63,6 +63,9 @@ void TouchManager::init()
{
loadTouchItem(&mPad, "dpad.xml", 100, 100, LEFT,
&padEvents, &padClick, &padUp, &padOut);
+ }
+ if (config.getBoolValue("showScreenButtons"))
+ {
loadTouchItem(&mAttack, "dpad_attack.xml", 60, 60, RIGHT,
nullptr, &attackClick, nullptr, nullptr);
loadTouchItem(&mCancel, "dpad_cancel.xml", 60, 60, RIGHT,