mirror of
https://github.com/wiiu-env/EnvironmentLoader.git
synced 2024-10-31 20:55:04 +01:00
18 lines
320 B
C
18 lines
320 B
C
|
#pragma once
|
||
|
#include <cstdint>
|
||
|
#include <vpad/input.h>
|
||
|
|
||
|
class InputUtils {
|
||
|
public:
|
||
|
typedef struct InputData {
|
||
|
uint32_t trigger = 0;
|
||
|
uint32_t hold = 0;
|
||
|
uint32_t release = 0;
|
||
|
} InputData;
|
||
|
|
||
|
static void Init();
|
||
|
static void DeInit();
|
||
|
|
||
|
static InputData getControllerInput();
|
||
|
};
|