Request to support android tv and moga and shield controllers
Hi,
I have received a request from one of the users of openMSX for Android to support android tv and also the moga and shield controllers.
Are there any plans to include this in Android SDL? Or maybe it's already included in most recent version?
Thanks and kind regards, Alex
Moga (newer variants) and Shield are HID-compatible controllers, they are already supported, but you need to define RedefinedKeysGamepad in AndroidAppSettings.cfg to sometihng sensible. Analog joysticks are available, using SDL_JoystickOpen(2), and if you do not call that, left stick will act as arrow keys and right stick will move mouse. Android TV requires you to shrink video output to avoid drawing anything near screen borders, which I find rather stupid to require from developers, why not make that damn TV box resize video output automatically? SDL supports this feature, you need to call setenv("OUYA", "1") from your code before running SDL_SetVideoMode(). Android TV also got other ridiculous requirements, which I did not look into. Anyway, I'm skeptical that this definitely-not-OUYA platform will have a lot of success.
On Thu, Apr 2, 2015 at 7:35 PM, Alex Wulms [email protected] wrote:
Hi,
I have received a request from one of the users of openMSX for Android to support android tv and also the moga and shield controllers.
Are there any plans to include this in Android SDL? Or maybe it's already included in most recent version?
Thanks and kind regards, Alex
— Reply to this email directly or view it on GitHub https://github.com/pelya/commandergenius/issues/43.
As a point of curiosity, I was able to install it from play.google.com on my Nvidia Shield Console (Android TV) by selecting install > Nvidia Shield while logged into my account. It seems to work normally. One then needs to use something like Sideload Launcher to launch it. That it's not in the Android TV Play Store is something of a non-issue because that store is fairly useless...