Don't crash binding on input.GetEvent()
Minor simplification for type casting
Binding: Allow func() bool as a FuncState
Binding: Add some constants and use package path