|
@@ -32,16 +32,23 @@ namespace upm {
|
32
|
32
|
/**
|
33
|
33
|
* @brief Analog Joystick library
|
34
|
34
|
* @defgroup joystick libupm-joystick
|
|
35
|
+ * @ingroup generic analog ainput
|
35
|
36
|
*/
|
36
|
37
|
|
37
|
38
|
/**
|
|
39
|
+ * @library joystick
|
|
40
|
+ * @sensor joystick
|
|
41
|
+ * @comname Analog Joystick
|
|
42
|
+ * @type ainput
|
|
43
|
+ * @man generic
|
|
44
|
+ * @con analog
|
|
45
|
+ *
|
38
|
46
|
* @brief C++ API for Elecfreaks Joystick v 1.2-1.4 breakout
|
39
|
47
|
*
|
40
|
48
|
* This file defines the Joystick API and implemntation for X, Y
|
41
|
49
|
* button could be treated as normal GPIO, this enables easier
|
42
|
50
|
* interrupt support
|
43
|
51
|
*
|
44
|
|
- * @ingroup joystick analog
|
45
|
52
|
* @snippet joystick12-example.cxx Interesting
|
46
|
53
|
*/
|
47
|
54
|
class Joystick12 {
|