Advertisement
Guest User

DropEntr.json

a guest
Oct 15th, 2021
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 10.99 KB | None | 0 0
  1. {
  2.   "title": "DropEntr Mac Layout: Native F1-F12, swap left OS key and left Alt, right alt, application, remap Prt Sc, Scroll Lock, Pause",
  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": 28694,
  15.                   "description": "DropEntr"
  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 Option (Alt) to Left Command",
  37.       "manipulators": [
  38.         {
  39.          "conditions": [
  40.            {
  41.               "type": "device_if",
  42.               "identifiers": [
  43.                 {
  44.                   "vendor_id": 3141,
  45.                   "product_id": 28694,
  46.                   "description": "DropEntr"
  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": 28694,
  77.                   "description": "DropEntr"
  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": 28694,
  108.                   "description": "DropEntr"
  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.       "description": "Enable F1",
  131.       "manipulators": [
  132.         {
  133.          "conditions": [
  134.            {
  135.               "type": "device_if",
  136.               "identifiers": [
  137.                 {
  138.                   "vendor_id": 3141,
  139.                   "product_id": 28694,
  140.                   "description": "DropEntr"
  141.                 }
  142.               ]
  143.            }
  144.          ],
  145.          "type": "basic",
  146.           "from": {
  147.             "key_code": "display_brightness_decrement",
  148.             "modifiers": {
  149.                 "optional": "any"
  150.             }
  151.           },
  152.           "to": [
  153.             {
  154.               "key_code": "f1"
  155.             }
  156.           ]
  157.         }
  158.       ]
  159.     },
  160.     {
  161.       "description": "Enable F2",
  162.       "manipulators": [
  163.         {
  164.          "conditions": [
  165.            {
  166.               "type": "device_if",
  167.               "identifiers": [
  168.                 {
  169.                   "vendor_id": 3141,
  170.                   "product_id": 28694,
  171.                   "description": "DropEntr"
  172.                 }
  173.               ]
  174.            }
  175.          ],
  176.          "type": "basic",
  177.           "from": {
  178.             "key_code": "display_brightness_increment",
  179.             "modifiers": {
  180.                 "optional": "any"
  181.             }
  182.           },
  183.           "to": [
  184.             {
  185.               "key_code": "f2"
  186.             }
  187.           ]
  188.         }
  189.       ]
  190.     },
  191.     {
  192.       "description": "Enable F3",
  193.       "manipulators": [
  194.         {
  195.          "conditions": [
  196.            {
  197.               "type": "device_if",
  198.               "identifiers": [
  199.                 {
  200.                   "vendor_id": 3141,
  201.                   "product_id": 28694,
  202.                   "description": "DropEntr"
  203.                 }
  204.               ]
  205.            }
  206.          ],
  207.          "type": "basic",
  208.           "from": {
  209.             "key_code": "mission_control",
  210.             "modifiers": {
  211.                 "optional": "any"
  212.             }
  213.           },
  214.           "to": [
  215.             {
  216.               "key_code": "f3"
  217.             }
  218.           ]
  219.         }
  220.       ]
  221.     },
  222.     {
  223.       "description": "Enable F4",
  224.       "manipulators": [
  225.         {
  226.          "conditions": [
  227.            {
  228.               "type": "device_if",
  229.               "identifiers": [
  230.                 {
  231.                   "vendor_id": 3141,
  232.                   "product_id": 28694,
  233.                   "description": "DropEntr"
  234.                 }
  235.               ]
  236.            }
  237.          ],
  238.          "type": "basic",
  239.           "from": {
  240.             "key_code": "launchpad",
  241.             "modifiers": {
  242.                 "optional": "any"
  243.             }
  244.           },
  245.           "to": [
  246.             {
  247.               "key_code": "f4"
  248.             }
  249.           ]
  250.         }
  251.       ]
  252.     },
  253.  
  254.     {
  255.       "description": "Enable F5",
  256.       "manipulators": [
  257.         {
  258.          "conditions": [
  259.            {
  260.               "type": "device_if",
  261.               "identifiers": [
  262.                 {
  263.                   "vendor_id": 3141,
  264.                   "product_id": 28694,
  265.                   "description": "DropEntr"
  266.                 }
  267.               ]
  268.            }
  269.          ],
  270.          "type": "basic",
  271.           "from": {
  272.             "key_code": "illumination_decrement",
  273.             "modifiers": {
  274.                 "optional": "any"
  275.             }
  276.           },
  277.           "to": [
  278.             {
  279.               "key_code": "f5"
  280.             }
  281.           ]
  282.         }
  283.       ]
  284.     },
  285.     {
  286.       "description": "Enable F6",
  287.       "manipulators": [
  288.         {
  289.          "conditions": [
  290.            {
  291.               "type": "device_if",
  292.               "identifiers": [
  293.                 {
  294.                   "vendor_id": 3141,
  295.                   "product_id": 28694,
  296.                   "description": "DropEntr"
  297.                 }
  298.               ]
  299.            }
  300.          ],
  301.          "type": "basic",
  302.           "from": {
  303.             "key_code": "illumination_increment",
  304.             "modifiers": {
  305.                 "optional": "any"
  306.             }
  307.           },
  308.           "to": [
  309.             {
  310.               "key_code": "f6"
  311.             }
  312.           ]
  313.         }
  314.       ]
  315.     },
  316.     {
  317.       "description": "Enable F7",
  318.       "manipulators": [
  319.         {
  320.          "conditions": [
  321.            {
  322.               "type": "device_if",
  323.               "identifiers": [
  324.                 {
  325.                   "vendor_id": 3141,
  326.                   "product_id": 28694,
  327.                   "description": "DropEntr"
  328.                 }
  329.               ]
  330.            }
  331.          ],
  332.          "type": "basic",
  333.           "from": {
  334.             "key_code": "rewind",
  335.             "modifiers": {
  336.                 "optional": "any"
  337.             }
  338.           },
  339.           "to": [
  340.             {
  341.               "key_code": "f7"
  342.             }
  343.           ]
  344.         }
  345.       ]
  346.     },
  347.     {
  348.       "description": "Enable F8",
  349.       "manipulators": [
  350.         {
  351.          "conditions": [
  352.            {
  353.               "type": "device_if",
  354.               "identifiers": [
  355.                 {
  356.                   "vendor_id": 3141,
  357.                   "product_id": 28694,
  358.                   "description": "DropEntr"
  359.                 }
  360.               ]
  361.            }
  362.          ],
  363.          "type": "basic",
  364.           "from": {
  365.             "key_code": "play_or_pause",
  366.             "modifiers": {
  367.                 "optional": "any"
  368.             }
  369.           },
  370.           "to": [
  371.             {
  372.               "key_code": "f8"
  373.             }
  374.           ]
  375.         }
  376.       ]
  377.     },
  378.  
  379.     {
  380.       "description": "Enable F9",
  381.       "manipulators": [
  382.         {
  383.          "conditions": [
  384.            {
  385.               "type": "device_if",
  386.               "identifiers": [
  387.                 {
  388.                   "vendor_id": 3141,
  389.                   "product_id": 28694,
  390.                   "description": "DropEntr"
  391.                 }
  392.               ]
  393.            }
  394.          ],
  395.          "type": "basic",
  396.           "from": {
  397.             "key_code": "fast_forward",
  398.             "modifiers": {
  399.                 "optional": "any"
  400.             }
  401.           },
  402.           "to": [
  403.             {
  404.               "key_code": "f9"
  405.             }
  406.           ]
  407.         }
  408.       ]
  409.     },
  410.     {
  411.       "description": "Enable F10",
  412.       "manipulators": [
  413.         {
  414.          "conditions": [
  415.            {
  416.               "type": "device_if",
  417.               "identifiers": [
  418.                 {
  419.                   "vendor_id": 3141,
  420.                   "product_id": 28694,
  421.                   "description": "DropEntr"
  422.                 }
  423.               ]
  424.            }
  425.          ],
  426.          "type": "basic",
  427.           "from": {
  428.             "key_code": "mute",
  429.             "modifiers": {
  430.                 "optional": "any"
  431.             }
  432.           },
  433.           "to": [
  434.             {
  435.               "key_code": "f10"
  436.             }
  437.           ]
  438.         }
  439.       ]
  440.     },
  441.     {
  442.       "description": "Enable F11",
  443.       "manipulators": [
  444.         {
  445.          "conditions": [
  446.            {
  447.               "type": "device_if",
  448.               "identifiers": [
  449.                 {
  450.                   "vendor_id": 3141,
  451.                   "product_id": 28694,
  452.                   "description": "DropEntr"
  453.                 }
  454.               ]
  455.            }
  456.          ],
  457.          "type": "basic",
  458.           "from": {
  459.             "key_code": "volume_decrement",
  460.             "modifiers": {
  461.                 "optional": "any"
  462.             }
  463.           },
  464.           "to": [
  465.             {
  466.               "key_code": "f11"
  467.             }
  468.           ]
  469.         }
  470.       ]
  471.     },
  472.     {
  473.       "description": "Enable F12",
  474.       "manipulators": [
  475.         {
  476.          "conditions": [
  477.            {
  478.               "type": "device_if",
  479.               "identifiers": [
  480.                 {
  481.                   "vendor_id": 3141,
  482.                   "product_id": 28694,
  483.                   "description": "DropEntr"
  484.                 }
  485.               ]
  486.            }
  487.          ],
  488.          "type": "basic",
  489.           "from": {
  490.             "key_code": "volume_increment",
  491.             "modifiers": {
  492.                 "optional": "any"
  493.             }
  494.           },
  495.           "to": [
  496.             {
  497.               "key_code": "f12"
  498.             }
  499.           ]
  500.         }
  501.       ]
  502.     },
  503.  
  504.     {
  505.       "description": "Make Prt Sc = volume_decrement",
  506.       "manipulators": [
  507.         {
  508.          "conditions": [
  509.            {
  510.               "type": "device_if",
  511.               "identifiers": [
  512.                 {
  513.                   "vendor_id": 3141,
  514.                   "product_id": 28694,
  515.                   "description": "DropEntr"
  516.                 }
  517.               ]
  518.            }
  519.          ],
  520.          "type": "basic",
  521.           "from": {
  522.             "key_code": "print_screen",
  523.             "modifiers": {
  524.                 "optional": "any"
  525.             }
  526.           },
  527.           "to": [
  528.             {
  529.               "key_code": "volume_decrement"
  530.             }
  531.           ]
  532.         }
  533.       ]
  534.     },
  535.     {
  536.       "description": "Make Scroll Lock = volume_increment",
  537.       "manipulators": [
  538.         {
  539.          "conditions": [
  540.            {
  541.               "type": "device_if",
  542.               "identifiers": [
  543.                 {
  544.                   "vendor_id": 3141,
  545.                   "product_id": 28694,
  546.                   "description": "DropEntr"
  547.                 }
  548.               ]
  549.            }
  550.          ],
  551.          "type": "basic",
  552.           "from": {
  553.             "key_code": "scroll_lock",
  554.             "modifiers": {
  555.                 "optional": "any"
  556.             }
  557.           },
  558.           "to": [
  559.             {
  560.               "key_code": "volume_increment"
  561.             }
  562.           ]
  563.         }
  564.       ]
  565.     },
  566.     {
  567.       "description": "Make Pause = play_or_pause",
  568.       "manipulators": [
  569.         {
  570.          "conditions": [
  571.            {
  572.               "type": "device_if",
  573.               "identifiers": [
  574.                 {
  575.                   "vendor_id": 3141,
  576.                   "product_id": 28694,
  577.                   "description": "DropEntr"
  578.                 }
  579.               ]
  580.            }
  581.          ],
  582.          "type": "basic",
  583.           "from": {
  584.             "key_code": "pause",
  585.             "modifiers": {
  586.                 "optional": "any"
  587.             }
  588.           },
  589.           "to": [
  590.             {
  591.               "key_code": "play_or_pause"
  592.             }
  593.           ]
  594.         }
  595.       ]
  596.     }
  597.  
  598.   ]
  599. }
  600.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement