Add some additionally debugging, fix the 'ole broken switch statement.
This commit is contained in:
@ -46,8 +46,11 @@ class Joystick {
|
||||
// Add an analog axis to the joystick. THIS METHOD IS NOT CURRENTLY TESTED OR SUPPORTED. It might work, but probably not.
|
||||
void AddAxis(uint8_t pin);
|
||||
|
||||
|
||||
// These members should not be used by end users; todo: remember how friend classes work
|
||||
void PressButton(uint8_t button);
|
||||
void ReleaseButton(uint8_t button);
|
||||
bool _debug;
|
||||
|
||||
private:
|
||||
void SetAxis(uint8_t axis, int16_t value);
|
||||
@ -66,7 +69,6 @@ class Joystick {
|
||||
uint8_t _num_axes;
|
||||
|
||||
JoyReport _joyReport;
|
||||
bool _debug;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user