Namespaced input state enum and fixed compiler error (oops)