In this video I quickly explain how to add a custom complex modification to karabiner-elements.
See also: this github issue https://github.com/pqrs-org/Karabiner...
remapXtoY.json:
{
"title": "Remap x to y",
"rules": [
{
"description": "Remap x to y",
"manipulators": [
{
"from": {
"key_code": "x"
},
"to": [
{
"key_code": "y"
}
],
"type": "basic"
}
]
}
]
}