LUFA Library  120730
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Joystick.h File Reference

Board specific joystick driver header for the Atmel USBKEY. More...

Macros

#define JOY_LEFT   (1 << 6)
#define JOY_RIGHT   ((1 << 4) >> JOY_PORTE_MASK_SHIFT)
#define JOY_UP   (1 << 7)
#define JOY_DOWN   ((1 << 5) >> JOY_PORTE_MASK_SHIFT)
#define JOY_PRESS   (1 << 5)

Detailed Description

Board specific joystick driver header for the Atmel USBKEY.

Left Port PinUp Port PinRight Port PinDown Port PinPress Port Pin
PORTB.6PORTB.7PORTE.4PORTE.5PORTB.5

Note
This file should not be included directly. It is automatically included as needed by the joystick driver dispatch header located in LUFA/Drivers/Board/Joystick.h.