Play-/Source/ui_qt/unix/GamePadUtils.h
2020-06-09 12:01:15 +09:00

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&);
};