diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-01-29 14:33:36 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-01-29 14:33:36 +0000 |
commit | 5563da6a626a7301e5064a8df8b3a9b03421f8aa (patch) | |
tree | 0d5ffd18c3d061f7b91443417ce61ff07b02af3e /LUFA/Drivers/Board/Joystick.h | |
parent | a147cee95f5373902242e7b34b92f7103fc05ae4 (diff) | |
download | lufa-5563da6a626a7301e5064a8df8b3a9b03421f8aa.tar.gz lufa-5563da6a626a7301e5064a8df8b3a9b03421f8aa.tar.bz2 lufa-5563da6a626a7301e5064a8df8b3a9b03421f8aa.zip |
Added new LEDs_Disable(), Buttons_Disable() and Joystick_Disable() functions to the board hardware drivers.
Diffstat (limited to 'LUFA/Drivers/Board/Joystick.h')
-rw-r--r-- | LUFA/Drivers/Board/Joystick.h | 3 |
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). * |