Edit .map Files?

Discussion of keyboards, gamepads, joysticks and other input related peripherals.
Posts: 10
Joined: Mon Oct 10, 2022 11:54 pm
Been thanked: 1 time

Edit .map Files?

Unread post by RexMendicorvm »

Is there any way to edit .map files or are they only configurable via the menu?

Posts: 249
Joined: Fri May 29, 2020 8:50 am
Has thanked: 60 times
Been thanked: 66 times

Re: Edit .map Files?

Unread post by AngelicLiver »

You should be mapping input devices in the MiSTer Main OSD initially and then in the individual cores.

There is lots of information about mapping input devices here, I think update_all also can be configured to download the pre-configured maps for most input devices.

User avatar
Top Contributor
Posts: 799
Joined: Mon May 25, 2020 1:07 am
Has thanked: 94 times
Been thanked: 204 times

Re: Edit .map Files?

Unread post by Newsdee »

What are you trying to do?

This may help:

There is a central configuration for each VID:PID (which this db helps handle by default) and then an option to map per core.

Cores can specify default mappings based on central config.

The .map file format is very simple (its just a binary dump), I forgot if the alternate mappings are done as two blocks (AAABBB) or interleaved (ABABAB) but it was one byte oer button. and the order of the OSD prompt (directions, ABXYLR, Select, Start, etc).

Personally I just remap in OSD, it only takes a minute.

Post Reply