Play-/Source/ui_unix/unix/GamePadUtils.h
Jean-Philip Desjardins c966444b64 Typedef device id.
2018-11-30 12:23:31 -05:00

14 lines
267 B
C++

#pragma once
#include <libevdev.h>
#include <array>
#include "Types.h"
typedef std::array<uint32, 6> GamePadDeviceId;
class CGamePadUtils
{
public:
static GamePadDeviceId GetDeviceID(libevdev* dev);
static bool ParseMAC(GamePadDeviceId&, std::string const&);
};