Files
kaizen/lib/source/gainput/builtin/GainputInputDeviceBuiltInIos.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

53 lines
918 B
C++

#ifndef GAINPUTINPUTDEVICEBUILTINIOS_H_
#define GAINPUTINPUTDEVICEBUILTINIOS_H_
namespace gainput
{
class InputDeviceBuiltInImplIos : public InputDeviceBuiltInImpl
{
public:
InputDeviceBuiltInImplIos(InputManager& manager, InputDevice& device, unsigned index, InputState& state, InputState& previousState);
~InputDeviceBuiltInImplIos();
InputDevice::DeviceVariant GetVariant() const
{
return InputDevice::DV_STANDARD;
}
void Update(InputDeltaState* delta);
InputDevice::DeviceState GetState() const
{
return deviceState_;
}
bool IsValidButton(DeviceButtonId deviceButton) const;
bool Vibrate(float leftMotor, float rightMotor)
{
return false;
}
bool pausePressed_;
private:
InputManager& manager_;
InputDevice& device_;
unsigned index_;
bool padFound_;
InputState& state_;
InputState& previousState_;
InputDevice::DeviceState deviceState_;
void* motionManager_;
};
}
#endif