aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/android.cpp
diff options
context:
space:
mode:
authort895 <clombardo169@gmail.com>2024-02-21 08:17:30 -0500
committert895 <clombardo169@gmail.com>2024-02-21 08:17:30 -0500
commitf46654b3b0634252717c4a38b0ea36b13097de3f (patch)
treea1c12ef885a07cc0a405e9fd655810d2d8760857 /src/input_common/drivers/android.cpp
parent3637b5e4fbb5572fbad39433cf93dc42f263fc0a (diff)
android: Add additional check for hasMapping
Controls can have no mapping if they are either "[empty]" or and empty string. This was causing an issue if you reset mapping on all controllers and then tried to play a game. The check to determine whether auto mapping was required would fail and leave you will no mapped controllers. This feels a bit like user error but it smooths things out if you forget so I see it as necessary.
Diffstat (limited to 'src/input_common/drivers/android.cpp')
0 files changed, 0 insertions, 0 deletions