pboy0922 / x360ce

Automatically exported from code.google.com/p/x360ce
1 stars 0 forks source link

Moga pro HID code and keys #735

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by Zack0n...@gmail.com on 12 Nov 2013 at 3:38

GoogleCodeExporter commented 9 years ago
No idea.

You would need to find out what axis number these appear as in windows.

Original comment by danialho...@gmail.com on 12 Nov 2013 at 7:22

GoogleCodeExporter commented 9 years ago
The triggers are not working, I read the old issues about this and I was 
wondering is there any progress.
There is a software called "ZeeMouse" that uses the A mode of the MOGA pro 
controller and the triggers do in fact work.

I was wondering if you can try and use the A mode somehow to enable the 
triggers or make "x360ce" recognize the triggers.

Thanks,
Alan.

Original comment by AlanTheB...@gmail.com on 27 Aug 2014 at 10:13

GoogleCodeExporter commented 9 years ago
@AlanTheB : I also tried "ZeeMouse" but no luck.Saw youtube videos but still no 
luck.In which games did the controller worked ? Can you reply me at 
zoebali.maknojia@gmail.com

Original comment by zoebali....@gmail.com on 2 Feb 2015 at 5:15

GoogleCodeExporter commented 9 years ago
Been banging my head over this one for ages now :), but no soft detects the 
triggers.Except.. lilypad plugin for pcsx2, it detects the axes as 
Accelerator/Brake. Maybe this info can be helpful to make the already excellent 
x360 soft be made even better, so just putting it out there.

Im at your disposal if i can assist you in finding out the info you need to 
enable the damn triggers, like finding the axis numbers in windows like you 
previously mentioned needs to be done. But i would need some pointers as how to 
do that.

Original comment by pcbus...@gmail.com on 26 Mar 2015 at 3:16

GoogleCodeExporter commented 9 years ago
https://msdn.microsoft.com/en-us/library/windows/hardware/ff543445%28v=vs.85%29.
aspx

Tapeq, see the special case for car controllers

I think we can fix this issue with the information provided there.

Original comment by danialho...@gmail.com on 6 Apr 2015 at 4:26