IInputDevice

C++
struct IInputDevice {
};
File

IInput.h

IInputDevice::~IInputDevice Destructor

Implements virtual destructor just for safety.

C++
virtual ~IInputDevice();
IInputDevice::ClearAnalogKeyState Method

Clears analog position state.

C++
virtual void ClearAnalogKeyState(TInputSymbols& clearedSymbols) = 0;
IInputDevice::ClearKeyState Method

Clears the key (pressed) state.

C++
virtual void ClearKeyState() = 0;
IInputDevice::Enable Method
C++
virtual void Enable(bool enable) = 0;
IInputDevice::GetDeviceId Method
C++
virtual EDeviceId GetDeviceId() const = 0;
IInputDevice::GetDeviceIndex Method
C++
virtual int GetDeviceIndex() const = 0;
IInputDevice::GetDeviceName Method
C++
virtual const char* GetDeviceName() const = 0;
IInputDevice::GetInputCharAscii Method
C++
virtual char GetInputCharAscii(const SInputEvent& event) = 0;
IInputDevice::GetKeyName Method (EKeyId)
C++
virtual const char* GetKeyName(const EKeyId keyId) const = 0;
IInputDevice::GetKeyName Method (SInputEvent&)
C++
virtual const char* GetKeyName(const SInputEvent& event) const = 0;
IInputDevice::GetOSKeyName Method
C++
virtual const wchar_t * GetOSKeyName(const SInputEvent& event) = 0;
IInputDevice::GetSymbolByName Method
C++
virtual const SInputSymbol* GetSymbolByName(const char* name) const = 0;
IInputDevice::Init Method
C++
virtual bool Init() = 0;
Description

Initialization.

IInputDevice::InputState Method

Checks for key pressed and held.

C++
virtual bool InputState(const TKeyName& key, EInputState state) = 0;
IInputDevice::IsEnabled Method
C++
virtual bool IsEnabled() const = 0;
IInputDevice::IsOfDeviceType Method
C++
virtual bool IsOfDeviceType(EInputDeviceType type) const = 0;
IInputDevice::LookupSymbol Method
C++
virtual SInputSymbol* LookupSymbol(EKeyId id) const = 0;
IInputDevice::OnLanguageChange Method
C++
virtual void OnLanguageChange() = 0;
IInputDevice::PostInit Method
C++
virtual void PostInit() = 0;
IInputDevice::RestoreDefaultDeadZone Method
C++
virtual void RestoreDefaultDeadZone() = 0;
IInputDevice::SetDeadZone Method
C++
virtual void SetDeadZone(float fThreshold) = 0;
Description

between 0 and 1

IInputDevice::SetExclusiveMode Method

Sets/unsets DirectInput to exclusive mode.

C++
virtual bool SetExclusiveMode(bool value) = 0;
IInputDevice::SetForceFeedback Method

Sets force feedback .

C++
virtual bool SetForceFeedback(IFFParams params) = 0;
Returns

True if successful.

IInputDevice::Update Method
C++
virtual void Update(bool bFocus) = 0;
Description

Update.