We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4982 - [PATCH] riscos: Increase the number of supported joystick buttons
Summary: [PATCH] riscos: Increase the number of supported joystick buttons
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: joystick (show other bugs)
Version: HG 1.2
Hardware: ARM RISC OS
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on: 4981
Blocks:
  Show dependency treegraph
 
Reported: 2020-02-13 22:20 UTC by Cameron Cawley
Modified: 2020-05-11 21:26 UTC (History)
0 users

See Also:


Attachments
riscos: Increase the number of supported joystick buttons (3.09 KB, patch)
2020-02-13 22:20 UTC, Cameron Cawley
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Cameron Cawley 2020-02-13 22:20:03 UTC
Created attachment 4213 [details]
riscos: Increase the number of supported joystick buttons

With this patch, SDL on RISC OS now assumes that the connected joystick has 8 buttons instead of 4.
Comment 1 Sam Lantinga 2020-02-15 00:25:55 UTC
This doesn't cleanly apply.

FYI, please provide patches for SDL 2.0. There are no further releases of SDL 1.2 planned, instead we will provide an SDL 1.2 compatibility layer based on SDL 2.0 to migrate old applications.
Comment 2 Cameron Cawley 2020-05-11 16:03:27 UTC
The patch applies fine for me. It does need to be applied after #4981, which may explain why it didn't apply cleanly.

There currently isn't a good enough SDL2 video driver for RISC OS, and while one is in progress, it'll be a long time before it's suitable for general use. As such, using SDL 1.2 is the only real option on RISC OS.
Comment 3 Sam Lantinga 2020-05-11 21:26:10 UTC
Okay, this patch is in:
https://hg.libsdl.org/SDL/rev/2f82852644d1