mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-29 06:07:56 +03:00
17 lines
367 B
C
17 lines
367 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <Qt>
|
||
|
#include "input/InputProvider.h"
|
||
|
|
||
|
class CInputProviderQtMouse : public CInputProvider
|
||
|
{
|
||
|
public:
|
||
|
uint32 GetId() const override;
|
||
|
std::string GetTargetDescription(const BINDINGTARGET&) const override;
|
||
|
|
||
|
static BINDINGTARGET MakeBindingTarget(Qt::MouseButton);
|
||
|
|
||
|
void OnMousePress(Qt::MouseButton);
|
||
|
void OnMouseRelease(Qt::MouseButton);
|
||
|
};
|