Menu

#346 Automatically change peripheral settings from the joystick dialog

future
open
nobody
None
5
2016-02-07
2016-01-30
lighterowl
No

As a new user of FUSE, I found it very confusing that changing joystick settings via the joystick dialog does not enable support for the corresponding joystick type in the peripheral settings.
I wrote a small patch that changes this behaviour : from now on, if emulation of a Kempston, Sinclair, or Fuller joystick is selected in the joystick dialog, the relevant option is also enabled in the peripheral settings if it's not enabled already.
Comments welcome.

1 Attachments

Discussion

  • Fredrick Meunier

    Thanks for the patch xavery.

    Looking at your patch, you have made a mistake in that the interface one and interface two options relate to the Sinclair peripherals that are related to microdrives and ROM cartridges respectively and have no impact on joystick emulation (while interface 2 had joystick inputs they effectively just operate keyboard keys and other machines and interfaces had the same scheme).

    The setup in Fuse is intended to draw a distinction between the mapping of real world devices to the emulated machine and the peripherals connected to the machine being emulated. Some of the scenarios can be a little elaborate so the full flexibility is exposed at the moment.

    If you feel you have a better idea about how these could be configured please let us know in an updated patch.

     

    Last edit: Fredrick Meunier 2016-02-07
    • lighterowl

      lighterowl - 2016-02-10

      Friedrick,
      I have to admit that I don't really know a lot about the internals. The patch just started out as an auto-enabler of the emulation of the Kempston interface, which I believe is the most used joystick interface. After looking at the code, I realized that I might just do the same thing for other joystick interfaces. Clearly, I was wrong.
      I have to admit that I'm not really sure what to reply. If you're willing to automatically enable only the Kempston interface, I'll be glad to provide a shorter version of the patch. If not, feel free to just scrap it.

      Thanks,
      Daniel

       

Log in to post a comment.