X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/1adf8174cf06760fdb35476744e3446e9c2eda02..7aa8dc1de069b0f9c9e0b2bd379713d49dfee377:/LUFA/Drivers/Board/Joystick.h?ds=sidebyside diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h index 2f90a9ca3..cbe9b0fd8 100644 --- a/LUFA/Drivers/Board/Joystick.h +++ b/LUFA/Drivers/Board/Joystick.h @@ -123,6 +123,8 @@ #if defined(__DOXYGEN__) /** Initializes the joystick driver so that the joystick position can be read. This sets the appropriate * I/O pins to inputs with their pull-ups enabled. + * + * This must be called before any Joystick driver functions are used. */ static inline void Joystick_Init(void); @@ -132,8 +134,7 @@ /** Returns the current status of the joystick, as a mask indicating the direction the joystick is * currently facing in (multiple bits can be set). * - * \return Mask indicating the joystick direction - see corresponding board specific Joystick.h file - * for direction masks. + * \return Mask of \c JOYSTICK_* constants indicating the current joystick direction(s). */ static inline uint_reg_t Joystick_GetStatus(void) ATTR_WARN_UNUSED_RESULT; #endif