Play-/Source/ui_unix/unix/GamePadUtils.h

15 lines
267 B
C
Raw Normal View History

2018-11-26 13:02:15 -05:00
#pragma once
#include <libevdev.h>
#include <array>
#include "Types.h"
2018-11-28 18:37:05 -05:00
typedef std::array<uint32, 6> GamePadDeviceId;
2018-11-26 13:02:15 -05:00
class CGamePadUtils
{
public:
2018-11-28 18:37:05 -05:00
static GamePadDeviceId GetDeviceID(libevdev* dev);
static bool ParseMAC(GamePadDeviceId&, std::string const&);
2018-11-26 13:02:15 -05:00
};