mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
19 lines
465 B
C++
19 lines
465 B
C++
#pragma once
|
|
|
|
#include "input/InputProvider.h"
|
|
#include "GamePadUtils.h"
|
|
#include "GamePadDeviceListener.h"
|
|
|
|
class CInputProviderEvDev : public CInputProvider
|
|
{
|
|
public:
|
|
CInputProviderEvDev();
|
|
virtual ~CInputProviderEvDev() = default;
|
|
|
|
uint32 GetId() const override;
|
|
std::string GetTargetDescription(const BINDINGTARGET&) const override;
|
|
|
|
private:
|
|
void OnEvDevInputEvent(GamePadDeviceId, int, int, int, const input_absinfo*);
|
|
CGamePadDeviceListener m_GPDL;
|
|
};
|