aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/Joystick.h
diff options
context:
space:
mode:
Diffstat (limited to 'LUFA/Drivers/Board/Joystick.h')
-rw-r--r--LUFA/Drivers/Board/Joystick.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h
index 95e90fadf..452689cdb 100644
--- a/LUFA/Drivers/Board/Joystick.h
+++ b/LUFA/Drivers/Board/Joystick.h
@@ -126,6 +126,9 @@
*/
static inline void Joystick_Init(void);
+ /** Disables the joystick driver, releasing the I/O pins back to their default high-impedence input mode. */
+ static inline void Joystick_Disable(void);
+
/** Returns the current status of the joystick, as a mask indicating the direction the joystick is
* currently facing in (multiple bits can be set).
*