git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
39 lines
649 B
C++
39 lines
649 B
C++
|
|
#ifndef GAINPUTINPUTDEVICEBUILTINNULL_H_
|
|
#define GAINPUTINPUTDEVICEBUILTINNULL_H_
|
|
|
|
|
|
namespace gainput
|
|
{
|
|
|
|
class InputDeviceBuiltInImplNull : public InputDeviceBuiltInImpl
|
|
{
|
|
public:
|
|
InputDeviceBuiltInImplNull(InputManager& /*manager*/, InputDevice& /*device*/, unsigned /*index*/, InputState& /*state*/, InputState& /*previousState*/)
|
|
{
|
|
}
|
|
|
|
InputDevice::DeviceVariant GetVariant() const
|
|
{
|
|
return InputDevice::DV_NULL;
|
|
}
|
|
|
|
void Update(InputDeltaState* /*delta*/)
|
|
{
|
|
}
|
|
|
|
InputDevice::DeviceState GetState() const
|
|
{
|
|
return InputDevice::DS_OK;
|
|
}
|
|
|
|
bool IsValidButton(DeviceButtonId /*deviceButton*/) const
|
|
{
|
|
return false;
|
|
}
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|