aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/Joystick.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2012-05-20 10:55:59 +0000
committerDean Camera <dean@fourwalledcubicle.com>2012-05-20 10:55:59 +0000
commitf2ae4dc255bd86438cffb62c138326b1c0b5725f (patch)
treeabf1365cd3eebe99c3460c974e988ed606ab9d8c /LUFA/Drivers/Board/Joystick.h
parentc9b3468f1e6a13dd71a1ff6ad3fa20a5a5fcb178 (diff)
downloadlufa-f2ae4dc255bd86438cffb62c138326b1c0b5725f.tar.gz
lufa-f2ae4dc255bd86438cffb62c138326b1c0b5725f.tar.bz2
lufa-f2ae4dc255bd86438cffb62c138326b1c0b5725f.zip
Upgrade Doxygen configuration files for Doxygen 1.8.1, fix broken stylesheet and footer HTML, add explicit spacing into documentation code fragments to prevent Doxygen from removing empty lines in the output.
Diffstat (limited to 'LUFA/Drivers/Board/Joystick.h')
-rw-r--r--LUFA/Drivers/Board/Joystick.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h
index 0a1f9fa7a..63d28e837 100644
--- a/LUFA/Drivers/Board/Joystick.h
+++ b/LUFA/Drivers/Board/Joystick.h
@@ -67,22 +67,22 @@
* \code
* // Initialize the board Joystick driver before first use
* Joystick_Init();
- *
+ *
* printf("Waiting for joystick movement...\r\n");
- *
+ *
* // Loop until a the joystick has been moved
* uint8_t JoystickMovement;
* while (!(JoystickMovement = Joystick_GetStatus())) {};
- *
+ *
* // Display which direction the joystick was moved in
* printf("Joystick moved:\r\n");
- *
+ *
* if (JoystickMovement & (JOY_UP | JOY_DOWN))
* printf("%s ", (JoystickMovement & JOY_UP) ? "Up" : "Down");
- *
+ *
* if (JoystickMovement & (JOY_LEFT | JOY_RIGHT))
* printf("%s ", (JoystickMovement & JOY_LEFT) ? "Left" : "Right");
- *
+ *
* if (JoystickMovement & JOY_PRESS)
* printf("Pressed");
* \endcode