initial commit
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#ifndef C64_JOYSTICK_H
|
||||
#define C64_JOYSTICK_H
|
||||
|
||||
#include "types.h"
|
||||
|
||||
extern sbyte joyx[2], joyy[2];
|
||||
extern bool joyb[2];
|
||||
|
||||
// poll joystick input for joystick 0 or 1 and place
|
||||
// the x/y direction and the button status into the joyx/y/b
|
||||
// arrays for
|
||||
|
||||
void joy_poll(char n);
|
||||
|
||||
#pragma compile("joystick.c")
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user