5. December 2018 at 22:15 #6470
Ok ere is the gamepad tester results:
R2 -> activate 0x0e axis RZ to positive, if not pressed is in negative
L2 -> activate 0x0b axis Z to positive, if not pressed is in negative
Right stick up -> 0x0d axis RY goes to negative
Right stick down -> 0x0d axis RY goes to positive
Right stick left -> 0x0c axis RX goes to negative
Right stick right -> 0x0c axis RX goes to positive5. December 2018 at 22:17 #6471
Alex i see that we ave diferent results, my R2/L2 buttons, are interpreted like axis not like buttons5. December 2018 at 22:22 #6472
Well, currently there is no way for remapping these axis in magic dosbox, because it was never requested and implementation takes some time. Is there any way how to fix these axis in that app?5. December 2018 at 22:24 #6473
L2/R2 are unique, some gamepads implements them like axis, some like buttons, this is common. But is very unusuall that l2r2 is switched with right stick. L2r2 can be gas/brake axis for example5. December 2018 at 22:29 #6474
@DeathWalk are you connecting your controller natively? Or is there some kind of driver involved?5. December 2018 at 22:33 #6475
this axis are handled by mdosbox :
zaxis = event.getAxisValue(MotionEvent.AXIS_Z);//(-1,1)
rzaxis = event.getAxisValue(MotionEvent.AXIS_RZ);//(-1,1)
xaxis = event.getAxisValue(MotionEvent.AXIS_X);//(-1,1)
yaxis = event.getAxisValue(MotionEvent.AXIS_Y);//(-1,1)
hatyaxis = event.getAxisValue(MotionEvent.AXIS_HAT_Y);//(-1,1)
hatxaxis = event.getAxisValue(MotionEvent.AXIS_HAT_X);//(-1,1)
L2axis = event.getAxisValue(MotionEvent.AXIS_LTRIGGER);//(0,1)
R2axis = event.getAxisValue(MotionEvent.AXIS_RTRIGGER);//(0,1)
brakeaxis = event.getAxisValue(MotionEvent.AXIS_BRAKE);//(0,1)
gasaxis = event.getAxisValue(MotionEvent.AXIS_GAS);//(0,1)
zaxis, rzaxis = right stick
xaxis, yaxis = left stick
hatyaxis, hatxaxis = 8 way standard gamepad, hat
L2axis, R2axis, brakeaxis, gasaxis = are converted to buttons5. December 2018 at 22:36 #6476
Native using bluetooth. I saw that in android Pie will fix this:
But i would like to know if it is any way to remap this in magic dosbox, maybe editing config file or something5. December 2018 at 22:45 #6477
unfortunately as I wrote above, no. But I can’t believe that there is none application which can redirect these axis. Please look at this, maybe “sixaxis controller” or similar app. If you will not succeed then I can look what I can do. In my case, if I can detect exactly your gamepad by name or something like this then I can switch axis manually in sources, but better is remap it in driver app if possible. Let me know5. December 2018 at 23:19 #6478
(paid app though)5. December 2018 at 23:24 #6479
Is strange that nobody use the xbox one controller XD Is the most confortable gamepad and natively use BT.
I have been looking for a fix but all needs a rooted android to edit some files.
In my case I can wait to the android pie update to test if it is fixed this issue.
If nobody have this issue is too much work edit magic dosbox just to help me 🙂
When I have the pie update I will try again and share the config, meanwhile I will use my PS4s controller ˆˆ.5. December 2018 at 23:25 #6480
Thank you Al ex i go to try.5. December 2018 at 23:32 #6481
Unfortunatly that apps don´t fix the problem, the first one is just to remap the physic buttons of te movile, not the gamepadˋs buttons.
The second if you read the description, the remap of the external controller required rooted android.5. December 2018 at 23:49 #6482
Dang. Well, root is sort of essential if you want to tweak your phone. ?
I mean, you could always buy that GameSir controller, but it’s ~40$, so it’s not a quick&easy solution. Let’s hope Android 9 will fix it for free. ?5. December 2018 at 23:58 #6483
I will wait the update using the PS4 controller, I hope this one works fine with android. Tomorrow i go back to hhome and I will test.
Thank you for the help ˆˆ.6. December 2018 at 0:46 #6484
- You must be logged in to reply to this topic.