diff --git a/.config/input-remapper-2/presets/Hanvon Ugee Shortcut Remote Mouse/XP Pen ACK05.json b/.config/input-remapper-2/presets/Hanvon Ugee Shortcut Remote Mouse/XP Pen ACK05.json index b9dc335..f9b9714 100644 --- a/.config/input-remapper-2/presets/Hanvon Ugee Shortcut Remote Mouse/XP Pen ACK05.json +++ b/.config/input-remapper-2/presets/Hanvon Ugee Shortcut Remote Mouse/XP Pen ACK05.json @@ -1,22 +1,4 @@ [ - { - "input_combination": [ - { - "type": 1, - "code": 29, - "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" - }, - { - "type": 1, - "code": 31, - "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" - } - ], - "target_uinput": "keyboard", - "output_symbol": "KEY_LEFTCTRL + KEY_L", - "name": "K4 (Default: Control_L + s) (New: Control_L t)", - "mapping_type": "key_macro" - }, { "input_combination": [ { @@ -53,24 +35,6 @@ "name": "K9 (Default: space) (New: e)", "mapping_type": "key_macro" }, - { - "input_combination": [ - { - "type": 1, - "code": 29, - "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" - }, - { - "type": 1, - "code": 24, - "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" - } - ], - "target_uinput": "keyboard", - "output_symbol": "if_eq($wheel, 1, set(wheel, 2), set(wheel, 1))", - "name": "K1 (Default: Control_L + o) (New: Toggle wheel)", - "mapping_type": "key_macro" - }, { "input_combination": [ { @@ -134,7 +98,7 @@ } ], "target_uinput": "keyboard", - "output_symbol": "if_eq($wheel, 2, modify(Control_L, key(KP_Add)), modify(Control_L, key(bracketright)))", + "output_symbol": "if_eq($wheel, 2, modify(KEY_LEFTCTRL, modify(KEY_LEFTSHIFT, key(KEY_EQUAL))), modify(KEY_LEFTCTRL, key(KEY_RIGHTBRACE)))", "name": "Rotate clockwise (Default: Control_L + KP_Add)", "mapping_type": "key_macro" }, @@ -152,7 +116,7 @@ } ], "target_uinput": "keyboard", - "output_symbol": "if_eq($wheel, 2, modify(Control_L, key(KP_Subtract)), modify(Control_L, key(bracketleft)))", + "output_symbol": "if_eq($wheel, 2, modify(KEY_LEFTCTRL, key(KEY_KPMINUS)), modify(KEY_LEFTCTRL, key(KEY_LEFTBRACE)))", "name": "Rotate anticlockwise (Default: Control_L + KP_Subtract)", "mapping_type": "key_macro" }, @@ -194,5 +158,31 @@ "output_symbol": "KEY_ESC", "name": "K7 (Default: Alt_L) (New: Escape)", "mapping_type": "key_macro" + }, + { + "input_combination": [ + { + "type": 1, + "code": 24, + "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" + } + ], + "target_uinput": "keyboard", + "output_symbol": "if_eq($wheel, 1, set(wheel, 2), set(wheel, 1))", + "name": "K1 (Default: Control_L + o) (New: Toggle wheel)", + "mapping_type": "key_macro" + }, + { + "input_combination": [ + { + "type": 1, + "code": 31, + "origin_hash": "baf704e91c9cdbc75e73e4a3e3f9849b" + } + ], + "target_uinput": "keyboard", + "output_symbol": "KEY_B", + "name": "K4 (Default: Control_L + s) (New: Control_L l)", + "mapping_type": "key_macro" } ]