LUFA Library
Joystick.h File Reference

LUFA Custom Board Joystick Hardware Driver (Template) More...

Macros

#define JOY_DOWN
 
#define JOY_LEFT
 
#define JOY_PRESS
 
#define JOY_RIGHT
 
#define JOY_UP
 

Detailed Description

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.

Macro Definition Documentation

◆ JOY_DOWN

#define JOY_DOWN

Mask for the joystick being pushed in the downward direction.

◆ JOY_LEFT

#define JOY_LEFT

Mask for the joystick being pushed in the left direction.

◆ JOY_PRESS

#define JOY_PRESS

Mask for the joystick being pushed inward.

◆ JOY_RIGHT

#define JOY_RIGHT

Mask for the joystick being pushed in the right direction.

◆ JOY_UP

#define JOY_UP

Mask for the joystick being pushed in the upward direction.