Class: Joystick

Method and Variable Index

Public:

Protected:

Method Descriptions

Joystick()

Installs the joystick handler.

bool jup(void)

Returns true if the joystick is up.

bool jdown(void)

Returns true if the joystick is down.

bool jleft(void)

Returns true if the joystick is left.

bool jright(void)

Returns true if the joystick is right.

bool jfire1(void)

Returns true if the joystick's button 1 is depressed.

bool jfire2(void)

Returns true if the joystick's button 2 is depressed.

void update(void)

Call this regularly to update the joystick values.