This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
x68000:cpsfdev [2017/10/04 03:48] neko68k added link to joystick register reference. |
x68000:cpsfdev [2018/02/16 04:57] neko68k small change to inpout checking |
||
---|---|---|---|
Line 59: | Line 59: | ||
// quit on ESC | // quit on ESC | ||
- | if(_iocs_bitsns(0) == 2){ | + | if(_dos_inpout(0xFF)==0x1B){ |
*joycontrolword = 8; | *joycontrolword = 8; | ||
*joyport_c = joyport_c_old; | *joyport_c = joyport_c_old; |