mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
15 lines
285 B
C++
15 lines
285 B
C++
#pragma once
|
|
|
|
#include <libevdev.h>
|
|
#include <array>
|
|
#include <string>
|
|
#include "Types.h"
|
|
|
|
typedef std::array<uint32, 6> GamePadDeviceId;
|
|
|
|
class CGamePadUtils
|
|
{
|
|
public:
|
|
static GamePadDeviceId GetDeviceID(libevdev* dev);
|
|
static bool ParseMAC(GamePadDeviceId&, std::string const&);
|
|
};
|