Open kc2npu opened 1 year ago
I was able to write a json file and put it into the complex_modifications folder to add the following rules
{
"title":"Rii RK801 Wireless BT Keyboard - Change Home and End Keys2",
"rules":[
{
"description":"Change HomeKey from LeftCommand+Left Arrow (⌘←)to Home (⬉) v2",
"manipulators":[
{
"type":"basic",
"from":{
"simultaneous":[
{"key_code":"left_arrow"},
{"key_code":"left_command"}
]
},
"to":[
{
"key_code":"home"
}
]
}
]
},
{
"description":"Change EndKey from LeftCommand+Right Arrow (⌘→)to End (➘) v2",
"manipulators":[
{
"type":"basic",
"from":{
"simultaneous":[
{"key_code":"right_arrow"},
{"key_code":"left_command"}
]
},
"to":[
{
"key_code":"end"
}
]
}
]
}
]}
Discussed in https://github.com/pqrs-org/Karabiner-Elements/discussions/3561
Unicode: 63273 / 0xf729
Keys: ⬉
Keycode: 115 / 0x73
**Karabiner-EventViewer:**
[
{
"type": "down",
"name": {"key_code":"home"},
"usagePage": "7 (0x0007)",
"usage": "74 (0x004a)",
"misc": ""
},
{
"type": "up",
"name": {"key_code":"home"},
"usagePage": "7 (0x0007)",
"usage": "74 (0x004a)",
"misc": ""
}
]| **KeyCode App**
Unicode: 63234 / 0xf702
Keys: ⌘←
Keycode: 123 / 0x7b
**Karabiner-EventViewer:**
[
{
"type": "down",
"name": {"key_code":"left_command"},
"usagePage": "7 (0x0007)",
"usage": "227 (0x00e3)",
"misc": "flags left_command"
},
{
"type": "down",
"name": {"key_code":"left_arrow"},
"usagePage": "7 (0x0007)",
"usage": "80 (0x0050)",
"misc": "flags left_command"
},
{
"type": "up",
"name": {"key_code":"left_arrow"},
"usagePage": "7 (0x0007)",
"usage": "80 (0x0050)",
"misc": "flags left_command"
},
{
"type": "up",
"name": {"key_code":"left_command"},
"usagePage": "7 (0x0007)",
"usage": "227 (0x00e3)",
"misc": ""
}
]| | [END] | **KeyCode App**
Unicode: 63275 / 0xf72b
Keys: ➘
Keycode: 119 / 0x77
**Karabiner-EventViewer:**
[
{
"type": "down",
"name": {"key_code":"end"},
"usagePage": "7 (0x0007)",
"usage": "77 (0x004d)",
"misc": ""
},
{
"type": "up",
"name": {"key_code":"end"},
"usagePage": "7 (0x0007)",
"usage": "77 (0x004d)",
"misc": ""
},
]| **KeyCode App**
Unicode: 63235 / 0xf703
Keys: ⌘→
Keycode: 124 / 0x7c
**Karabiner-EventViewer:**
[
{
"type": "down",
"name": {"key_code":"left_command"},
"usagePage": "7 (0x0007)",
"usage": "227 (0x00e3)",
"misc": "flags left_command"
},
{
"type": "down",
"name": {"key_code":"right_arrow"},
"usagePage": "7 (0x0007)",
"usage": "79 (0x004f)",
"misc": "flags left_command"
},
{
"type": "up",
"name": {"key_code":"right_arrow"},
"usagePage": "7 (0x0007)",
"usage": "79 (0x004f)",
"misc": "flags left_command"
},
{
"type": "up",
"name": {"key_code":"left_command"},
"usagePage": "7 (0x0007)",
"usage": "227 (0x00e3)",
"misc": ""
}
]| How do I get Karabiner help to "remap" the Rii Keyboard to actually do what the Apple MagicKeyboard sends. Especially since the Rii Keyboard appears to be sending two keypress signals instead of just a single one.