Advertisement
hnOsmium0001

example Actionale config

Apr 22nd, 2020
668
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.88 KB | None | 0 0
  1. {
  2.   "keymap_overrides": [
  3.     {
  4.       "name": "My Custom Keymap",
  5.       "combination": [
  6.         {
  7.           "keys": [
  8.             { "type": "keyboard", "keycode": "Ctrl" },
  9.             { "type": "keyboard", "keycode": "w" }
  10.           ]
  11.         },
  12.         {
  13.           "keys": [
  14.             { "type": "keyboard", "keycode": "c" }
  15.           ]
  16.         }
  17.       ],
  18.       "type": "#user_defined"
  19.     },
  20.     {
  21.       "name": "Leader test keymap",
  22.       "combination": [
  23.         {
  24.           "keys": [
  25.             { "type": "keyboard", "keycode": "Leader" },
  26.             { "type": "keyboard", "keycode": "n" },
  27.             { "type": "keyboard", "keycode": "o" },
  28.             { "type": "keyboard", "keycode": "h" }
  29.           ]
  30.         }
  31.       ],
  32.       "type": "#developer_defined"
  33.     },
  34.     {
  35.       "name": "Mouse test keymap",
  36.       "combination": [
  37.         {
  38.           "keys": [
  39.             { "type": "keyboard", "keycode": "LShift" },
  40.             { "type": "mouse", "keycode": "MouseLeft" }
  41.           ]
  42.         }
  43.       ],
  44.       "type": "#developer_defined"
  45.     },
  46.     {
  47.       "name": "Open inventory",
  48.       "combination": [
  49.         {
  50.           "keys": [
  51.             // Either string form or keycode form
  52.             { "type": 0, "keycode": 69 }
  53.           ]
  54.         }
  55.       ],
  56.       "type": "#autogenerated_migration"
  57.     },
  58.     {
  59.       "name": "Chisels & bits radial menu",
  60.       "combination": [
  61.         {
  62.           "keys": [
  63.             { "type": "keyboard", "keycode": "LAlt" }
  64.           ]
  65.         }
  66.       ],
  67.       "type": "#user_defined"
  68.     }
  69.   ],
  70.   "radial_menu_actions": [
  71.     {
  72.       "name": "Chisels & bits",
  73.       "triggers": [
  74.         "Chisels & bits radial menu"
  75.       ]
  76.     },
  77.     {
  78.       "name": "tan90",
  79.       "triggers": [
  80.         "My Custom Keymap",
  81.         "Leader test keymap",
  82.         "Mouse test keymap"
  83.       ]
  84.     }
  85.   ]
  86. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement