summaryrefslogtreecommitdiff
path: root/Source/Android/jni/MainAndroid.cpp
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2022-02-05 15:09:45 +0100
committerJosJuice <josjuice@gmail.com>2023-03-03 22:28:23 +0100
commite0562abb7d5c43fecb161c515b4718b58eed562f (patch)
tree5370770e06c2fc6d6a895cd64b350945c20eafe9 /Source/Android/jni/MainAndroid.cpp
parent8e33458f4832daedf04a626d07c4541ad17ee675 (diff)
ControllerEmu: Add default mappings for Android
Unlike PCs, Android doesn't really have any input method (not counting touch) that can reasonably be expected to exist on most devices. Because of this, I don't think shipping with a default mapping for the buttons and sticks of GameCube controllers and Wii Remotes makes sense. I would however like to ship default mappings for a few things: 1. Mapping the Wii Remote's accelerometer and gyroscope to the device's accelerometer and gyroscope. This functionality is useful mainly for people who use the touchscreen, but can also be useful when using a clip-on controller. The disadvantage of having this mapped by default is that games disable pointer input if the accelerometer reports that the Wii Remote is pointed at the ceiling. 2. Mapping GC keyboards for use with a physical keyboard, like on PC. After all, there's no other way of mapping them that makes sense. 3. Mapping rumble to the device's vibrator. Aside from the GC keyboards, this approach is effectively the same as what we were doing before the input overhaul.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
0 files changed, 0 insertions, 0 deletions