drwhut / tabletop-club

An open-source platform for playing tabletop games in a physics-based 3D environment for Windows, macOS, and Linux! Made with the Godot Engine.
https://tabletopclub.net
MIT License
1.27k stars 55 forks source link

Add support for controllers. #100

Open drwhut opened 1 year ago

drwhut commented 1 year ago

Is your feature request related to a problem? Please describe. Right now the game only supports keyboard and mouse input, which some users may not be able to use.

Describe the solution you'd like Allow players to be able to play the game with "typical" game controllers, e.g. Xbox or PlayStation controllers. The engine already has the functionality to detect controller inputs, so it would be a matter of mapping the inputs to actions, and potentially changing how the game controls to accommodate for the lack of a mouse for movement.

Plus, it would be nice to be able to re-map the inputs for controllers, as well as to show the new controls in-game in the hint label on the bottom-right of the screen.

Describe alternatives you've considered None.

Additional context There is a a website dedicated to providing checks for accessibility in games. This issue would help to complete one guideline in the "intermediate" section; during the course of development, I will try to make sure as many of these checks are accounted for - most of the checks in the "basic" section have already been completed, but I would like to try and at least complete everything under the "intermediate" section.

EDIT: 100th issue \o/