Joystick.h File Reference

#include <avr/io.h>
#include "../../../Common/Common.h"

Defines

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

Detailed Description

Board specific joystick driver header for the STK525.

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

Define Documentation

#define JOY_DOWN   ((1 << 5) >> 1)

Mask for the joystick being pushed in the downward direction.

#define JOY_LEFT   (1 << 6)

Mask for the joystick being pushed in the left direction.

#define JOY_PRESS   (1 << 5)

Mask for the joystick being pushed inward.

#define JOY_RIGHT   ((1 << 4) >> 1)

Mask for the joystick being pushed in the right direction.

#define JOY_UP   (1 << 7)

Mask for the joystick being pushed in the upward direction.


Generated on Tue Jun 10 19:58:55 2008 for MyUSB Library by  doxygen 1.5.5