Permalink
Browse files

Merge pull request #7695 from zackhow/onetouch

Android: only add controllers GC1 and Wiimote1 as touch controllers
  • Loading branch information...
JMC47 committed Jan 12, 2019
2 parents eb55fcd + 058778a commit 658c95588ba6c1b157bf04f83f3d119be187a852
Showing with 2 additions and 2 deletions.
  1. +2 −2 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));

0 comments on commit 658c955

Please sign in to comment.