I just merged a new update into the master branch.
You can now support gamepads (multiple if you need), including vibrations. Only Xbox gamepads are tested so any feedback on other gamepads will be appreciated.
Also added smaller features like text wrapping, string stuff and some bug fixes.
See changelog.txt in the repo for a full list of changes.