diff options
| author | JMC47 <JMC4789@gmail.com> | 2019-01-11 22:55:05 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-11 22:55:05 -0500 |
| commit | 658c95588ba6c1b157bf04f83f3d119be187a852 (patch) | |
| tree | 5f28d63d86566ff408d80c2b0238e9d79666c7ed /Source/Android/jni/ButtonManager.cpp | |
| parent | eb55fcda53fc9c5d46b87ec227920f9ada5fb3ba (diff) | |
| parent | 058778a2e8299e125cf4c85a048cc67ba00b60c1 (diff) | |
Merge pull request #7695 from zackhow/onetouch
Android: only add controllers GC1 and Wiimote1 as touch controllers
Diffstat (limited to 'Source/Android/jni/ButtonManager.cpp')
| -rw-r--r-- | Source/Android/jni/ButtonManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Android/jni/ButtonManager.cpp b/Source/Android/jni/ButtonManager.cpp index 251c754968..c6bcb262ab 100644 --- a/Source/Android/jni/ButtonManager.cpp +++ b/Source/Android/jni/ButtonManager.cpp @@ -337,8 +337,8 @@ static void AddBind(const std::string& dev, sBind* bind) void Init(const std::string& gameId) { - // Initialize our touchScreenKey buttons - for (int a = 0; a < 8; ++a) + // Initialize pad 0(gc 1) and pad 4(wii 1) as touch overlay controller + for (int a = 0; a < 5; a += 4) { // GC AddBind(touchScreenKey, new sBind(a, BUTTON_A, BIND_BUTTON, BUTTON_A, 1.0f)); |
