git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
35 lines
599 B
C++
35 lines
599 B
C++
|
|
#ifndef GAINPUTINPUTDEVICEKEYBOARDNULL_H_
|
|
#define GAINPUTINPUTDEVICEKEYBOARDNULL_H_
|
|
|
|
#include "GainputInputDeviceKeyboardImpl.h"
|
|
|
|
namespace gainput
|
|
{
|
|
|
|
class InputDeviceKeyboardImplNull : public InputDeviceKeyboardImpl
|
|
{
|
|
public:
|
|
InputDeviceKeyboardImplNull(InputManager& /*manager*/, DeviceId /*device*/)
|
|
{
|
|
}
|
|
|
|
InputDevice::DeviceVariant GetVariant() const
|
|
{
|
|
return InputDevice::DV_NULL;
|
|
}
|
|
|
|
void Update(InputDeltaState* /*delta*/)
|
|
{
|
|
}
|
|
|
|
bool IsTextInputEnabled() const { return false; }
|
|
void SetTextInputEnabled(bool /*enabled*/) { }
|
|
char GetNextCharacter() { return 0; }
|
|
};
|
|
|
|
|
|
}
|
|
|
|
#endif
|