git-subtree-dir: external/gainput git-subtree-split: 2be0a50089eafcc6fccb66142180082e48f27f4c
37 lines
667 B
C++
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
|
|
|