
about ijk joystick - your code works in Oricutron

EDIT:
1. Make sure that joystick is properly configured in 'oricutron.cfg' - use unquoted strings:
right: joyinterface = ijk / wrong: joyinterface = 'ijk'
2. According to the same page in DF-Wiki, when reading Port A to detect joystick Bit 5 means:
Code: Select all
B5 Low whenever IJK joystick attached so could detect IJK Interface
3. The code will work but PortA and PortB should be first properly initialized and than restored

As result see the attached zip file with source and demo. Tested in Oricutron.
If I found my joystick I'll test the code with real Oric, but I'm not sure if it was IJK or something else...