Gamepad support in Wick Editor Games

So a long time ago I asked how I could use gamepads in my games but I was to lazy and didn’t even try. @blurredPixels left a snippet of code that detected if a gamepad was connected so I decided to try it and it did detect it

gamepad-console-message
Here you can see the console saying that it detected a gamepad. So I’m going to try and see if I can be able to make buttons work in games.

You can also use the code snippet in the wick editor.