mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-24 15:31:17 +00:00
18 lines
483 B
Plaintext
18 lines
483 B
Plaintext
|
/* Joystick Header File *
|
||
|
* Nonfunctional Skeleton for *
|
||
|
* Systems w/o Joystick Support */
|
||
|
|
||
|
#define JYSTKS $00 //Number of Joysticks
|
||
|
|
||
|
#define JOYUP $00 //Undefined - Up
|
||
|
#define JOYDN $00 //Undefined - Down
|
||
|
#define JOYLF $10 //Undefined - Left
|
||
|
#define JOYRT $00 //Undefined - Right
|
||
|
#define JOYB0 $20 //Undefined - Button
|
||
|
|
||
|
/* Read Joystick State *
|
||
|
* Args: j = Joystick Number *
|
||
|
* Returns: $FF = Error *
|
||
|
* No Joysticks */
|
||
|
char joystk();
|