to.repeat

to.repeat is true or false. The default value is true.

The key repeating will be suppressed if to.repeat is false.

Example

To prevent key repeats like “hellooooooooo” when holding down a key, add “repeat”: false to the final key event in the sequence.

{
    "description": "Enter 'hello' by right_shift+h",
    "manipulators": [
        {
            "type": "basic",
            "from": {
                "key_code": "h",
                "modifiers": {
                    "mandatory": ["right_shift"],
                    "optional": ["caps_lock"]
                }
            },
            "to": [
                { "key_code": "h" },
                { "key_code": "e" },
                { "key_code": "l" },
                { "key_code": "l" },
                { "key_code": "o", "repeat": false }
            ]
        }
    ]
}