LUFA Custom Board Joystick Hardware Driver (Template) More...
Macros | |
#define | JOY_DOWN |
#define | JOY_LEFT |
#define | JOY_PRESS |
#define | JOY_RIGHT |
#define | JOY_UP |
This is a stub driver header file, for implementing custom board layout hardware with compatible LUFA board specific drivers. If the library is configured to use the BOARD_USER board mode, this driver file should be completed and copied into the "/Board/" folder inside the application's folder.
This stub is for the board-specific component of the LUFA Joystick driver, for a digital four-way (plus button) joystick.
#define JOY_DOWN |
Mask for the joystick being pushed in the downward direction.
#define JOY_LEFT |
Mask for the joystick being pushed in the left direction.
#define JOY_PRESS |
Mask for the joystick being pushed inward.
#define JOY_RIGHT |
Mask for the joystick being pushed in the right direction.
#define JOY_UP |
Mask for the joystick being pushed in the upward direction.