remove all PS3 things and begin with ControllPad
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user