搞掂咗
{
"title": "uio to jkl",
"rules":[
{
"description":"l to o",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_3"
},
"to":[{
"key_code":"keypad_6"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
},
{
"description":"o to l",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_6"
},
"to":[{
"key_code":"keypad_3"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
},
{
"description":"i to k",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_5"
},
"to":[{
"key_code":"keypad_2"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
},{
"description":"k to i",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_2"
},
"to":[{
"key_code":"keypad_5"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
},{
"description":"u to j",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_4"
},
"to":[{
"key_code":"keypad_1"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
},{
"description":"j to u",
"manipulators": [
{
"type": "basic",
"from":{
"key_code":"keypad_1"
},
"to":[{
"key_code":"keypad_4"
}],
"conditions":[
{
"type":"input_source_if",
"input_sources":[
{
"input_source_id": "com.apple.inputmethod.TYIM.Stroke"
}
]
}
]
}
]
}
]
}