Search found 149 matches

by richw
Mon Aug 21, 2023 2:11 pm
Forum: USBJoystick
Topic: USBJoystick 0.22 - prototype
Replies: 5
Views: 1956

Re: USBJoystick 0.22 - prototype

Almost. R2 points to a cut-down version of that struct (which is used internally). These are the 'public' structs... struct joystick_read_dev_info_struct { uint8_t joystick_id; char *device_path; char *manufacturer; char *product; char *serial; uint8_t number_axes; uint8_t number_buttons; }; struct ...
by richw
Sat Aug 19, 2023 5:51 pm
Forum: USBJoystick
Topic: USBJoystick 0.22 - prototype
Replies: 5
Views: 1956

Re: USBJoystick 0.22 - prototype

Yes, the ordering may change. The axes info will show you everything... the typeid, the name, min, mid, max and current value. So I suspect an 'advanced' game would show all of the axes and ask the user to pick which ones they wanted. That's what I've seen on PC games, when I last played them - abou...
by richw
Fri Aug 18, 2023 4:53 pm
Forum: USBJoystick
Topic: USBJoystick 0.22 - prototype
Replies: 5
Views: 1956

USBJoystick 0.22 - prototype

Here is a prototype build. The main changes are: More buttons The Acorn Joystick_Read SWI can provide more buttons. API for listing devices and axes The Acorn Joystick_Read SWI has additional reason codes. These allow you to: Discover the connected joysticks Query the axes availability/configuration...
by richw
Mon Aug 22, 2022 4:29 pm
Forum: USBJoystick
Topic: USBJoystick 0.21
Replies: 4
Views: 3988

Re: USBJoystick 0.21

Funny thing about MadProf is that I was testing it with a (Chinese knock-off) XB360 controller, so that's interesting! Its good news that you've boiled it down to a few games which are not right. I was thinking that either the new approach was totally wrong, or that I'd need to add in some sort of s...
by richw
Thu Aug 18, 2022 9:54 pm
Forum: USBJoystick
Topic: USBJoystick 0.21
Replies: 4
Views: 3988

Re: USBJoystick 0.21

Ah, been doing a bit of playing about...

The RTFM change isn't good. I tried Mad Professor, and it makes the controls go bazerk. I think I need to double check how that game is testing for and reading the sticks.
by richw
Wed Aug 17, 2022 9:03 pm
Forum: USBJoystick
Topic: USBJoystick 0.21
Replies: 4
Views: 3988

USBJoystick 0.21

USBJoystick is a USB joystick driver for RISC OS 5. It supports USB HID-compliant joystick (or gamepad, or steering wheel etc.), including the XBOX 360 wired and wireless controllers. It provides the legacy Acorn, RTFM and SerialPort SWI interfaces, so existing games can be used with modern controll...
by richw
Sun Nov 14, 2021 12:16 am
Forum: USBJoystick
Topic: USBJoystick 0.20
Replies: 9
Views: 9928

Re: USBJoystick 0.20

Hi Jon, It has been floating around in my head for a while... I think the Acorn Joystick SWIs need extending to cover more complex use-cases like multi-axes. We could also cover things like reporting the connected devices and even force feedback. I keep meaning to draw up some proposals and post on ...
by richw
Mon Feb 22, 2021 11:59 pm
Forum: General
Topic: ADFFS - multiple disks
Replies: 5
Views: 14325

Re: ADFFS - multiple disks

I think AcornMode is an R-Comp branded port of ArcEm. So running an Archie emulator on a 'modern Archie'!
by richw
Wed Jan 27, 2021 9:17 pm
Forum: USBJoystick
Topic: USBJoystick 0.20
Replies: 9
Views: 9928

Re: USBJoystick 0.20

Sounds good. I was pondering keyboard emulation in USBJoystick, as it is the same code as for the mouse buttons. But I think it makes more sense in ADFFS, as it could be worked into the game boot scripts. I think I need to add in a sensitivity setting for the mouse, perhaps even try to set it automa...
by richw
Mon Jan 25, 2021 9:25 pm
Forum: USBJoystick
Topic: USBJoystick 0.20
Replies: 9
Views: 9928

USBJoystick 0.20

USBJoystick is a USB joystick driver for RISC OS 5. It supports USB HID-compliant joystick (or gamepad, or steering wheel etc.), including the XBOX 360 wired and wireless controllers. It provides the legacy Acorn, RTFM and SerialPort SWI interfaces, so existing games can be used with modern controll...