mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 21:57:57 +03:00
16 lines
325 B
C++
16 lines
325 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);
|
|
};
|