Advertisement
Guest User

GMMK_Mac.json

a guest
May 24th, 2021
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.46 KB | None | 0 0
  1. {
  2.   "title": "GMMK Mac Layout: Swap left OS Key and left Alt; right Alt to Command and Application to Option",
  3.   "rules": [
  4.     {
  5.       "description": "Swap Left Alt to Left Command",
  6.       "manipulators": [
  7.         {
  8.          "conditions": [
  9.            {
  10.               "type": "device_if",
  11.               "identifiers": [
  12.                 {
  13.                   "vendor_id": 3141,
  14.                   "product_id": 25903,
  15.                   "description": "GMMK"
  16.                 }
  17.               ]
  18.            }
  19.          ],
  20.          "type": "basic",
  21.           "from": {
  22.             "key_code": "left_option",
  23.             "modifiers": {
  24.                 "optional": "any"
  25.             }
  26.           },
  27.           "to": [
  28.             {
  29.               "key_code": "left_command"
  30.             }
  31.           ]
  32.         }
  33.       ]
  34.     },
  35.     {
  36.       "description": "Swap Left Command to Left Command",
  37.       "manipulators": [
  38.         {
  39.          "conditions": [
  40.            {
  41.               "type": "device_if",
  42.               "identifiers": [
  43.                 {
  44.                   "vendor_id": 3141,
  45.                   "product_id": 25903,
  46.                   "description": "GMMK"
  47.                 }
  48.               ]
  49.            }
  50.          ],
  51.          "type": "basic",
  52.           "from": {
  53.             "key_code": "left_command",
  54.             "modifiers": {
  55.                 "optional": "any"
  56.             }
  57.           },
  58.           "to": [
  59.             {
  60.               "key_code": "left_option"
  61.             }
  62.           ]
  63.         }
  64.       ]
  65.     },
  66.     {
  67.       "description": "Swap Right Alt to Right Command",
  68.       "manipulators": [
  69.         {
  70.          "conditions": [
  71.            {
  72.               "type": "device_if",
  73.               "identifiers": [
  74.                 {
  75.                   "vendor_id": 3141,
  76.                   "product_id": 25903,
  77.                   "description": "GMMK"
  78.                 }
  79.               ]
  80.            }
  81.          ],
  82.          "type": "basic",
  83.           "from": {
  84.             "key_code": "right_option",
  85.             "modifiers": {
  86.                 "optional": "any"
  87.             }
  88.           },
  89.           "to": [
  90.             {
  91.               "key_code": "right_command"
  92.             }
  93.           ]
  94.         }
  95.       ]
  96.     },
  97.     {
  98.       "description": "Swap Right Application to Right Option",
  99.       "manipulators": [
  100.         {
  101.          "conditions": [
  102.            {
  103.               "type": "device_if",
  104.               "identifiers": [
  105.                 {
  106.                   "vendor_id": 3141,
  107.                   "product_id": 25903,
  108.                   "description": "GMMK"
  109.                 }
  110.               ]
  111.            }
  112.          ],
  113.          "type": "basic",
  114.           "from": {
  115.             "key_code": "application",
  116.             "modifiers": {
  117.                 "optional": "any"
  118.             }
  119.           },
  120.           "to": [
  121.             {
  122.               "key_code": "right_option"
  123.             }
  124.           ]
  125.         }
  126.       ]
  127.     }
  128.   ]
  129. }
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement