HI,
It's quite a long time since you posted this code...
I promized to try it and I did it this evening
It WORKs --> simply GREAT
I have slightly changed the code to discover the "hat buttons".
Here is the mod I did :
Code:
Controller.L_Trigger = Controller.getAxisValue(Controller.AXIS_HAT_X)
Controller.R_Trigger = Controller.getAxisValue(Controller.AXIS_HAT_Y)
I am not sure to have modified the right thing (What are L_Trigger and R_Trigger ?) but at least it works !
Again thank you
I will for sure quote your lib in a few days if I take some time to implement a fully working RC radio with android, B4A, your lib and an ESP8266