| LUFA Library 140302 |

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

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

`#include "../../../../Common/Common.h"`

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

## Detailed Description

Board specific joystick driver header for the Atmel USBKEY.

Left Port Pin | Up Port Pin | Right Port Pin | Down Port Pin | Press Port Pin
--- | --- | --- | --- | ---
PORTB.6 | PORTB.7 | PORTE.4 | PORTE.5 | PORTB.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.