akien-mga / dynadungeons

Bomberman clone using Godot Engine - Not actively developed since 2015.
GNU General Public License v3.0
216 stars 36 forks source link

support gamepad input #36

Closed 27thLiz closed 8 years ago

27thLiz commented 8 years ago

I did it by making changes to the config system, so that it only replaces key events. Joystick button events stay as defined in engine.cfg.

But if you want the remapping UI to also work with gamepad events, that shouldn't be too hard either.

Also grabs focus for "new game" in _ready() so you can navigate the menu and start the game using a joystick.

akien-mga commented 8 years ago

Thanks!

ObaniGemini commented 8 years ago

What gamepads does it support ? Also thanks for this PR, I think it will be very useful for all Godot users non-familiar to this kind of things :)

27thLiz commented 8 years ago

check out issue #35, I wrote a bit about the current state of gamepad support there and also posted a link to a database of supported controllers. ^^