X-Git-Url: http://git.linex4red.de/pub/lufa.git/blobdiff_plain/2bb012d4cbff052ff186c82cc2269b2362118972..e615d4e8b9da2da9dc4d0ebd7e02ec389501fee8:/LUFA/Drivers/Board/Joystick.h diff --git a/LUFA/Drivers/Board/Joystick.h b/LUFA/Drivers/Board/Joystick.h index c3b306e06..b0a31a5d6 100644 --- a/LUFA/Drivers/Board/Joystick.h +++ b/LUFA/Drivers/Board/Joystick.h @@ -1,13 +1,13 @@ /* LUFA Library - Copyright (C) Dean Camera, 2013. + Copyright (C) Dean Camera, 2018. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* - Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) + Copyright 2018 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted @@ -47,11 +47,11 @@ * \defgroup Group_Joystick Joystick Driver - LUFA/Drivers/Board/Joystick.h * \brief Digital joystick board hardware driver. * - * \section Sec_Dependencies Module Source Dependencies + * \section Sec_Joystick_Dependencies Module Source Dependencies * The following files must be built with any user project that uses this module: * - None * - * \section Sec_ModDescription Module Description + * \section Sec_Joystick_ModDescription Module Description * Hardware Joystick driver. This module provides an easy to use interface to control the hardware digital Joystick * located on many boards. * @@ -60,7 +60,7 @@ * * For possible \c BOARD makefile values, see \ref Group_BoardTypes. * - * \section Sec_ExampleUsage Example Usage + * \section Sec_Joystick_ExampleUsage Example Usage * The following snippet is an example of how this module may be used within a typical * application. * @@ -105,8 +105,9 @@ #define JOY_LEFT 0 #define JOY_RIGHT 0 #define JOY_PRESS 0 - static inline void Joystick_Init(void) {}; - static inline uint_reg_t Joystick_GetStatus(void) { return 0; }; + static inline void Joystick_Init(void) {} + static inline void Joystick_Disable(void) {} + static inline uint_reg_t Joystick_GetStatus(void) { return 0; } #elif (BOARD == BOARD_USBKEY) #include "AVR8/USBKEY/Joystick.h" #elif (BOARD == BOARD_STK525)