Optimizing away list use and enum dictionary keys in input manager