Closed phkb closed 3 months ago
I think this is stable and predictable now. The first version would reset the activate/mode keys back to the default even if you'd specifically unset them. Now, the only time it picks up the default keys is when you purchase the equipment for the first time. If you add default keys to an equipment item later, you would need to go into the keyboard settings and reset the keys back to default.
Anyway, I'll push to master in the next day or so unless there's objections.
With this PR, you can now set "default_activate_key" and "default_mode_key" in your equipment.plist definition. If the chosen key conflicts with another key when loading, the setting will be ignored. The definition is the same as for other key settings, in that it is an array of dictionary items. For example:
If you change the default key for the equipment item, the "Overrides" column will now show that the key setting has changed from the default.