quasilyte / ebitengine-input

A Godot-inspired action input handling system for Ebitengine
MIT License
66 stars 8 forks source link

allow keys like KeyGamepadLStickUp to overlap #20

Closed quasilyte closed 1 year ago

quasilyte commented 1 year ago

When D-pad emulating stick enters a diagonal zone, both directions will be implied as activated due to the overlapping areas.

This makes it possible to fully emulate the D-pad controls using the stick. For instance, the player can press both left and up D-pad buttons and get the diagonal movement work. It was not possible to achieve that with a stick before.