L1VM - SDL input

I did write input handling for mouse raw input and for joysticks input in the SDL 2 module. The code is already on my GitHub repo.

You can get the current mouse position and the state of the three mouse buttons. And the joystick function gives up to 4 axis and the state of a checked button. This can be done by a few new functions in my SDL module.

The code of the SDL joystick demo can be found here: SDL-joystick-demo

And also a new function is the play sound function, to play “.wav” files. The demo code is here: SDL-play-sound

It should be possible to write small games in Brackets: my own language.