I just remembered that the joypads have two kinds of mappings: the usual mapping used by mist.ini and a lower-level hardware mapping between the USB HID interface (basically hardware) and an "internal" software joypad which is then used for mapping from config. Typically, most pads use the default HID handling and then all mapping is done downstream... but sometimes gamepads have issues and need tweaks to work.

It is possible to override this setting but it's a different config entry, "hid_button_remap".It works a bit differently than the joystick mapping though, one has to know what is the bit location of buttons in the HID message, provide an offset, and then list the buttons to assign (IIRC).

This should get rid of the two buttons mapped together. Of course commenting out the mapping and recompiling would also work.I'm not sure I got it right though... the very reason I wrote joystick_remap is to not have to use this one

This should get rid of the two buttons mapped together. Of course commenting out the mapping and recompiling would also work.I'm not sure I got it right though... the very reason I wrote joystick_remap is to not have to use this one

Ah, a secret setting Well, I would vote for a remove this in the code, since it still can be applied via mist.ini settings. Maybe add these as an example for the default mist.ini, commented out by default. But if joystick_remap can do the job in any cases, this just creates confusion.

slingshot wrote:Ah, a secret setting Well, I would vote for a remove this in the code, since it still can be applied via mist.ini settings. Maybe add these as an example for the default mist.ini, commented out by default. But if joystick_remap can do the job in any cases, this just creates confusion.

I agree, my build env is broken though.

joystick_remap won't necessarily work if the hardware is faulty. Need to try, if I can ever find again that faulty USB gamepad...

Newsdee wrote:joystick_remap won't necessarily work if the hardware is faulty. Need to try, if I can ever find again that faulty USB gamepad...

I see. But then hid_button_remap can help in this case if I understand correctly.

Ahh that's how you use it. I tried HID remap with the joystick remap format before and it was just the same thing. I'll see how buggy these are without the special HID code fixes in the firmware first though.

VID is supposed to be a Vendor ID, and PID the Product ID, and in theory every controller is different. But it looks like the internals were reused in a bunch of places and we ended up with 3/4 controllers with the same VID/PID.

One solution would be to comment out / remove the mapping of the NES retrolink adapter; or to maybe try to find a configration that works for both controllers. In any case it needs a simple recompilation of the firmware. I no longer have my toolchain handy for it, but I can point out what to do if somebody gets it to compile.

When it was shown that there were several gamepad models of the type "Retrolink NES" (VID: 0079 PID: 0011), and that these Chinese clones did not work well, it was said to remove their firmware definition. Is this action going to be done? Thanks in advance.

It would be great if controller support got some love.It was fine to use 9 pin types for computers, but what with the great developments in consoles (and need for more than 2 fire buttons) it would be great to use USB controllers that can be setup for Windows and Raspberry Pi.

I've a load of controllers. 2 with the same ID (SNES/NES), Playsega Saturn style pad, Competition Pro (MiST pre-configures well), Datel Arcade Stick and Wired PS3 pad (Chinese clone). But none of these seem to be fully configurable with MiST.

On the Facebook group i was trying to get people to post their configs against pictures of their controller.

Higgy wrote:It would be great if controller support got some love.It was fine to use 9 pin types for computers, but what with the great developments in consoles (and need for more than 2 fire buttons) it would be great to use USB controllers that can be setup for Windows and Raspberry Pi.

Thanks

I think without a developer with some exotic controllers, there will be no progress.

On my MiST I use USB Snes style pad, but I tested with success Logitech Precision pad and Dual Action One.A Logitech F710 wireless is not recognized.

I think the best solution is to use only USB snes style gamepads. They are good for all cores, from C64 to Genesis.Setup is simple and in case of a C64/Amiga/Atari ST you can remap the space bar or Up direction to a button of the pad, so many games are very playable.

For example, Atari ST doesn't have any 2 button controller, but games use a lot the space bar. You can remap this for use in games like Turrican, R-Type and others. It's like to use a real 2 button controller.

I'm very satisfied of my configuration, I have tryied many controllers in my life and I consider the snes style the best. And if you want to play 1 button games with C16/C64/Vic20 cores you can wire a standard DB9 joystick. I have so many of these, like Quickshot SV131, Competition Pro, Zipstick, TAC2, Suzo Arcade (the better in my opinion), slikstik, ecc...

Higgy wrote:DanyPPC - can you post a link where to buy your pad please. Is it Chinese pad or Retrobit etc?

Also can you post you pad config from your MiST.ini please.

As owner of several controllers, including those cheap Chinese ones, please do yourself a favor and get the Buffalo or the 8BitDo instead. Their quality is much better (and a little pricier but none excessive).

With MiST firmware below 190110 the default button mapping is weird,e.g. some buttons are recognised as two buttons, Y maps to nothing -> dead button.

The following 4 hid_button_remap settings in mist.ini define the first 4 buttons with the correct bits from USB HID messages.The joystick_remap setting then remaps all the buttons to the correct buttons.

My 'The C64 Joystick' arrived just now:https://retrogames.biz/thec64-joystick/Tested it briefly, and seems to be 100% compatible with MiST! All four directions are OK, and the buttons are mapped correctly, the default order is A B Sel Sta X Y L R. Of course they can be remapped if necessary.It's a good product for affordable price. Users who don't like gamepads like me will appreciate it. Pure retro feeling, and a nice option to attach more than 2 joys to your beloved FPGA.

I bought the real Competition Pro USB 20 years edition on eBay. It has microswitch and 4 different buttons. I use it on PC, because MiST has just DB9 atari ports and I have a great collection of standard atari joystick to use.

DrOG wrote:My 'The C64 Joystick' arrived just now:https://retrogames.biz/thec64-joystick/(...)It's a good product for affordable price. Users who don't like gamepads like me will appreciate it. Pure retro feeling, and a nice option to attach more than 2 joys to your beloved FPGA.

Several people on the "The C64" FB group reported their shaft broke. Apparently it can be prevented if you drill a longer screw inside it to hold it in place.