summaryrefslogtreecommitdiff
path: root/mac/.config/karabiner
diff options
context:
space:
mode:
Diffstat (limited to 'mac/.config/karabiner')
-rw-r--r--mac/.config/karabiner/automatic_backups/karabiner_20250902.json52
-rw-r--r--mac/.config/karabiner/karabiner.json132
2 files changed, 135 insertions, 49 deletions
diff --git a/mac/.config/karabiner/automatic_backups/karabiner_20250902.json b/mac/.config/karabiner/automatic_backups/karabiner_20250902.json
new file mode 100644
index 0000000..014d5e4
--- /dev/null
+++ b/mac/.config/karabiner/automatic_backups/karabiner_20250902.json
@@ -0,0 +1,52 @@
+{
+ "profiles": [
+ {
+ "complex_modifications": {
+ "rules": [
+ {
+ "description": "R_ALT to switch input languages as it is in Windows (especially Korean)",
+ "manipulators": [
+ {
+ "from": { "key_code": "right_alt" },
+ "to": [
+ {
+ "key_code": "spacebar",
+ "lazy": true,
+ "modifiers": ["left_control", "left_alt"],
+ "repeat": false
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Tap Caps Lock for ESC or Hold for Control",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": { "optional": ["any"] }
+ },
+ "to": [
+ {
+ "key_code": "left_control",
+ "lazy": true
+ }
+ ],
+ "to_if_alone": [{ "key_code": "escape" }],
+ "type": "basic"
+ }
+ ]
+ }
+ ]
+ },
+ "name": "Default profile",
+ "selected": true,
+ "virtual_hid_keyboard": {
+ "country_code": 0,
+ "keyboard_type_v2": "ansi"
+ }
+ }
+ ]
+} \ No newline at end of file
diff --git a/mac/.config/karabiner/karabiner.json b/mac/.config/karabiner/karabiner.json
index 014d5e4..6fc3103 100644
--- a/mac/.config/karabiner/karabiner.json
+++ b/mac/.config/karabiner/karabiner.json
@@ -1,52 +1,86 @@
{
- "profiles": [
+ "profiles": [
+ {
+ "complex_modifications": {
+ "rules": [
+ {
+ "description": "R_ALT to switch input languages as it is in Windows (especially Korean)",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "right_alt"
+ },
+ "to": [
+ {
+ "key_code": "spacebar",
+ "lazy": true,
+ "modifiers": [
+ "left_control",
+ "left_alt"
+ ],
+ "repeat": false
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ },
+ {
+ "description": "Tap Caps Lock for ESC or Hold for Control",
+ "manipulators": [
+ {
+ "from": {
+ "key_code": "caps_lock",
+ "modifiers": {
+ "optional": [
+ "any"
+ ]
+ }
+ },
+ "to": [
+ {
+ "key_code": "left_control",
+ "lazy": true
+ }
+ ],
+ "to_if_alone": [
+ {
+ "key_code": "escape"
+ }
+ ],
+ "type": "basic"
+ }
+ ]
+ }
+ ]
+ },
+ "devices": [
{
- "complex_modifications": {
- "rules": [
- {
- "description": "R_ALT to switch input languages as it is in Windows (especially Korean)",
- "manipulators": [
- {
- "from": { "key_code": "right_alt" },
- "to": [
- {
- "key_code": "spacebar",
- "lazy": true,
- "modifiers": ["left_control", "left_alt"],
- "repeat": false
- }
- ],
- "type": "basic"
- }
- ]
- },
- {
- "description": "Tap Caps Lock for ESC or Hold for Control",
- "manipulators": [
- {
- "from": {
- "key_code": "caps_lock",
- "modifiers": { "optional": ["any"] }
- },
- "to": [
- {
- "key_code": "left_control",
- "lazy": true
- }
- ],
- "to_if_alone": [{ "key_code": "escape" }],
- "type": "basic"
- }
- ]
- }
- ]
- },
- "name": "Default profile",
- "selected": true,
- "virtual_hid_keyboard": {
- "country_code": 0,
- "keyboard_type_v2": "ansi"
- }
+ "identifiers": {
+ "is_pointing_device": true,
+ "product_id": 24585,
+ "vendor_id": 6127
+ },
+ "ignore": false,
+ "ignore_vendor_events": true,
+ "pointing_motion_wheels_multiplier": 3.0,
+ "pointing_motion_xy_multiplier": 5.0
+ },
+ {
+ "identifiers": {
+ "is_keyboard": true,
+ "product_id": 24585,
+ "vendor_id": 6127
+ },
+ "ignore_vendor_events": true
}
- ]
-} \ No newline at end of file
+ ],
+ "name": "Default profile",
+ "selected": true,
+ "virtual_hid_keyboard": {
+ "country_code": 0,
+ "keyboard_type_v2": "ansi"
+ }
+ }
+ ]
+}