@jalemanyf,
You should be able to get this working on OSX and we (Corona Geek Hangout) will be covering Analog inputs (joysticks, triggers on controller, etc) in future weeks, but we haven’t quite gotten there yet.
Windows however, may not work yet. I know you can plug in controllers now and get digital inputs (buttons, dpad, etc.) however I’ve had no luck detecting axis events yet. Now, I could be doing something wrong as I’ve only had a little time on this, but my axis code is working on OSX so I think this is merely not quite supported yet on Windows.
@all,
If anyone else wants to chime and tell me I’m wrong, please do, but elaborate on which version of Corona you’re using if you have had Windows Axis success. I last tested with 2015.2731
PS - I’ll post back if I make progress against that.
For now, the code I have can be found here ( a work in progress and axis may be commented out for now):
http://github.com/roaminggamer/CoronaGeek/tree/master/Hangouts/ICanMakeThat/DesktopGames
Get ‘deviceInputs.zip’ and look at ‘gamePadJoystick’ (WIP) example.