NuiLab/code-vr

Fix Input System Overshadowing

Closed this issue · 1 comments

Easy first pull request!

If you're pressing 2 keys that affect the same axis mapping, one can overshadow the other when releasing keys. Could be solved w/ a u8 with each bit mapped to if an input is active or bool array.

A u8 would limit the input map to only accept a max of 8 axis bound values, which honestly sounds like more than enough, and could mean the vector sizes of the input map are known at compile time, boosting performance.

I'll reopen this issue when we get back to it. 👍