Changed input controls library to follow new type system.
Simplifying enum registration.