bk-emulator/joystick.c
Vladimir Serbinenko 1590155106 Implement joystick
2019-11-04 14:18:24 +01:00

20 lines
308 B
C

#include "defines.h"
int joystick_read(c_addr addr, d_word *word) {
*word = platform_joystick_get_state();
return OK;
}
void
joystick_init() {
platform_joystick_init();
}
int joystick_write(c_addr addr, d_word word) {
return OK;
}
int joystick_bwrite(c_addr addr, d_byte byte) {
return OK;
}