1
0
mirror of https://github.com/RevCurtisP/C02.git synced 2024-11-24 15:31:17 +00:00
C02/include/joystk.h02

18 lines
483 B
Plaintext
Raw Permalink Normal View History

/* 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();