Originally created by: Zack0n... (code.google.com)@gmail.com
Sir, I had previously posted about the moga pro HID mode not registering triggers via droidmote, the following user has implemented a fix for his streamer with the controller now working and has linked the code too. Would it be possible for you to implement this:
The main point is how do I map the triggers on the Moga which are mapped as AXIS_BRAKE and AXIS_GAS. Do I edit the ini and what should I type?
POST from devs:
The left stick is AXIS_X and AXIS_Y which is the same as pretty much all controllers. The right stick is AXIS_Z and AXIS_RZ which seems to be pretty standard for Android too (although Xbox uses AXIS_RX and AXIS_RY instead).
The D-pad shows up as AXIS_HAT_X and AXIS_HAT_Y (like the Xbox controller).
The very odd one was the triggers. Unlike Ouya which used AXIS_LTRIGGER and AXIS_RTRIGGER, the triggers on the Moga are mapped as AXIS_BRAKE and AXIS_GAS. I got the idea for trying this from another thread about the Moga Pro: http://forum.xda-developers.com/show...63&postcount=9
If you want to check out the code, it's in Game.onGenericMotionEvent(). https://github.com/cgutman/limelight...Game.java#L364
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: danialho... (code.google.com)@gmail.com
No idea.
You would need to find out what axis number these appear as in windows.