Merge pull request #7695 from zackhow/onetouch

Android: only add controllers GC1 and Wiimote1 as touch controllers
This commit is contained in:
JMC47 2019-01-11 22:55:05 -05:00 committed by GitHub
commit 658c95588b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -337,8 +337,8 @@ static void AddBind(const std::string& dev, sBind* bind)
void Init(const std::string& gameId) void Init(const std::string& gameId)
{ {
// Initialize our touchScreenKey buttons // Initialize pad 0(gc 1) and pad 4(wii 1) as touch overlay controller
for (int a = 0; a < 8; ++a) for (int a = 0; a < 5; a += 4)
{ {
// GC // GC
AddBind(touchScreenKey, new sBind(a, BUTTON_A, BIND_BUTTON, BUTTON_A, 1.0f)); AddBind(touchScreenKey, new sBind(a, BUTTON_A, BIND_BUTTON, BUTTON_A, 1.0f));