bmdeeal / quig

quig -- simple system for creating small games with Lua
GNU General Public License v3.0
0 stars 0 forks source link

Analog stick should use angles to determine direction. #5

Open bmdeeal opened 2 years ago

bmdeeal commented 2 years ago

Although quig will remain digital input only in terms of the API presented to games, the current analog input is very awkward to use with analog controllers. The current implementation of analog stick support does a simple x/y check instead of calculating the angle the stick is pointed in, which causes awkward movement when using the analog stick.