Modify Key Press
Modifys a key. Can remove or remap them.
Type ID: lunali:modify_key_press
| Field | Type | Default | Description |
|---|---|---|---|
key |
String | The key you want to target. | |
replace |
String | Remaps the targetted key to the replacement key. Prevents original key from working. | |
remove |
Boolean | Should the targetted key be removed. Does not work with replace |
Examples
"confused": {
"type": "lunali:modify_key_press",
"key": "key.back",
"remove": false,
"replace": "key.forward"
}
This example will cause the forward movement key to become the back movement key.
"remove_primary": {
"type": "lunali:modify_key_press",
"key": "key.origins.primary_active",
"remove": true
}
This example will cause the primary key for origins to become unusable.