struct IInputDevice { };
IInput.h
Implements virtual destructor just for safety.
virtual ~IInputDevice();
Clears analog position state.
virtual void ClearAnalogKeyState(TInputSymbols& clearedSymbols) = 0;
Clears the key (pressed) state.
virtual void ClearKeyState() = 0;
virtual void Enable(bool enable) = 0;
virtual EDeviceId GetDeviceId() const = 0;
virtual int GetDeviceIndex() const = 0;
virtual const char* GetDeviceName() const = 0;
virtual char GetInputCharAscii(const SInputEvent& event) = 0;
virtual const char* GetKeyName(const EKeyId keyId) const = 0;
virtual const char* GetKeyName(const SInputEvent& event) const = 0;
virtual const wchar_t * GetOSKeyName(const SInputEvent& event) = 0;
virtual const SInputSymbol* GetSymbolByName(const char* name) const = 0;
virtual bool Init() = 0;
Initialization.
Checks for key pressed and held.
virtual bool InputState(const TKeyName& key, EInputState state) = 0;
virtual bool IsEnabled() const = 0;
virtual bool IsOfDeviceType(EInputDeviceType type) const = 0;
virtual SInputSymbol* LookupSymbol(EKeyId id) const = 0;
virtual void OnLanguageChange() = 0;
virtual void PostInit() = 0;
virtual void RestoreDefaultDeadZone() = 0;
virtual void SetDeadZone(float fThreshold) = 0;
between 0 and 1
Sets/unsets DirectInput to exclusive mode.
virtual bool SetExclusiveMode(bool value) = 0;
Sets force feedback .
virtual bool SetForceFeedback(IFFParams params) = 0;
True if successful.
virtual void Update(bool bFocus) = 0;
Update.