diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-12-09 16:27:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-12-09 16:27:05 +0300 |
commit | 1324fd68e1a049fea14f38c0aece770778d1b225 (patch) | |
tree | 22ac54b4b06b4bb5d894bbde50410e361ebda81a /src/touchmanager.cpp | |
parent | 50ca2750f73025be4e73ed1c6271c4433f081062 (diff) | |
download | plus-1324fd68e1a049fea14f38c0aece770778d1b225.tar.gz plus-1324fd68e1a049fea14f38c0aece770778d1b225.tar.bz2 plus-1324fd68e1a049fea14f38c0aece770778d1b225.tar.xz plus-1324fd68e1a049fea14f38c0aece770778d1b225.zip |
Add initial setup page for touch interfaces.
Diffstat (limited to 'src/touchmanager.cpp')
-rw-r--r-- | src/touchmanager.cpp | 3 |
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, |