Files
kaizen/lib/source/gainput/keyboard/GainputInputDeviceKeyboardNull.h
Simone 4e42229bdd Squashed 'external/gainput/' content from commit 2be0a50
git-subtree-dir: external/gainput
git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
2024-01-22 08:51:55 +01:00

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