Re: [Atari800-users] almost ready for a new release, but ... (joysticks)
Brought to you by:
joy
|
From: Petr S. <pst...@so...> - 2025-12-30 10:01:51
|
On Čt, 2025-07-31 at 13:28 +0200, Petr Stehlík wrote: > The last missing thing in this area is to allow user to select (in > UI) which SDL joystick (recognized by name) will be mapped to which > Atari port. Anyone willing to implement that? :-) FYI, I have worked on that for 9 hours straight yesterday (SILK meetup). Two outcomes: the current SDL implementation of joystick input is crazy and needs to be overworked much more, and there are other weirds bugs in SDL2 and Atari800 which require a lot more work to fix before eventual release :-/ Petr > > When Atari800 is starting it maps the SDL joysticks it finds like 1:1 > to Atari joystick ports, which is often not what user wants - for > example output on my host: > > Joystick 0 (CNLohr CH32V003Programmer) mapped to emulated joystick 0 > Joystick 1 (TGZ Controller) mapped to emulated joystick 1 > > The "CNLohr" programmer is not a real joystick but it occupies the > Atari joystick 0 port for me. Somebody in GitHub issues suggested to > implement a "SDL joystick black list" that would help here but being > able to map different SDL joysticks to different Atari ports would be > far more universal and flexible. > > I think it would be reasonable if we modified the UI logic in > "Controller Configuration" from "Enable keyboard joystick X" "Y/N" to > > "Atari joystick X": and popup-selector that would have "keyboard" at > first position and other positions would be filled with names of SDL > joysticks. > > Well, we could even put the "parallel" option into the popup selector > for joysticks on parallel ports (a feature supported 25+ years ago - > not sure if it's still in source code). > > And we obviously want to support four joysticks, i.e. te "Atari > joystick X" would go from 1 to 4. Atari5200 users could be finally > happy and Atari800/130 would be able to enable "Multijoy4" anytime to > make use of all four joysticks. > > Please let me know if someone is willing to modify the UI in such a > way, or suggest a better one. > > Thanks, > > Petr > > > > > > _______________________________________________ > Atari800-users mailing list > Ata...@li... > https://lists.sourceforge.net/lists/listinfo/atari800-users |