libtcod / python-tcod

A high-performance Python port of libtcod. Includes the libtcodpy module for backwards compatibility with older projects.
BSD 2-Clause "Simplified" License
404 stars 37 forks source link

Request: Support for SDL2's game controller / joystick API #119

Open kotrenn opened 2 years ago

kotrenn commented 2 years ago

Would like to add support for input from gamepads. SDL 1.2 had this through Joystick support. SDL 2 added support for game controllers, which at a glance appear to be an extension of support for joysticks.

Game Controller Joystick API Documentation

HexDecimal commented 2 years ago

Adding controller objects should be simple enough, but events will also need to be added.

HexDecimal commented 1 year ago

I've ported joysticks to Python-tcod but it will take a while for the docs to be complete.