inputlabs / alpakka_firmware

GNU General Public License v2.0
98 stars 20 forks source link

Asymmetrical mappings #77

Open marcos-diaz opened 6 months ago

marcos-diaz commented 6 months ago

Categories

Input Output
Digital Alpakka button KB/M button,
Gamepad button
Absolute Thumbstick,
Gyro+Accel
Gamepad thumbstick
Relative Gyro Mouse

Mapping matrix

to Digital to Absolute to Relative
from Digital YES YES INVESTIGATE (1)
from Absolute YES YES PLANNED (2)
from Relative NOT PLANNED INVESTIGATE (3) YES

Mapping cases

(1) Digital to Relative (button to mouse): Needs additional research of the use cases, the simplest implementation is press => move mouse X pixels, but a constant rate when holding the button could be also implemented. Could this be used for basic flick-stick with the 8-directional?

(2) Absolute to Relative (thumbstick to mouse): This is a basic accessibility use case and it will be implemented.

(3) Relative to Absolute (gyro to thumbstick): This may be required to use gyro aiming in games (emulators) with no mouse support. It requires a bit of research of the use cases too.