mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
17 lines
327 B
C
17 lines
327 B
C
![]() |
#pragma once
|
||
|
|
||
|
#include <Qt>
|
||
|
#include "input/InputProvider.h"
|
||
|
|
||
|
class CInputProviderQtKey : public CInputProvider
|
||
|
{
|
||
|
public:
|
||
|
uint32 GetId() const override;
|
||
|
std::string GetTargetDescription(const BINDINGTARGET&) const override;
|
||
|
|
||
|
static BINDINGTARGET MakeBindingTarget(int);
|
||
|
|
||
|
void OnKeyPress(int);
|
||
|
void OnKeyRelease(int);
|
||
|
};
|