USB Joystick driver

Discuss development specific to the Pi version of ADFFS
Posts: 407
Joined: Mon Sep 16, 2013 12:01 am

Re: USB Joystick driver

Post by Vanfanel » Sun Apr 15, 2018 11:49 am

@Jon: It was the disk protection, yes. Mounted the disk and everything's fine now with the installed game. Sorry.

Posts: 17
Joined: Fri Dec 13, 2013 3:47 pm

Re: USB Joystick driver

Post by grannyg » Mon Apr 16, 2018 7:28 pm

Just to report an original PS4 Pro controller works fine. (has 8 Axes and 14 buttons)

Posts: 1853
Joined: Thu Apr 11, 2013 12:13 pm
Location: Essex

Re: USB Joystick driver

Post by JonAbbott » Mon Apr 16, 2018 8:49 pm

Thanks for the confirmation.

I think the next things we need to look at are:
  • Auto-map Joystick axis/buttons
  • Add a Configure app to allow manual configurations to be saved on a per-device setting that override the auto-map, possibly also per-game overrides
  • Allow buttons to be mapped to Up/Down/Left/Right
If we're adding settings on a per game basis, ADFFS needs to inform USBJoystick of the game being run (when booted) and HD installed games would need to manually inform USBJoystick via a * command. This would be beneficial for games that don't work well with Axis control, were you'd want the D-Pad mapped to Up/Down/Left/Right or visa-versa.

We'd probably want to add an SWI (43F44?) for ADFFS to tell USBJoystick the game ID, but that would then make USBJoystick somewhat dependent on JASPP allocated game ID's. The Configure app would also need to communicate via SWI, to discover the full device capabilities.

Post Reply