remove all PS3 things and begin with ControllPad

This commit is contained in:
2023-03-30 22:20:28 +02:00
parent e4cdc5f98d
commit 33fe6916ed
16 changed files with 182 additions and 150 deletions
+42
View File
@@ -0,0 +1,42 @@
/**
* @file controllPadInput.h
* @author Alexander Klein (alex@kleiax.de)
* @brief
* @version 0.1
* @date 2023-03-30
*
* @copyright Copyright (c) 2023
*
*/
#ifndef CONTROLL_PAD_INPUT_H
#define CONTROLL_PAD_INPUT_H
#include <stdint.h>
struct ControllPadInput {
uint8_t buttons;
uint8_t x;
uint8_t y;
uint8_t counter;
};
class ControllPadButton {
public:
enum PadButton {
Left,
Right,
Up,
Down,
Yes,
No,
Action
};
static bool isControllPadButtonPressed(const ControllPadInput *input, PadButton button) {
return false;
}
};
#endif // CONTROLL_PAD_INPUT_H