Guest User

Untitled

a guest
Apr 11th, 2025
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. {
  2. "description": "Mouse keys (full) (rev 4) - F13 Trigger (No extra modifier)",
  3. "manipulators": [
  4. {
  5. "description": "Activate Mouse Keys Mode with F13",
  6. "from": {
  7. "key_code": "f13",
  8. "modifiers": { "optional": ["any"] }
  9. },
  10. "to": [
  11. {
  12. "set_variable": {
  13. "name": "mouse_keys_full",
  14. "value": 1
  15. }
  16. }
  17. ],
  18. "to_after_key_up": [
  19. {
  20. "set_variable": {
  21. "name": "mouse_keys_full",
  22. "value": 0
  23. }
  24. },
  25. {
  26. "set_variable": {
  27. "name": "mouse_keys_full_scroll",
  28. "value": 0
  29. }
  30. }
  31. ],
  32. "type": "basic"
  33. },
  34. {
  35. "conditions": [
  36. {
  37. "name": "mouse_keys_full",
  38. "type": "variable_if",
  39. "value": 1
  40. },
  41. {
  42. "name": "mouse_keys_full_scroll",
  43. "type": "variable_if",
  44. "value": 1
  45. }
  46. ],
  47. "description": "Scroll Left (when F13 down and S down)",
  48. "from": { "key_code": "j" },
  49. "to": [{ "mouse_key": { "horizontal_wheel": 32 } }],
  50. "type": "basic"
  51. },
  52. {
  53. "conditions": [
  54. {
  55. "name": "mouse_keys_full",
  56. "type": "variable_if",
  57. "value": 1
  58. },
  59. {
  60. "name": "mouse_keys_full_scroll",
  61. "type": "variable_if",
  62. "value": 1
  63. }
  64. ],
  65. "description": "Scroll Down (when F13 down and S down)",
  66. "from": { "key_code": "k" },
  67. "to": [{ "mouse_key": { "vertical_wheel": 32 } }],
  68. "type": "basic"
  69. },
  70. {
  71. "conditions": [
  72. {
  73. "name": "mouse_keys_full",
  74. "type": "variable_if",
  75. "value": 1
  76. },
  77. {
  78. "name": "mouse_keys_full_scroll",
  79. "type": "variable_if",
  80. "value": 1
  81. }
  82. ],
  83. "description": "Scroll Up (when F13 down and S down)",
  84. "from": { "key_code": "i" },
  85. "to": [{ "mouse_key": { "vertical_wheel": -32 } }],
  86. "type": "basic"
  87. },
  88. {
  89. "conditions": [
  90. {
  91. "name": "mouse_keys_full",
  92. "type": "variable_if",
  93. "value": 1
  94. },
  95. {
  96. "name": "mouse_keys_full_scroll",
  97. "type": "variable_if",
  98. "value": 1
  99. }
  100. ],
  101. "description": "Scroll Right (when F13 down and S down)",
  102. "from": { "key_code": "l" },
  103. "to": [{ "mouse_key": { "horizontal_wheel": -32 } }],
  104. "type": "basic"
  105. },
  106. {
  107. "conditions": [
  108. {
  109. "name": "mouse_keys_full",
  110. "type": "variable_if",
  111. "value": 1
  112. }
  113. ],
  114. "description": "Move Left (when F13 down)",
  115. "from": { "key_code": "j" },
  116. "to": [{ "mouse_key": { "x": -1536 } }],
  117. "type": "basic"
  118. },
  119. {
  120. "conditions": [
  121. {
  122. "name": "mouse_keys_full",
  123. "type": "variable_if",
  124. "value": 1
  125. }
  126. ],
  127. "description": "Move Down (when F13 down)",
  128. "from": { "key_code": "k" },
  129. "to": [{ "mouse_key": { "y": 1536 } }],
  130. "type": "basic"
  131. },
  132. {
  133. "conditions": [
  134. {
  135. "name": "mouse_keys_full",
  136. "type": "variable_if",
  137. "value": 1
  138. }
  139. ],
  140. "description": "Move Up (when F13 down)",
  141. "from": { "key_code": "i" },
  142. "to": [{ "mouse_key": { "y": -1536 } }],
  143. "type": "basic"
  144. },
  145. {
  146. "conditions": [
  147. {
  148. "name": "mouse_keys_full",
  149. "type": "variable_if",
  150. "value": 1
  151. }
  152. ],
  153. "description": "Move Right (when F13 down)",
  154. "from": { "key_code": "l" },
  155. "to": [{ "mouse_key": { "x": 1536 } }],
  156. "type": "basic"
  157. },
  158. {
  159. "conditions": [
  160. {
  161. "name": "mouse_keys_full",
  162. "type": "variable_if",
  163. "value": 1
  164. }
  165. ],
  166. "description": "Left Click (when F13 down)",
  167. "from": { "key_code": "h" },
  168. "to": [{ "pointing_button": "button1" }],
  169. "type": "basic"
  170. },
  171. {
  172. "conditions": [
  173. {
  174. "name": "mouse_keys_full",
  175. "type": "variable_if",
  176. "value": 1
  177. }
  178. ],
  179. "description": "Left Click (when F13 down)",
  180. "from": { "key_code": "a" },
  181. "to": [{ "pointing_button": "button1" }],
  182. "type": "basic"
  183. },
  184. {
  185. "conditions": [
  186. {
  187. "name": "mouse_keys_full",
  188. "type": "variable_if",
  189. "value": 1
  190. }
  191. ],
  192. "description": "Button 3 Click (often Right Click) (when F13 down)",
  193. "from": { "key_code": "comma" },
  194. "to": [{ "pointing_button": "button3" }],
  195. "type": "basic"
  196. },
  197. {
  198. "conditions": [
  199. {
  200. "name": "mouse_keys_full",
  201. "type": "variable_if",
  202. "value": 1
  203. }
  204. ],
  205. "description": "Right Click (when F13 down)",
  206. "from": { "key_code": "semicolon" },
  207. "to": [{ "pointing_button": "button2" }],
  208. "type": "basic"
  209. },
  210. {
  211. "conditions": [
  212. {
  213. "name": "mouse_keys_full",
  214. "type": "variable_if",
  215. "value": 1
  216. }
  217. ],
  218. "description": "Increase Speed (when F13 down)",
  219. "from": { "key_code": "f" },
  220. "to": [{ "mouse_key": { "speed_multiplier": 2 } }],
  221. "type": "basic"
  222. },
  223. {
  224. "conditions": [
  225. {
  226. "name": "mouse_keys_full",
  227. "type": "variable_if",
  228. "value": 1
  229. }
  230. ],
  231. "description": "Decrease Speed (when F13 down)",
  232. "from": { "key_code": "d" },
  233. "to": [{ "mouse_key": { "speed_multiplier": 0.5 } }],
  234. "type": "basic"
  235. },
  236. {
  237. "conditions": [
  238. {
  239. "name": "mouse_keys_full",
  240. "type": "variable_if",
  241. "value": 1
  242. }
  243. ],
  244. "description": "Activate Scroll Mode (Hold S when F13 down)",
  245. "from": { "key_code": "s" },
  246. "to": [
  247. {
  248. "set_variable": {
  249. "name": "mouse_keys_full_scroll",
  250. "value": 1
  251. }
  252. }
  253. ],
  254. "to_after_key_up": [
  255. {
  256. "set_variable": {
  257. "name": "mouse_keys_full_scroll",
  258. "value": 0
  259. }
  260. }
  261. ],
  262. "type": "basic"
  263. }
  264. ]
  265. }
Advertisement
Add Comment
Please, Sign In to add comment