Hello! I was wondering if it is possible to map two different actions to the same key. For example, could I program a single press of the spacebar to trigger an attack, while a double-press of that same key triggers a shooting mechanic? Thanks!
Yes it is!
You could also differentiate between the two actions by checking how long the button was held.