During my year of being without Internet, I've upgraded TLbind! It features general improvements, a convenience TLbind.giveInstance function for making new control instances, and the main new feature is mouse support. Mouse buttons are handled as digital input and mouse position as an analogue input (-1 to 1 in screen space). Documentation and download links are the same,
TLbind and
link respectively.
MiniDemonic wrote:the "corner" problems was due to the TLbind.deadzone setting. Changed the deadzone to 0 and now it works good enough, although the aiming still got "corners" but they are barely noticeable.
I highly recommend you don't get rid of the deadzone, or else your game will likely have control drift on many gamepads. To get rid of "corners" (if I understand you), use bind.maps to make an analogue pair circular instead of square.
gfreak wrote:any plans to support multiple controls per button?
Nope.
gfreak wrote:and any plans to add left and right mouse button?
This update adds all mouse buttons (and wheel) as well as mouse position.