27 #include <mraa/gpio.h> 86 mraa_aio_context m_joystickCtxX;
87 mraa_aio_context m_joystickCtxY;
89 static const int X_left;
90 static const int X_center;
91 static const int X_right;
92 static const int Y_left;
93 static const int Y_center;
94 static const int Y_right;
~Joystick12()
Definition: joystick12.cxx:63
float getXInput()
Definition: joystick12.cxx:76
Joystick12(int pinX, int pinY)
Definition: joystick12.cxx:46
C++ API wrapper for the bh1749 driver.
Definition: a110x.hpp:29
API for the ElecFreaks* Joystick v 1.2-1.4 Breakout.
Definition: joystick12.hpp:57
float getYInput()
Definition: joystick12.cxx:88