Skip to content
be7d264
Compare
Choose a tag to compare
adeec30
Compare
Choose a tag to compare

standalone_keys_delay_milliseconds is not added to UI, because conflicts are bothering and might not be used very often.

d5b4324
Compare
Choose a tag to compare

fixed the case when continuous standalone keys are pressed

675fb51
Compare
Choose a tag to compare
136e2f7
Compare
Choose a tag to compare
167af78
Compare
Choose a tag to compare

standalone keys delay milliseconds added to config and UI

Notes: to remove the outdated key in system user defaults, run defaults delete -g StandaloneKey

806eec9
Compare
Choose a tag to compare

Example:

{
    "profiles": [
        {
            "name": "Default profile",
            "selected": true,
            "simple_modifications": {
                "caps_lock": "left_control"
            },
            "standalone_keys": {
                "caps_lock": "escape"
            },
            "one_to_many_mappings": {
                "left_control": ["left_control", "left_shift", "left_option", "left_command"]
            }
        }
    ]
}
17d9526
Compare
Choose a tag to compare

One-to-many mappings

An attempt to add one-to-many mappings, example configuration:

{
    "one_to_many_mappings": {
        "left_control": ["left_control", "left_shift", "left_option", "left_command"]
    }
}

This is to get the hyper key.

Caveats

  • Fn + xxx may not work as expected
  • Multiple devices may not work as expected

Because I myself don't use either of them, if you have problems, I can try to fix

BREAKING CHANGE

The key in standalone_keys should be the original key on the keyboard, not the one got mapped in simple_modifications. For example, to map caps lock to control and escape, this

{
    "simple_modifications": {
        "caps_lock": "left_control"
    },
    "standalone_keys": {
        "left_control": "escape"
    }
}

should be changed to

{
    "simple_modifications": {
        "caps_lock": "left_control"
    },
    "standalone_keys": {
        "caps_lock": "escape"
    }
}
956ddf3
Compare
Choose a tag to compare
5fd3fc7
Compare
Choose a tag to compare