caps_lock保留了切换中英文的功能,同时可以切换到ijkl实现方向键的模式(长按caps_lock一段时间之后,松开即可)。
{
"title": "CAPS LOCK + ijkl to arrow keys",
"maintainers": [
"SGdan_qi"
],
"rules": [
{
"description": "CAPS LOCK + ijkl to arrow keys",
"manipulators": [
{
"type": "basic",
"from": {
"key_code": "i",
"modifiers": {
"mandatory": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "up_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "j",
"modifiers": {
"mandatory": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "left_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "k",
"modifiers": {
"mandatory": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "down_arrow"
}
]
},
{
"type": "basic",
"from": {
"key_code": "l",
"modifiers": {
"mandatory": [
"caps_lock"
]
}
},
"to": [
{
"key_code": "right_arrow"
}
]
}
]
}
]
}