git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
31 lines
471 B
C++
31 lines
471 B
C++
|
|
#ifndef GAINPUTINPUTDEVICETOUCHNULL_H_
|
|
#define GAINPUTINPUTDEVICETOUCHNULL_H_
|
|
|
|
namespace gainput
|
|
{
|
|
|
|
class InputDeviceTouchImplNull : public InputDeviceTouchImpl
|
|
{
|
|
public:
|
|
InputDeviceTouchImplNull(InputManager& manager, InputDevice& device)
|
|
{
|
|
}
|
|
|
|
InputDevice::DeviceVariant GetVariant() const
|
|
{
|
|
return InputDevice::DV_NULL;
|
|
}
|
|
|
|
void Update(InputDeltaState* /*delta*/)
|
|
{
|
|
}
|
|
|
|
InputDevice::DeviceState GetState() const { return InputDevice::DS_OK; }
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|
|
|