qyihu / imame4all

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

Dpad doesn't work for XBOX 360 controllers #296

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
imame4all-read-only/Reloaded/trunk/android/src/com/seleuco/mame4droid/input/Inpu
tHandlerExt.java:L679
 has mapDPAD() commented out since r167 

(https://code.google.com/p/imame4all/source/browse/Reloaded/trunk/android/src/co
m/seleuco/mame4droid/input/InputHandlerExt.java?spec=svn167&r=167#590)

This deactivated DPAD in the XBOX controller. Is there any reason it's been 
commented out?

Using 1.6.1 under FireTV

Original issue reported on code.google.com by pavlidis...@gmail.com on 18 May 2014 at 4:09

GoogleCodeExporter commented 8 years ago
For what it's worth, I ve manually added mapDPAD(id) and it works great.
So not sure if it was commented out for a reason, or just by mistake.
Any chance it can be corrected in the trunk?

Original comment by pavlidis...@gmail.com on 22 May 2014 at 5:44

GoogleCodeExporter commented 8 years ago
I think works that way on firetv. In my devices dpad is reported as hat instead 
dpad keys... Android is so cruel. 

Original comment by seleuco....@gmail.com on 22 May 2014 at 6:24

GoogleCodeExporter commented 8 years ago
I'm having the same issue with my xbox360 controller mame4droid and firetv.   
How do I change the config file to remove the deactivation of the dpad? 

Sorry if this is a newbie question.

Original comment by agho...@gmail.com on 31 May 2014 at 10:53

GoogleCodeExporter commented 8 years ago
You need to manually add it and recompile, worked great for me this way

Original comment by pavlidis...@gmail.com on 1 Jun 2014 at 1:57

GoogleCodeExporter commented 8 years ago
What is the file? This one? InputHandlerExt.java?

path do I add it to?
imame4all-read-only/Reloaded/trunk/android/src/com/seleuco/mame4droid/input/:L67
9

That path doesn't exist on my device

Original comment by agho...@gmail.com on 1 Jun 2014 at 1:14