quasilyte / ebitengine-input

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

add gamepad stick motion keys #16

Closed quasilyte closed 1 year ago

quasilyte commented 1 year ago

The motion keys, unlike StickLeft/Right/Up/Down allow a smooth movement. The EventInfo for those keys contains a vector (X,Y) that specifies the joystick state.

This PR also adds an example that demonstrates its usage.

Refs #14