Ported InputDevice from old DementiaEngine