🐍 Program and explore real applications with virtual reality! Learn how to program, compete to build apps, and even collaborate with other people in realtime, in game or not!
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.
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.