Button names may be entered in any order, with the order determining where it will show up on the list.
I am trying to reorder the buttons list so that the keymap I print from RM is in the same order as the buttons on the remote. But without success. It didn't work in a test I did with the 1994 remote. The button list remains unchanged from the original.
Is this not possible? Or am I doing something wrong?
I think reordering the buttons will change how IR displays the buttons, but it doesn't affect RM. RM determines the order from the key map for the selected device type.
Unless I am mistaken, IR does not deal at all with RDF files. On the other hand programs like KM and RM do take the button lists from RDF files. How do these programs decide the order in which to present the buttons (i.e. starting with "0"). Do they use the contents of the [ButtonMaps] section instead? Or some other method?
I would really like to change the order in which the buttons are listed as it would make printed keymaps more relevant and easier to use.
You should be aware Greg is THE expert for RM and high on the list of experts for RDF format. If his statements did disagree with RDF spec, I'd start by guessing RDF spec is wrong. (In this case I don't think either Greg or RDF spec is wrong).
JCTerrier wrote:
Unless I am mistaken, IR does not deal at all with RDF files. On the other hand programs like KM and RM do take the button lists from RDF files.
You're mistaken. KM doesn't use RDFs. RM and IR do.
JCTerrier wrote:
change the order in which the buttons are listed
Greg know much better than I do, the strange logic by which button sequence is selected in RM. It might be a harder change than you might suspect (even if it's a good idea). I think there were once more constraints on that process needed to achieve stability across changes of Device Type. Maybe those constraints became obsolete at some point.
RM and IR are the tools that use the RDFs. KM does not. All the RDF-like information that KM uses is stored internally.
RDFs were originally used strictly by IR, before I wrote RM. When I started working on RM (Back when we called it KMJ), I decided to leverage the information contained in the RDFs rather than recreate it.
However, RM is very different from IR, and one of the implementation differences is that buttons aren't presented in the same order as the RDF file.
I would be willing to consider implementing a feature allowing the user to re-order the buttons (on the Key Map panel only), much like functions can be reordered by dragging the function number. I suppose I could even make it so the button order is stored in the upgrade file.
Note that there are other features already on the todo list.