Files
kaizen/lib/source/gainput/mouse/GainputInputDeviceMouseMac.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

37 lines
667 B
C++

#ifndef GAINPUTINPUTDEVICEMOUSEMAC_H_
#define GAINPUTINPUTDEVICEMOUSEMAC_H_
#include "GainputInputDeviceMouseImpl.h"
namespace gainput
{
class InputDeviceMouseImplMac : public InputDeviceMouseImpl
{
public:
InputDeviceMouseImplMac(InputManager& manager, InputDevice& device, InputState& state, InputState& previousState);
~InputDeviceMouseImplMac();
InputDevice::DeviceVariant GetVariant() const
{
return InputDevice::DV_STANDARD;
}
void Update(InputDeltaState* delta);
InputManager& manager_;
InputDevice& device_;
InputState* state_;
InputState* previousState_;
InputState nextState_;
InputDeltaState* delta_;
void* eventTap_;
};
}
#endif