git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
26 lines
587 B
C++
26 lines
587 B
C++
|
|
#ifndef GAINPUTINPUTDEVICEKEYBOARDIMPL_H_
|
|
#define GAINPUTINPUTDEVICEKEYBOARDIMPL_H_
|
|
|
|
namespace gainput
|
|
{
|
|
|
|
class InputDeviceKeyboardImpl
|
|
{
|
|
public:
|
|
virtual ~InputDeviceKeyboardImpl() { }
|
|
virtual InputDevice::DeviceVariant GetVariant() const = 0;
|
|
virtual InputDevice::DeviceState GetState() const { return InputDevice::DS_OK; }
|
|
virtual void Update(InputDeltaState* delta) = 0;
|
|
virtual InputState* GetNextInputState() { return 0; }
|
|
|
|
virtual bool IsTextInputEnabled() const = 0;
|
|
virtual void SetTextInputEnabled(bool enabled) = 0;
|
|
virtual char GetNextCharacter() = 0;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|