Gaming on Android has usually meant gaming on the touchscreen of your smartphone. While Android does boast of a very large collection of touch-optimized games, some titles just work out better when the player uses a gamepad and real hardware buttons and keys. For the same purpose, you can find a whole host of generic gaming accessories, including controllers, that will easily allow you to upgrade your gaming experience. For example, if you have a PlayStation 4, you can connect the DualShock 4 controller to your smartphone to play. Unfortunately, this doesn’t work on every device, and the reason usually boils down to missing key layout files.
If you are looking to reuse one of your existing game controllers, Android has been gradually adding in support for various popular controllers, such as the Xbox One S wireless controller, and the Xbox Elite Series 1 Controller. A study of the AOSP commits revealed that Android 10 also brought along the ability to connect and properly play on Android using the Nintendo Switch Pro Controller.
A commit in the AOSP Gerrit had added in the key layout file for the Nintendo Switch Pro Controller. The key layout file enables Android to properly recognize the button presses on the controller, and map it to the appropriate Android action that games can listen for. Without this key layout file, the game either will not be able to recognize hardware presses or it will initiate wrong actions.
The Nintendo Switch Pro Controller was launched alongside the Nintendo Switch and served as a better alternative to the Joy-Cons. This commit was added back in June 2019, so Android 10 updates on your phone are likely to have the same already incorporated. If you have a Nintendo Switch Pro Controller around, you can check and confirm if the same works seamlessly on your Android 10 device.
Source: AOSP Gerrit
The post Android 10 brings controller mapping support for the Nintendo Switch Pro Controller appeared first on xda-developers.
from xda-developers https://ift.tt/2BTVCMq
via IFTTT
Aucun commentaire:
Enregistrer un commentaire