mirror of
https://github.com/wiiu-env/PayloadLoaderInstaller.git
synced 2024-09-28 09:18:34 +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{};
|
||
|
};
|