mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-10-03 03:15:09 +02:00
28 lines
479 B
C++
28 lines
479 B
C++
#pragma once
|
|
|
|
#include <cstring>
|
|
#include <cstdint>
|
|
|
|
class Input {
|
|
public:
|
|
//!Constructor
|
|
Input() = default;
|
|
|
|
//!Destructor
|
|
virtual ~Input() = default;
|
|
|
|
typedef struct {
|
|
uint32_t buttons_h;
|
|
uint32_t buttons_d;
|
|
uint32_t buttons_r;
|
|
bool validPointer;
|
|
bool touched;
|
|
float pointerAngle;
|
|
int32_t x;
|
|
int32_t y;
|
|
} PadData;
|
|
|
|
PadData data{};
|
|
PadData lastData{};
|
|
};
|