Files
c64-demo-cpp/oscar64/include/c64/joystick.h
T
2026-07-18 20:34:55 +02:00

18 lines
312 B
C

#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