This commit is contained in:
2023-04-02 17:03:24 +02:00
parent 33fe6916ed
commit f20f4938e4
14 changed files with 95 additions and 95 deletions
+42
View File
@@ -0,0 +1,42 @@
/**
* @file controlPadInput.h
* @author Alexander Klein (alex@kleiax.de)
* @brief
* @version 0.1
* @date 2023-03-30
*
* @copyright Copyright (c) 2023
*
*/
#ifndef CONTROL_PAD_INPUT_H
#define CONTROL_PAD_INPUT_H
#include <stdint.h>
struct ControlPadInput {
uint8_t buttons;
uint8_t x;
uint8_t y;
uint8_t counter;
};
class ControlPadButton {
public:
enum PadButton {
Left,
Right,
Up,
Down,
Yes,
No,
Action
};
static bool isControlPadButtonPressed(const ControlPadInput *input, PadButton button) {
return false;
}
};
#endif // CONTROL_PAD_INPUT_H