Android: only add controllers GC1 and Wiimote1 as touch controllers

This commit is contained in:
zackhow 2019-01-11 16:29:26 -05:00
parent d3e1d2ea00
commit 058778a2e8
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)
{
// 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));