Squashed 'external/gainput/' content from commit 2be0a50
git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
This commit is contained in:
21
lib/source/gainput/builtin/GainputInputDeviceBuiltInImpl.h
Normal file
21
lib/source/gainput/builtin/GainputInputDeviceBuiltInImpl.h
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
#ifndef GAINPUTINPUTDEVICEBUILTINIMPL_H_
|
||||
#define GAINPUTINPUTDEVICEBUILTINIMPL_H_
|
||||
|
||||
namespace gainput
|
||||
{
|
||||
|
||||
class InputDeviceBuiltInImpl
|
||||
{
|
||||
public:
|
||||
virtual ~InputDeviceBuiltInImpl() { }
|
||||
virtual InputDevice::DeviceVariant GetVariant() const = 0;
|
||||
virtual InputDevice::DeviceState GetState() const { return InputDevice::DS_OK; }
|
||||
virtual void Update(InputDeltaState* delta) = 0;
|
||||
virtual bool IsValidButton(DeviceButtonId deviceButton) const = 0;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user