#29: InputDeviceType and related classes removed, getInputDevice working
with class type reference directly instead of enum.