It appears that on macOS, the cmd
key is hardcoded to function as the ctrl
key does on Windows. This means that even if you modify the hotkeys.txt
file to replace cmd
with ctrl
, the changes will revert back to cmd
upon reopening the file. This behavior is by design to ensure consistency across different operating systems.
To customize your hotkeys, you should use the cmd
key in place of ctrl
for macOS. If you want to reset your hotkeys to default, you can delete the hotkeys.txt
file or clear its contents and restart Spine. This will regenerate the default hotkeys file. Additionally, you can use the "Defaults" button in the settings dialog to reset the hotkeys, but you will still need to restart Spine for the changes to take effect.
Here is a step-by-step guide to reset and customize your hotkeys:
- Open the settings dialog in Spine.
- Locate and open the
hotkeys.txt
file.
- Delete the contents of the file or delete the file itself.
- Restart Spine to regenerate the default hotkeys file.
- Edit the
hotkeys.txt
file to customize your hotkeys, using cmd
for macOS.
If you are using a non-QWERTY keyboard layout, you may need to adjust the settings accordingly to ensure the hotkeys work as expected.
For example, if you want to set the undo action to cmd+Z
, your hotkeys.txt
should include:
Undo: cmd + Z
If you encounter any issues with specific hotkeys or keyboard layouts, you can manually edit the hotkeys.txt
file to suit your needs, but remember to use cmd
instead of ctrl
for macOS.