⠀.PY 66KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278
  1. keyconfig_version = (3, 2, 14)
  2. keyconfig_data = \
  3. [("3D View",
  4. {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  5. {"items":
  6. [("wm.call_menu",
  7. {"type": 'Q', "value": 'PRESS', "shift": True},
  8. {"properties":
  9. [("name", 'VIEW3D_MT_Coat_Dynamic_Menu'),
  10. ],
  11. },
  12. ),
  13. ("view3d.cursor3d", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
  14. ("transform.translate",
  15. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True},
  16. {"properties":
  17. [("cursor_transform", True),
  18. ("release_confirm", True),
  19. ],
  20. },
  21. ),
  22. ("view3d.localview", {"type": 'NUMPAD_SLASH', "value": 'PRESS'}, None),
  23. ("view3d.localview", {"type": 'SLASH', "value": 'PRESS'}, None),
  24. ("view3d.localview", {"type": 'MOUSESMARTZOOM', "value": 'ANY'}, None),
  25. ("view3d.localview_remove_from", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "alt": True}, None),
  26. ("view3d.localview_remove_from", {"type": 'SLASH', "value": 'PRESS', "alt": True}, None),
  27. ("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
  28. ("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None),
  29. ("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
  30. ("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
  31. ("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'ANY', "ctrl": True}, None),
  32. ("view3d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
  33. ("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None),
  34. ("view3d.view_selected",
  35. {"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True},
  36. {"properties":
  37. [("use_all_regions", True),
  38. ],
  39. },
  40. ),
  41. ("view3d.view_selected",
  42. {"type": 'NUMPAD_PERIOD', "value": 'PRESS'},
  43. {"properties":
  44. [("use_all_regions", False),
  45. ],
  46. },
  47. ),
  48. ("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
  49. ("view3d.zoom",
  50. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True},
  51. {"properties":
  52. [("delta", 1),
  53. ],
  54. },
  55. ),
  56. ("view3d.zoom",
  57. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True},
  58. {"properties":
  59. [("delta", -1),
  60. ],
  61. },
  62. ),
  63. ("view3d.zoom",
  64. {"type": 'EQUAL', "value": 'PRESS', "repeat": True},
  65. {"properties":
  66. [("delta", 1),
  67. ],
  68. },
  69. ),
  70. ("view3d.zoom",
  71. {"type": 'MINUS', "value": 'PRESS', "repeat": True},
  72. {"properties":
  73. [("delta", -1),
  74. ],
  75. },
  76. ),
  77. ("view3d.zoom",
  78. {"type": 'WHEELINMOUSE', "value": 'PRESS'},
  79. {"properties":
  80. [("delta", 1),
  81. ],
  82. },
  83. ),
  84. ("view3d.zoom",
  85. {"type": 'WHEELOUTMOUSE', "value": 'PRESS'},
  86. {"properties":
  87. [("delta", -1),
  88. ],
  89. },
  90. ),
  91. ("view3d.dolly",
  92. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "repeat": True},
  93. {"properties":
  94. [("delta", 1),
  95. ],
  96. },
  97. ),
  98. ("view3d.dolly",
  99. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "repeat": True},
  100. {"properties":
  101. [("delta", -1),
  102. ],
  103. },
  104. ),
  105. ("view3d.dolly",
  106. {"type": 'EQUAL', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  107. {"properties":
  108. [("delta", 1),
  109. ],
  110. },
  111. ),
  112. ("view3d.dolly",
  113. {"type": 'MINUS', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  114. {"properties":
  115. [("delta", -1),
  116. ],
  117. },
  118. ),
  119. ("view3d.view_center_camera", {"type": 'HOME', "value": 'PRESS'}, None),
  120. ("view3d.view_center_lock", {"type": 'HOME', "value": 'PRESS'}, None),
  121. ("view3d.view_all",
  122. {"type": 'HOME', "value": 'PRESS'},
  123. {"properties":
  124. [("center", False),
  125. ],
  126. },
  127. ),
  128. ("view3d.view_all",
  129. {"type": 'HOME', "value": 'PRESS', "ctrl": True},
  130. {"properties":
  131. [("use_all_regions", True),
  132. ("center", False),
  133. ],
  134. },
  135. ),
  136. ("view3d.view_all",
  137. {"type": 'C', "value": 'PRESS', "shift": True},
  138. {"properties":
  139. [("center", True),
  140. ],
  141. },
  142. ),
  143. ("wm.call_menu_pie",
  144. {"type": 'ACCENT_GRAVE', "value": 'PRESS'},
  145. {"properties":
  146. [("name", 'VIEW3D_MT_view_pie'),
  147. ],
  148. },
  149. ),
  150. ("view3d.navigate", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "shift": True}, None),
  151. ("view3d.view_camera", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
  152. ("view3d.view_axis",
  153. {"type": 'NUMPAD_1', "value": 'PRESS'},
  154. {"properties":
  155. [("type", 'FRONT'),
  156. ],
  157. },
  158. ),
  159. ("view3d.view_orbit",
  160. {"type": 'NUMPAD_2', "value": 'PRESS', "repeat": True},
  161. {"properties":
  162. [("type", 'ORBITUP'),
  163. ],
  164. },
  165. ),
  166. ("view3d.view_axis",
  167. {"type": 'NUMPAD_3', "value": 'PRESS'},
  168. {"properties":
  169. [("type", 'RIGHT'),
  170. ],
  171. },
  172. ),
  173. ("view3d.view_orbit",
  174. {"type": 'NUMPAD_4', "value": 'PRESS', "repeat": True},
  175. {"properties":
  176. [("type", 'ORBITRIGHT'),
  177. ],
  178. },
  179. ),
  180. ("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None),
  181. ("view3d.view_axis",
  182. {"type": 'NUMPAD_7', "value": 'PRESS'},
  183. {"properties":
  184. [("type", 'TOP'),
  185. ],
  186. },
  187. ),
  188. ("view3d.view_orbit",
  189. {"type": 'NUMPAD_8', "value": 'PRESS', "repeat": True},
  190. {"properties":
  191. [("type", 'ORBITDOWN'),
  192. ],
  193. },
  194. ),
  195. ("view3d.view_axis",
  196. {"type": 'NUMPAD_1', "value": 'PRESS', "ctrl": True},
  197. {"properties":
  198. [("type", 'BACK'),
  199. ],
  200. },
  201. ),
  202. ("view3d.view_axis",
  203. {"type": 'NUMPAD_3', "value": 'PRESS', "ctrl": True},
  204. {"properties":
  205. [("type", 'LEFT'),
  206. ],
  207. },
  208. ),
  209. ("view3d.view_axis",
  210. {"type": 'NUMPAD_7', "value": 'PRESS', "ctrl": True},
  211. {"properties":
  212. [("type", 'BOTTOM'),
  213. ],
  214. },
  215. ),
  216. ("view3d.view_roll",
  217. {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True, "repeat": True},
  218. {"properties":
  219. [("type", 'LEFT'),
  220. ],
  221. },
  222. ),
  223. ("view3d.view_roll",
  224. {"type": 'NUMPAD_6', "value": 'PRESS', "shift": True, "repeat": True},
  225. {"properties":
  226. [("type", 'RIGHT'),
  227. ],
  228. },
  229. ),
  230. ("view3d.view_orbit",
  231. {"type": 'NUMPAD_9', "value": 'PRESS'},
  232. {"properties":
  233. [("angle", 3.1415927),
  234. ("type", 'ORBITRIGHT'),
  235. ],
  236. },
  237. ),
  238. ("view3d.view_axis",
  239. {"type": 'NUMPAD_1', "value": 'PRESS', "shift": True},
  240. {"properties":
  241. [("type", 'FRONT'),
  242. ("align_active", True),
  243. ],
  244. },
  245. ),
  246. ("view3d.view_axis",
  247. {"type": 'NUMPAD_3', "value": 'PRESS', "shift": True},
  248. {"properties":
  249. [("type", 'RIGHT'),
  250. ("align_active", True),
  251. ],
  252. },
  253. ),
  254. ("view3d.view_axis",
  255. {"type": 'NUMPAD_7', "value": 'PRESS', "shift": True},
  256. {"properties":
  257. [("type", 'TOP'),
  258. ("align_active", True),
  259. ],
  260. },
  261. ),
  262. ("view3d.view_axis",
  263. {"type": 'NUMPAD_1', "value": 'PRESS', "shift": True, "ctrl": True},
  264. {"properties":
  265. [("type", 'BACK'),
  266. ("align_active", True),
  267. ],
  268. },
  269. ),
  270. ("view3d.view_axis",
  271. {"type": 'NUMPAD_3', "value": 'PRESS', "shift": True, "ctrl": True},
  272. {"properties":
  273. [("type", 'LEFT'),
  274. ("align_active", True),
  275. ],
  276. },
  277. ),
  278. ("view3d.view_axis",
  279. {"type": 'NUMPAD_7', "value": 'PRESS', "shift": True, "ctrl": True},
  280. {"properties":
  281. [("type", 'BOTTOM'),
  282. ("align_active", True),
  283. ],
  284. },
  285. ),
  286. ("view3d.view_axis",
  287. {"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'NORTH'},
  288. {"properties":
  289. [("type", 'TOP'),
  290. ("relative", True),
  291. ],
  292. },
  293. ),
  294. ("view3d.view_axis",
  295. {"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'SOUTH'},
  296. {"properties":
  297. [("type", 'BOTTOM'),
  298. ("relative", True),
  299. ],
  300. },
  301. ),
  302. ("view3d.view_axis",
  303. {"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'EAST'},
  304. {"properties":
  305. [("type", 'RIGHT'),
  306. ("relative", True),
  307. ],
  308. },
  309. ),
  310. ("view3d.view_axis",
  311. {"type": 'MIDDLEMOUSE', "value": 'CLICK_DRAG', "alt": True, "direction": 'WEST'},
  312. {"properties":
  313. [("type", 'LEFT'),
  314. ("relative", True),
  315. ],
  316. },
  317. ),
  318. ("view3d.view_center_pick", {"type": 'MIDDLEMOUSE', "value": 'CLICK', "alt": True}, None),
  319. ("view3d.ndof_orbit_zoom", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
  320. ("view3d.ndof_orbit", {"type": 'NDOF_MOTION', "value": 'ANY', "ctrl": True}, None),
  321. ("view3d.ndof_pan", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True}, None),
  322. ("view3d.ndof_all", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True, "ctrl": True}, None),
  323. ("view3d.view_selected",
  324. {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'},
  325. {"properties":
  326. [("use_all_regions", False),
  327. ],
  328. },
  329. ),
  330. ("view3d.view_roll",
  331. {"type": 'NDOF_BUTTON_ROLL_CW', "value": 'PRESS'},
  332. {"properties":
  333. [("angle", 1.5707964),
  334. ],
  335. },
  336. ),
  337. ("view3d.view_roll",
  338. {"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
  339. {"properties":
  340. [("angle", -1.5707964),
  341. ],
  342. },
  343. ),
  344. ("view3d.view_axis",
  345. {"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS'},
  346. {"properties":
  347. [("type", 'FRONT'),
  348. ],
  349. },
  350. ),
  351. ("view3d.view_axis",
  352. {"type": 'NDOF_BUTTON_BACK', "value": 'PRESS'},
  353. {"properties":
  354. [("type", 'BACK'),
  355. ],
  356. },
  357. ),
  358. ("view3d.view_axis",
  359. {"type": 'NDOF_BUTTON_LEFT', "value": 'PRESS'},
  360. {"properties":
  361. [("type", 'LEFT'),
  362. ],
  363. },
  364. ),
  365. ("view3d.view_axis",
  366. {"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS'},
  367. {"properties":
  368. [("type", 'RIGHT'),
  369. ],
  370. },
  371. ),
  372. ("view3d.view_axis",
  373. {"type": 'NDOF_BUTTON_TOP', "value": 'PRESS'},
  374. {"properties":
  375. [("type", 'TOP'),
  376. ],
  377. },
  378. ),
  379. ("view3d.view_axis",
  380. {"type": 'NDOF_BUTTON_BOTTOM', "value": 'PRESS'},
  381. {"properties":
  382. [("type", 'BOTTOM'),
  383. ],
  384. },
  385. ),
  386. ("view3d.view_axis",
  387. {"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS', "shift": True},
  388. {"properties":
  389. [("type", 'FRONT'),
  390. ("align_active", True),
  391. ],
  392. },
  393. ),
  394. ("view3d.view_axis",
  395. {"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS', "shift": True},
  396. {"properties":
  397. [("type", 'RIGHT'),
  398. ("align_active", True),
  399. ],
  400. },
  401. ),
  402. ("view3d.view_axis",
  403. {"type": 'NDOF_BUTTON_TOP', "value": 'PRESS', "shift": True},
  404. {"properties":
  405. [("type", 'TOP'),
  406. ("align_active", True),
  407. ],
  408. },
  409. ),
  410. ("view3d.select",
  411. {"type": 'LEFTMOUSE', "value": 'CLICK'},
  412. {"properties":
  413. [("deselect_all", True),
  414. ],
  415. },
  416. ),
  417. ("view3d.select",
  418. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
  419. {"properties":
  420. [("toggle", True),
  421. ],
  422. },
  423. ),
  424. ("view3d.select",
  425. {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
  426. {"properties":
  427. [("center", True),
  428. ("object", True),
  429. ],
  430. },
  431. ),
  432. ("view3d.select",
  433. {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
  434. {"properties":
  435. [("enumerate", True),
  436. ],
  437. },
  438. ),
  439. ("view3d.select",
  440. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
  441. {"properties":
  442. [("toggle", True),
  443. ("center", True),
  444. ],
  445. },
  446. ),
  447. ("view3d.select",
  448. {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
  449. {"properties":
  450. [("center", True),
  451. ("enumerate", True),
  452. ],
  453. },
  454. ),
  455. ("view3d.select",
  456. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
  457. {"properties":
  458. [("toggle", True),
  459. ("enumerate", True),
  460. ],
  461. },
  462. ),
  463. ("view3d.select",
  464. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
  465. {"properties":
  466. [("toggle", True),
  467. ("center", True),
  468. ("enumerate", True),
  469. ],
  470. },
  471. ),
  472. ("view3d.select_box", {"type": 'B', "value": 'PRESS'}, None),
  473. ("view3d.select_lasso",
  474. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "ctrl": True},
  475. {"properties":
  476. [("mode", 'ADD'),
  477. ],
  478. },
  479. ),
  480. ("view3d.select_lasso",
  481. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True, "ctrl": True},
  482. {"properties":
  483. [("mode", 'SUB'),
  484. ],
  485. },
  486. ),
  487. ("view3d.select_circle", {"type": 'C', "value": 'PRESS'}, None),
  488. ("view3d.clip_border", {"type": 'B', "value": 'PRESS', "alt": True}, None),
  489. ("view3d.zoom_border", {"type": 'B', "value": 'PRESS', "shift": True}, None),
  490. ("view3d.render_border", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
  491. ("view3d.clear_render_border", {"type": 'B', "value": 'PRESS', "ctrl": True, "alt": True}, None),
  492. ("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None),
  493. ("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None),
  494. ("view3d.copybuffer", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
  495. ("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
  496. ("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
  497. ("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
  498. ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
  499. ("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
  500. ("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None),
  501. ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
  502. ("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None),
  503. ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
  504. ("object.transform_axis_target", {"type": 'T', "value": 'PRESS', "shift": True}, None),
  505. ("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
  506. ("wm.context_toggle",
  507. {"type": 'TAB', "value": 'PRESS', "shift": True},
  508. {"properties":
  509. [("data_path", 'tool_settings.use_snap'),
  510. ],
  511. },
  512. ),
  513. ("wm.call_panel",
  514. {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
  515. {"properties":
  516. [("name", 'VIEW3D_PT_snapping'),
  517. ("keep_open", True),
  518. ],
  519. },
  520. ),
  521. ("wm.call_menu_pie",
  522. {"type": 'S', "value": 'PRESS', "shift": True},
  523. {"properties":
  524. [("name", 'VIEW3D_MT_snap_pie'),
  525. ],
  526. },
  527. ),
  528. ("wm.context_toggle",
  529. {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True},
  530. {"properties":
  531. [("data_path", 'space_data.show_gizmo'),
  532. ],
  533. },
  534. ),
  535. ("wm.call_menu_pie",
  536. {"type": 'PERIOD', "value": 'PRESS'},
  537. {"properties":
  538. [("name", 'VIEW3D_MT_pivot_pie'),
  539. ],
  540. },
  541. ),
  542. ("wm.call_menu_pie",
  543. {"type": 'COMMA', "value": 'PRESS'},
  544. {"properties":
  545. [("name", 'VIEW3D_MT_orientations_pie'),
  546. ],
  547. },
  548. ),
  549. ("wm.call_menu_pie",
  550. {"type": 'Z', "value": 'PRESS'},
  551. {"properties":
  552. [("name", 'VIEW3D_MT_shading_ex_pie'),
  553. ],
  554. },
  555. ),
  556. ("view3d.toggle_shading",
  557. {"type": 'Z', "value": 'PRESS', "shift": True},
  558. {"properties":
  559. [("type", 'WIREFRAME'),
  560. ],
  561. },
  562. ),
  563. ("view3d.toggle_xray", {"type": 'Z', "value": 'PRESS', "alt": True}, None),
  564. ("wm.context_toggle",
  565. {"type": 'Z', "value": 'PRESS', "shift": True, "alt": True},
  566. {"properties":
  567. [("data_path", 'space_data.overlay.show_overlays'),
  568. ],
  569. },
  570. ),
  571. ("wm.tool_set_by_id",
  572. {"type": 'W', "value": 'PRESS'},
  573. {"properties":
  574. [("name", 'builtin.select_box'),
  575. ("cycle", True),
  576. ],
  577. },
  578. ),
  579. ("view3d.view_pan",
  580. {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True, "repeat": True},
  581. {"properties":
  582. [("type", 'PANLEFT'),
  583. ],
  584. },
  585. ),
  586. ("view3d.view_pan",
  587. {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True, "repeat": True},
  588. {"properties":
  589. [("type", 'PANDOWN'),
  590. ],
  591. },
  592. ),
  593. ("view3d.view_pan",
  594. {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True, "repeat": True},
  595. {"properties":
  596. [("type", 'PANUP'),
  597. ],
  598. },
  599. ),
  600. ("view3d.view_pan",
  601. {"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True, "repeat": True},
  602. {"properties":
  603. [("type", 'PANRIGHT'),
  604. ],
  605. },
  606. ),
  607. ("view3d.view_orbit",
  608. {"type": 'NUMPAD_6', "value": 'PRESS', "repeat": True},
  609. {"properties":
  610. [("type", 'ORBITLEFT'),
  611. ],
  612. },
  613. ),
  614. ],
  615. },
  616. ),
  617. ("Clip Editor",
  618. {"space_type": 'CLIP_EDITOR', "region_type": 'WINDOW'},
  619. {"items":
  620. [("clip.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
  621. ("clip.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
  622. ("clip.view_pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
  623. ("clip.view_zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
  624. ("clip.view_zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
  625. ("clip.view_zoom", {"type": 'MIDDLEMOUSE', "value": 'ANY', "shift": True}, None),
  626. ("clip.view_zoom_in", {"type": 'WHEELINMOUSE', "value": 'PRESS'}, None),
  627. ("clip.view_zoom_out", {"type": 'WHEELOUTMOUSE', "value": 'PRESS'}, None),
  628. ("clip.view_zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True}, None),
  629. ("clip.view_zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True}, None),
  630. ("clip.view_zoom_ratio",
  631. {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
  632. {"properties":
  633. [("ratio", 8.0),
  634. ],
  635. },
  636. ),
  637. ("clip.view_zoom_ratio",
  638. {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
  639. {"properties":
  640. [("ratio", 4.0),
  641. ],
  642. },
  643. ),
  644. ("clip.view_zoom_ratio",
  645. {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
  646. {"properties":
  647. [("ratio", 2.0),
  648. ],
  649. },
  650. ),
  651. ("clip.view_zoom_ratio",
  652. {"type": 'NUMPAD_8', "value": 'PRESS', "shift": True},
  653. {"properties":
  654. [("ratio", 8.0),
  655. ],
  656. },
  657. ),
  658. ("clip.view_zoom_ratio",
  659. {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
  660. {"properties":
  661. [("ratio", 4.0),
  662. ],
  663. },
  664. ),
  665. ("clip.view_zoom_ratio",
  666. {"type": 'NUMPAD_2', "value": 'PRESS', "shift": True},
  667. {"properties":
  668. [("ratio", 2.0),
  669. ],
  670. },
  671. ),
  672. ("clip.view_zoom_ratio",
  673. {"type": 'NUMPAD_1', "value": 'PRESS'},
  674. {"properties":
  675. [("ratio", 1.0),
  676. ],
  677. },
  678. ),
  679. ("clip.view_zoom_ratio",
  680. {"type": 'NUMPAD_2', "value": 'PRESS'},
  681. {"properties":
  682. [("ratio", 0.5),
  683. ],
  684. },
  685. ),
  686. ("clip.view_zoom_ratio",
  687. {"type": 'NUMPAD_4', "value": 'PRESS'},
  688. {"properties":
  689. [("ratio", 0.25),
  690. ],
  691. },
  692. ),
  693. ("clip.view_zoom_ratio",
  694. {"type": 'NUMPAD_8', "value": 'PRESS'},
  695. {"properties":
  696. [("ratio", 0.125),
  697. ],
  698. },
  699. ),
  700. ("clip.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
  701. ("clip.view_all",
  702. {"type": 'F', "value": 'PRESS'},
  703. {"properties":
  704. [("fit_view", True),
  705. ],
  706. },
  707. ),
  708. ("clip.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
  709. ("clip.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
  710. ("clip.view_ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
  711. ("clip.frame_jump",
  712. {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  713. {"properties":
  714. [("position", 'PATHSTART'),
  715. ],
  716. },
  717. ),
  718. ("clip.frame_jump",
  719. {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  720. {"properties":
  721. [("position", 'PATHEND'),
  722. ],
  723. },
  724. ),
  725. ("clip.frame_jump",
  726. {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "alt": True, "repeat": True},
  727. {"properties":
  728. [("position", 'FAILEDPREV'),
  729. ],
  730. },
  731. ),
  732. ("clip.frame_jump",
  733. {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "alt": True, "repeat": True},
  734. {"properties":
  735. [("position", 'PATHSTART'),
  736. ],
  737. },
  738. ),
  739. ("clip.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  740. ("clip.select",
  741. {"type": 'LEFTMOUSE', "value": 'PRESS'},
  742. {"properties":
  743. [("deselect_all", True),
  744. ],
  745. },
  746. ),
  747. ("clip.select",
  748. {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
  749. {"properties":
  750. [("extend", True),
  751. ],
  752. },
  753. ),
  754. ("clip.select_all",
  755. {"type": 'A', "value": 'PRESS'},
  756. {"properties":
  757. [("action", 'SELECT'),
  758. ],
  759. },
  760. ),
  761. ("clip.select_all",
  762. {"type": 'A', "value": 'PRESS', "alt": True},
  763. {"properties":
  764. [("action", 'DESELECT'),
  765. ],
  766. },
  767. ),
  768. ("clip.select_all",
  769. {"type": 'I', "value": 'PRESS', "ctrl": True},
  770. {"properties":
  771. [("action", 'INVERT'),
  772. ],
  773. },
  774. ),
  775. ("clip.select_all",
  776. {"type": 'A', "value": 'DOUBLE_CLICK'},
  777. {"properties":
  778. [("action", 'DESELECT'),
  779. ],
  780. },
  781. ),
  782. ("clip.select_box", {"type": 'B', "value": 'PRESS'}, None),
  783. ("clip.select_circle", {"type": 'C', "value": 'PRESS'}, None),
  784. ("wm.call_menu",
  785. {"type": 'G', "value": 'PRESS', "shift": True},
  786. {"properties":
  787. [("name", 'CLIP_MT_select_grouped'),
  788. ],
  789. },
  790. ),
  791. ("clip.select_lasso",
  792. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "ctrl": True, "alt": True},
  793. {"properties":
  794. [("mode", 'ADD'),
  795. ],
  796. },
  797. ),
  798. ("clip.select_lasso",
  799. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True, "ctrl": True, "alt": True},
  800. {"properties":
  801. [("mode", 'SUB'),
  802. ],
  803. },
  804. ),
  805. ("clip.add_marker_slide", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
  806. ("clip.delete_marker", {"type": 'X', "value": 'PRESS', "shift": True}, None),
  807. ("clip.delete_marker", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
  808. ("clip.slide_marker", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  809. ("clip.disable_markers",
  810. {"type": 'D', "value": 'PRESS', "shift": True},
  811. {"properties":
  812. [("action", 'TOGGLE'),
  813. ],
  814. },
  815. ),
  816. ("clip.delete_track", {"type": 'X', "value": 'PRESS'}, None),
  817. ("clip.delete_track", {"type": 'DEL', "value": 'PRESS'}, None),
  818. ("clip.lock_tracks",
  819. {"type": 'L', "value": 'PRESS', "ctrl": True},
  820. {"properties":
  821. [("action", 'LOCK'),
  822. ],
  823. },
  824. ),
  825. ("clip.lock_tracks",
  826. {"type": 'L', "value": 'PRESS', "alt": True},
  827. {"properties":
  828. [("action", 'UNLOCK'),
  829. ],
  830. },
  831. ),
  832. ("clip.hide_tracks_clear", {"type": 'H', "value": 'PRESS', "alt": True}, None),
  833. ("clip.hide_tracks",
  834. {"type": 'H', "value": 'PRESS'},
  835. {"properties":
  836. [("unselected", False),
  837. ],
  838. },
  839. ),
  840. ("clip.hide_tracks",
  841. {"type": 'H', "value": 'PRESS', "shift": True},
  842. {"properties":
  843. [("unselected", True),
  844. ],
  845. },
  846. ),
  847. ("clip.slide_plane_marker", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
  848. ("clip.keyframe_insert", {"type": 'I', "value": 'PRESS'}, None),
  849. ("clip.keyframe_delete", {"type": 'I', "value": 'PRESS', "alt": True}, None),
  850. ("clip.join_tracks", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
  851. ("clip.lock_selection_toggle", {"type": 'L', "value": 'PRESS'}, None),
  852. ("wm.context_toggle",
  853. {"type": 'D', "value": 'PRESS', "alt": True},
  854. {"properties":
  855. [("data_path", 'space_data.show_disabled'),
  856. ],
  857. },
  858. ),
  859. ("wm.context_toggle",
  860. {"type": 'S', "value": 'PRESS', "alt": True},
  861. {"properties":
  862. [("data_path", 'space_data.show_marker_search'),
  863. ],
  864. },
  865. ),
  866. ("wm.context_toggle",
  867. {"type": 'M', "value": 'PRESS'},
  868. {"properties":
  869. [("data_path", 'space_data.use_mute_footage'),
  870. ],
  871. },
  872. ),
  873. ("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
  874. ("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
  875. ("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
  876. ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
  877. ("clip.clear_track_path",
  878. {"type": 'T', "value": 'PRESS', "alt": True},
  879. {"properties":
  880. [("action", 'REMAINED'),
  881. ("clear_active", False),
  882. ],
  883. },
  884. ),
  885. ("clip.clear_track_path",
  886. {"type": 'T', "value": 'PRESS', "shift": True},
  887. {"properties":
  888. [("action", 'UPTO'),
  889. ("clear_active", False),
  890. ],
  891. },
  892. ),
  893. ("clip.clear_track_path",
  894. {"type": 'T', "value": 'PRESS', "shift": True, "alt": True},
  895. {"properties":
  896. [("action", 'ALL'),
  897. ("clear_active", False),
  898. ],
  899. },
  900. ),
  901. ("clip.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
  902. ("clip.copy_tracks", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
  903. ("clip.paste_tracks", {"type": 'V', "value": 'PRESS', "ctrl": True}, None),
  904. ("wm.call_menu",
  905. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  906. {"properties":
  907. [("name", 'CLIP_MT_tracking_context_menu'),
  908. ],
  909. },
  910. ),
  911. ("wm.call_menu",
  912. {"type": 'APP', "value": 'PRESS'},
  913. {"properties":
  914. [("name", 'CLIP_MT_tracking_context_menu'),
  915. ],
  916. },
  917. ),
  918. ("wm.call_menu_pie",
  919. {"type": 'PERIOD', "value": 'PRESS'},
  920. {"properties":
  921. [("name", 'CLIP_MT_pivot_pie'),
  922. ],
  923. },
  924. ),
  925. ],
  926. },
  927. ),
  928. ("File Browser",
  929. {"space_type": 'FILE_BROWSER', "region_type": 'WINDOW'},
  930. {"items":
  931. [("wm.context_toggle",
  932. {"type": 'T', "value": 'PRESS'},
  933. {"properties":
  934. [("data_path", 'space_data.show_region_toolbar'),
  935. ],
  936. },
  937. ),
  938. ("wm.context_toggle",
  939. {"type": 'N', "value": 'PRESS'},
  940. {"properties":
  941. [("data_path", 'space_data.show_region_tool_props'),
  942. ],
  943. },
  944. ),
  945. ("file.parent", {"type": 'UP_ARROW', "value": 'PRESS', "alt": True}, None),
  946. ("file.previous", {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True}, None),
  947. ("file.next", {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True}, None),
  948. ("file.refresh", {"type": 'R', "value": 'PRESS'}, None),
  949. ("asset.library_refresh", {"type": 'R', "value": 'PRESS'}, None),
  950. ("file.parent", {"type": 'P', "value": 'PRESS'}, None),
  951. ("file.previous", {"type": 'BACK_SPACE', "value": 'PRESS'}, None),
  952. ("file.next", {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True}, None),
  953. ("wm.context_toggle",
  954. {"type": 'H', "value": 'PRESS'},
  955. {"properties":
  956. [("data_path", 'space_data.params.show_hidden'),
  957. ],
  958. },
  959. ),
  960. ("file.directory_new",
  961. {"type": 'I', "value": 'PRESS'},
  962. {"properties":
  963. [("confirm", False),
  964. ],
  965. },
  966. ),
  967. ("file.rename", {"type": 'F2', "value": 'PRESS'}, None),
  968. ("file.delete", {"type": 'X', "value": 'PRESS'}, None),
  969. ("file.delete", {"type": 'DEL', "value": 'PRESS'}, None),
  970. ("file.smoothscroll",
  971. {"type": 'TIMER1', "value": 'ANY', "any": True},
  972. { "active":False,
  973. },
  974. ),
  975. ("file.bookmark_add", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
  976. ("file.start_filter", {"type": 'F', "value": 'PRESS', "ctrl": True}, None),
  977. ("file.filenum",
  978. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True},
  979. {"properties":
  980. [("increment", 1),
  981. ],
  982. },
  983. ),
  984. ("file.filenum",
  985. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "repeat": True},
  986. {"properties":
  987. [("increment", 10),
  988. ],
  989. },
  990. ),
  991. ("file.filenum",
  992. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True, "repeat": True},
  993. {"properties":
  994. [("increment", 100),
  995. ],
  996. },
  997. ),
  998. ("file.filenum",
  999. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True},
  1000. {"properties":
  1001. [("increment", -1),
  1002. ],
  1003. },
  1004. ),
  1005. ("file.filenum",
  1006. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "repeat": True},
  1007. {"properties":
  1008. [("increment", -10),
  1009. ],
  1010. },
  1011. ),
  1012. ("file.filenum",
  1013. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True, "repeat": True},
  1014. {"properties":
  1015. [("increment", -100),
  1016. ],
  1017. },
  1018. ),
  1019. ("file.select",
  1020. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  1021. {"properties":
  1022. [("open", False),
  1023. ("only_activate_if_selected", True),
  1024. ("pass_through", True),
  1025. ],
  1026. },
  1027. ),
  1028. ("wm.call_menu",
  1029. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  1030. {"properties":
  1031. [("name", 'FILEBROWSER_MT_context_menu'),
  1032. ],
  1033. },
  1034. ),
  1035. ("wm.call_menu",
  1036. {"type": 'APP', "value": 'PRESS'},
  1037. {"properties":
  1038. [("name", 'FILEBROWSER_MT_context_menu'),
  1039. ],
  1040. },
  1041. ),
  1042. ],
  1043. },
  1044. ),
  1045. ("Frames",
  1046. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  1047. {"items":
  1048. [("screen.frame_jump",
  1049. {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1050. {"properties":
  1051. [("end", True),
  1052. ],
  1053. },
  1054. ),
  1055. ("screen.frame_jump",
  1056. {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1057. {"properties":
  1058. [("end", False),
  1059. ],
  1060. },
  1061. ),
  1062. ("screen.keyframe_jump",
  1063. {"type": 'MEDIA_LAST', "value": 'PRESS'},
  1064. {"properties":
  1065. [("next", True),
  1066. ],
  1067. },
  1068. ),
  1069. ("screen.keyframe_jump",
  1070. {"type": 'MEDIA_FIRST', "value": 'PRESS'},
  1071. {"properties":
  1072. [("next", False),
  1073. ],
  1074. },
  1075. ),
  1076. ("screen.frame_offset",
  1077. {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "alt": True},
  1078. {"properties":
  1079. [("delta", 1),
  1080. ],
  1081. },
  1082. ),
  1083. ("screen.frame_offset",
  1084. {"type": 'WHEELUPMOUSE', "value": 'PRESS', "alt": True},
  1085. {"properties":
  1086. [("delta", -1),
  1087. ],
  1088. },
  1089. ),
  1090. ("screen.animation_play", {"type": 'SPACE', "value": 'PRESS', "shift": True}, None),
  1091. ("screen.animation_play",
  1092. {"type": 'SPACE', "value": 'PRESS', "shift": True, "ctrl": True},
  1093. {"properties":
  1094. [("reverse", True),
  1095. ],
  1096. },
  1097. ),
  1098. ("screen.animation_cancel", {"type": 'ESC', "value": 'PRESS'}, None),
  1099. ("screen.animation_play", {"type": 'MEDIA_PLAY', "value": 'PRESS'}, None),
  1100. ("screen.animation_cancel", {"type": 'MEDIA_STOP', "value": 'PRESS'}, None),
  1101. ],
  1102. },
  1103. ),
  1104. ("Grease Pencil Stroke Sculpt (Twist)",
  1105. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  1106. {"items":
  1107. [("gpencil.sculpt_paint",
  1108. {"type": 'LEFTMOUSE', "value": 'PRESS'},
  1109. {"properties":
  1110. [("wait_for_input", False),
  1111. ],
  1112. },
  1113. ),
  1114. ("gpencil.sculpt_paint",
  1115. {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
  1116. {"properties":
  1117. [("wait_for_input", False),
  1118. ],
  1119. },
  1120. ),
  1121. ],
  1122. },
  1123. ),
  1124. ("Image",
  1125. {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  1126. {"items":
  1127. [("image.view_all",
  1128. {"type": 'F', "value": 'PRESS', "repeat": True},
  1129. {"properties":
  1130. [("fit_view", True),
  1131. ],
  1132. },
  1133. ),
  1134. ("image.view_all",
  1135. {"type": 'HOME', "value": 'PRESS', "shift": True},
  1136. {"properties":
  1137. [("fit_view", True),
  1138. ],
  1139. },
  1140. ),
  1141. ("image.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
  1142. ("image.view_cursor_center", {"type": 'C', "value": 'PRESS', "shift": True}, None),
  1143. ("image.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
  1144. ("image.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
  1145. ("image.view_pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
  1146. ("image.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
  1147. ("image.view_ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
  1148. ("image.view_zoom_in", {"type": 'WHEELINMOUSE', "value": 'PRESS'}, None),
  1149. ("image.view_zoom_out", {"type": 'WHEELOUTMOUSE', "value": 'PRESS'}, None),
  1150. ("image.view_zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True}, None),
  1151. ("image.view_zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True}, None),
  1152. ("image.view_zoom", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
  1153. ("image.view_zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
  1154. ("image.view_zoom", {"type": 'MIDDLEMOUSE', "value": 'ANY', "shift": True}, None),
  1155. ("image.view_zoom_border", {"type": 'B', "value": 'PRESS', "shift": True}, None),
  1156. ("image.view_zoom_ratio",
  1157. {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
  1158. {"properties":
  1159. [("ratio", 8.0),
  1160. ],
  1161. },
  1162. ),
  1163. ("image.view_zoom_ratio",
  1164. {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
  1165. {"properties":
  1166. [("ratio", 4.0),
  1167. ],
  1168. },
  1169. ),
  1170. ("image.view_zoom_ratio",
  1171. {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
  1172. {"properties":
  1173. [("ratio", 2.0),
  1174. ],
  1175. },
  1176. ),
  1177. ("image.view_zoom_ratio",
  1178. {"type": 'NUMPAD_8', "value": 'PRESS', "shift": True},
  1179. {"properties":
  1180. [("ratio", 8.0),
  1181. ],
  1182. },
  1183. ),
  1184. ("image.view_zoom_ratio",
  1185. {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
  1186. {"properties":
  1187. [("ratio", 4.0),
  1188. ],
  1189. },
  1190. ),
  1191. ("image.view_zoom_ratio",
  1192. {"type": 'NUMPAD_2', "value": 'PRESS', "shift": True},
  1193. {"properties":
  1194. [("ratio", 2.0),
  1195. ],
  1196. },
  1197. ),
  1198. ("image.view_zoom_ratio",
  1199. {"type": 'NUMPAD_1', "value": 'PRESS'},
  1200. {"properties":
  1201. [("ratio", 1.0),
  1202. ],
  1203. },
  1204. ),
  1205. ("image.view_zoom_ratio",
  1206. {"type": 'NUMPAD_2', "value": 'PRESS'},
  1207. {"properties":
  1208. [("ratio", 0.5),
  1209. ],
  1210. },
  1211. ),
  1212. ("image.view_zoom_ratio",
  1213. {"type": 'NUMPAD_4', "value": 'PRESS'},
  1214. {"properties":
  1215. [("ratio", 0.25),
  1216. ],
  1217. },
  1218. ),
  1219. ("image.view_zoom_ratio",
  1220. {"type": 'NUMPAD_8', "value": 'PRESS'},
  1221. {"properties":
  1222. [("ratio", 0.125),
  1223. ],
  1224. },
  1225. ),
  1226. ("image.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  1227. ("image.sample", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
  1228. ("image.curves_point_set",
  1229. {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
  1230. {"properties":
  1231. [("point", 'BLACK_POINT'),
  1232. ],
  1233. },
  1234. ),
  1235. ("image.curves_point_set",
  1236. {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
  1237. {"properties":
  1238. [("point", 'WHITE_POINT'),
  1239. ],
  1240. },
  1241. ),
  1242. ("object.mode_set",
  1243. {"type": 'TAB', "value": 'PRESS', "repeat": True},
  1244. {"properties":
  1245. [("mode", 'EDIT'),
  1246. ("toggle", True),
  1247. ],
  1248. "active":False,
  1249. },
  1250. ),
  1251. ("wm.context_set_int",
  1252. {"type": 'ONE', "value": 'PRESS'},
  1253. {"properties":
  1254. [("data_path", 'space_data.image.render_slots.active_index'),
  1255. ("value", 0),
  1256. ],
  1257. },
  1258. ),
  1259. ("wm.context_set_int",
  1260. {"type": 'TWO', "value": 'PRESS'},
  1261. {"properties":
  1262. [("data_path", 'space_data.image.render_slots.active_index'),
  1263. ("value", 1),
  1264. ],
  1265. },
  1266. ),
  1267. ("wm.context_set_int",
  1268. {"type": 'THREE', "value": 'PRESS'},
  1269. {"properties":
  1270. [("data_path", 'space_data.image.render_slots.active_index'),
  1271. ("value", 2),
  1272. ],
  1273. },
  1274. ),
  1275. ("wm.context_set_int",
  1276. {"type": 'FOUR', "value": 'PRESS'},
  1277. {"properties":
  1278. [("data_path", 'space_data.image.render_slots.active_index'),
  1279. ("value", 3),
  1280. ],
  1281. },
  1282. ),
  1283. ("wm.context_set_int",
  1284. {"type": 'FIVE', "value": 'PRESS'},
  1285. {"properties":
  1286. [("data_path", 'space_data.image.render_slots.active_index'),
  1287. ("value", 4),
  1288. ],
  1289. },
  1290. ),
  1291. ("wm.context_set_int",
  1292. {"type": 'SIX', "value": 'PRESS'},
  1293. {"properties":
  1294. [("data_path", 'space_data.image.render_slots.active_index'),
  1295. ("value", 5),
  1296. ],
  1297. },
  1298. ),
  1299. ("wm.context_set_int",
  1300. {"type": 'SEVEN', "value": 'PRESS'},
  1301. {"properties":
  1302. [("data_path", 'space_data.image.render_slots.active_index'),
  1303. ("value", 6),
  1304. ],
  1305. },
  1306. ),
  1307. ("wm.context_set_int",
  1308. {"type": 'EIGHT', "value": 'PRESS'},
  1309. {"properties":
  1310. [("data_path", 'space_data.image.render_slots.active_index'),
  1311. ("value", 7),
  1312. ],
  1313. },
  1314. ),
  1315. ("wm.context_set_int",
  1316. {"type": 'NINE', "value": 'PRESS'},
  1317. {"properties":
  1318. [("data_path", 'space_data.image.render_slots.active_index'),
  1319. ("value", 8),
  1320. ],
  1321. },
  1322. ),
  1323. ("image.render_border", {"type": 'B', "value": 'PRESS', "ctrl": True}, None),
  1324. ("image.clear_render_border", {"type": 'B', "value": 'PRESS', "ctrl": True, "alt": True}, None),
  1325. ("wm.call_menu",
  1326. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  1327. {"properties":
  1328. [("name", 'IMAGE_MT_mask_context_menu'),
  1329. ],
  1330. },
  1331. ),
  1332. ("wm.call_menu",
  1333. {"type": 'APP', "value": 'PRESS'},
  1334. {"properties":
  1335. [("name", 'IMAGE_MT_mask_context_menu'),
  1336. ],
  1337. },
  1338. ),
  1339. ("wm.call_menu_pie",
  1340. {"type": 'PERIOD', "value": 'PRESS'},
  1341. {"properties":
  1342. [("name", 'IMAGE_MT_pivot_pie'),
  1343. ],
  1344. },
  1345. ),
  1346. ],
  1347. },
  1348. ),
  1349. ("NLA Generic",
  1350. {"space_type": 'NLA_EDITOR', "region_type": 'WINDOW'},
  1351. {"items":
  1352. [("wm.context_toggle",
  1353. {"type": 'N', "value": 'PRESS'},
  1354. {"properties":
  1355. [("data_path", 'space_data.show_region_ui'),
  1356. ],
  1357. },
  1358. ),
  1359. ("nla.tweakmode_enter",
  1360. {"type": 'TAB', "value": 'PRESS'},
  1361. {"properties":
  1362. [("use_upper_stack_evaluation", False),
  1363. ],
  1364. },
  1365. ),
  1366. ("nla.tweakmode_exit",
  1367. {"type": 'TAB', "value": 'PRESS', "repeat": True},
  1368. { "active":False,
  1369. },
  1370. ),
  1371. ("nla.tweakmode_enter",
  1372. {"type": 'TAB', "value": 'PRESS', "shift": True, "repeat": True},
  1373. {"properties":
  1374. [("isolate_action", True),
  1375. ],
  1376. "active":False,
  1377. },
  1378. ),
  1379. ("nla.tweakmode_exit",
  1380. {"type": 'TAB', "value": 'PRESS', "shift": True, "repeat": True},
  1381. {"properties":
  1382. [("isolate_action", True),
  1383. ],
  1384. "active":False,
  1385. },
  1386. ),
  1387. ("anim.channels_select_filter", {"type": 'F', "value": 'PRESS', "ctrl": True}, None),
  1388. ],
  1389. },
  1390. ),
  1391. ("Object Non-modal",
  1392. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  1393. {"items":
  1394. [("object.transfer_mode", {"type": 'Q', "value": 'PRESS', "alt": True}, None),
  1395. ("object.mode_set",
  1396. {"type": 'ACCENT_GRAVE', "value": 'PRESS', "repeat": True},
  1397. {"properties":
  1398. [("mode", 'EDIT'),
  1399. ("toggle", True),
  1400. ],
  1401. },
  1402. ),
  1403. ("wm.call_menu_pie",
  1404. {"type": 'ACCENT_GRAVE', "value": 'PRESS', "alt": True},
  1405. {"properties":
  1406. [("name", 'VIEW3D_MT_object_mode_pie'),
  1407. ],
  1408. },
  1409. ),
  1410. ],
  1411. },
  1412. ),
  1413. ("Screen",
  1414. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  1415. {"items":
  1416. [("screen.animation_step", {"type": 'TIMER0', "value": 'ANY', "any": True}, None),
  1417. ("screen.region_blend", {"type": 'TIMERREGION', "value": 'ANY', "any": True}, None),
  1418. ("screen.space_context_cycle",
  1419. {"type": 'TAB', "value": 'PRESS', "ctrl": True},
  1420. {"properties":
  1421. [("direction", 'NEXT'),
  1422. ],
  1423. },
  1424. ),
  1425. ("screen.space_context_cycle",
  1426. {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
  1427. {"properties":
  1428. [("direction", 'PREV'),
  1429. ],
  1430. },
  1431. ),
  1432. ("screen.workspace_cycle",
  1433. {"type": 'PAGE_DOWN', "value": 'PRESS', "ctrl": True},
  1434. {"properties":
  1435. [("direction", 'NEXT'),
  1436. ],
  1437. },
  1438. ),
  1439. ("screen.workspace_cycle",
  1440. {"type": 'PAGE_UP', "value": 'PRESS', "ctrl": True},
  1441. {"properties":
  1442. [("direction", 'PREV'),
  1443. ],
  1444. },
  1445. ),
  1446. ("screen.region_quadview", {"type": 'Q', "value": 'PRESS', "ctrl": True, "alt": True}, None),
  1447. ("screen.repeat_last", {"type": 'R', "value": 'PRESS', "shift": True, "repeat": True}, None),
  1448. ("file.execute", {"type": 'RET', "value": 'PRESS'}, None),
  1449. ("file.execute", {"type": 'NUMPAD_ENTER', "value": 'PRESS'}, None),
  1450. ("file.cancel", {"type": 'ESC', "value": 'PRESS'}, None),
  1451. ("asset.catalog_undo", {"type": 'Z', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  1452. ("asset.catalog_redo", {"type": 'Z', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True}, None),
  1453. ("ed.undo", {"type": 'Z', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  1454. ("ed.redo", {"type": 'Z', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True}, None),
  1455. ("render.render",
  1456. {"type": 'F12', "value": 'PRESS', "alt": True},
  1457. {"properties":
  1458. [("use_viewport", True),
  1459. ],
  1460. },
  1461. ),
  1462. ("render.render",
  1463. {"type": 'F12', "value": 'PRESS', "ctrl": True},
  1464. {"properties":
  1465. [("animation", True),
  1466. ("use_viewport", True),
  1467. ],
  1468. },
  1469. ),
  1470. ("render.view_cancel", {"type": 'ESC', "value": 'PRESS'}, None),
  1471. ("render.view_show", {"type": 'F11', "value": 'PRESS'}, None),
  1472. ("render.play_rendered_anim", {"type": 'F11', "value": 'PRESS', "ctrl": True}, None),
  1473. ("screen.screen_full_area", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, None),
  1474. ("screen.screen_full_area",
  1475. {"type": 'SPACE', "value": 'PRESS', "ctrl": True, "alt": True},
  1476. {"properties":
  1477. [("use_hide_panels", True),
  1478. ],
  1479. },
  1480. ),
  1481. ("screen.redo_last", {"type": 'F9', "value": 'PRESS'}, None),
  1482. ("render.opengl", {"type": 'F12', "value": 'PRESS', "repeat": True}, None),
  1483. ],
  1484. },
  1485. ),
  1486. ("Text",
  1487. {"space_type": 'TEXT_EDITOR', "region_type": 'WINDOW'},
  1488. {"items":
  1489. [("wm.context_cycle_int",
  1490. {"type": 'WHEELUPMOUSE', "value": 'PRESS', "ctrl": True},
  1491. {"properties":
  1492. [("data_path", 'space_data.font_size'),
  1493. ("reverse", False),
  1494. ],
  1495. },
  1496. ),
  1497. ("wm.context_cycle_int",
  1498. {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "ctrl": True},
  1499. {"properties":
  1500. [("data_path", 'space_data.font_size'),
  1501. ("reverse", True),
  1502. ],
  1503. },
  1504. ),
  1505. ("wm.context_cycle_int",
  1506. {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True, "repeat": True},
  1507. {"properties":
  1508. [("data_path", 'space_data.font_size'),
  1509. ("reverse", False),
  1510. ],
  1511. },
  1512. ),
  1513. ("wm.context_cycle_int",
  1514. {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True, "repeat": True},
  1515. {"properties":
  1516. [("data_path", 'space_data.font_size'),
  1517. ("reverse", True),
  1518. ],
  1519. },
  1520. ),
  1521. ("text.new", {"type": 'N', "value": 'PRESS', "alt": True}, None),
  1522. ("text.open", {"type": 'O', "value": 'PRESS', "alt": True}, None),
  1523. ("text.reload", {"type": 'R', "value": 'PRESS', "alt": True}, None),
  1524. ("text.save", {"type": 'S', "value": 'PRESS', "alt": True}, None),
  1525. ("text.save_as", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
  1526. ("text.run_script", {"type": 'P', "value": 'PRESS', "alt": True}, None),
  1527. ("text.cut", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
  1528. ("text.copy", {"type": 'C', "value": 'PRESS', "ctrl": True}, None),
  1529. ("text.paste", {"type": 'V', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  1530. ("text.cut", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
  1531. ("text.copy", {"type": 'INSERT', "value": 'PRESS', "ctrl": True}, None),
  1532. ("text.paste", {"type": 'INSERT', "value": 'PRESS', "shift": True, "repeat": True}, None),
  1533. ("text.duplicate_line", {"type": 'D', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  1534. ("text.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
  1535. ("text.select_line", {"type": 'A', "value": 'PRESS', "shift": True, "ctrl": True}, None),
  1536. ("text.select_word", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
  1537. ("text.move_lines",
  1538. {"type": 'UP_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  1539. {"properties":
  1540. [("direction", 'UP'),
  1541. ],
  1542. },
  1543. ),
  1544. ("text.move_lines",
  1545. {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  1546. {"properties":
  1547. [("direction", 'DOWN'),
  1548. ],
  1549. },
  1550. ),
  1551. ("text.indent_or_autocomplete", {"type": 'TAB', "value": 'PRESS', "repeat": True}, None),
  1552. ("text.unindent", {"type": 'TAB', "value": 'PRESS', "shift": True, "repeat": True}, None),
  1553. ("text.comment_toggle", {"type": 'SLASH', "value": 'PRESS', "ctrl": True}, None),
  1554. ("text.move",
  1555. {"type": 'HOME', "value": 'PRESS'},
  1556. {"properties":
  1557. [("type", 'LINE_BEGIN'),
  1558. ],
  1559. },
  1560. ),
  1561. ("text.move",
  1562. {"type": 'END', "value": 'PRESS'},
  1563. {"properties":
  1564. [("type", 'LINE_END'),
  1565. ],
  1566. },
  1567. ),
  1568. ("text.move",
  1569. {"type": 'E', "value": 'PRESS', "ctrl": True},
  1570. {"properties":
  1571. [("type", 'LINE_END'),
  1572. ],
  1573. },
  1574. ),
  1575. ("text.move",
  1576. {"type": 'E', "value": 'PRESS', "shift": True, "ctrl": True},
  1577. {"properties":
  1578. [("type", 'LINE_END'),
  1579. ],
  1580. },
  1581. ),
  1582. ("text.move",
  1583. {"type": 'LEFT_ARROW', "value": 'PRESS', "repeat": True},
  1584. {"properties":
  1585. [("type", 'PREVIOUS_CHARACTER'),
  1586. ],
  1587. },
  1588. ),
  1589. ("text.move",
  1590. {"type": 'RIGHT_ARROW', "value": 'PRESS', "repeat": True},
  1591. {"properties":
  1592. [("type", 'NEXT_CHARACTER'),
  1593. ],
  1594. },
  1595. ),
  1596. ("text.move",
  1597. {"type": 'LEFT_ARROW', "value": 'PRESS', "ctrl": True, "repeat": True},
  1598. {"properties":
  1599. [("type", 'PREVIOUS_WORD'),
  1600. ],
  1601. },
  1602. ),
  1603. ("text.move",
  1604. {"type": 'RIGHT_ARROW', "value": 'PRESS', "ctrl": True, "repeat": True},
  1605. {"properties":
  1606. [("type", 'NEXT_WORD'),
  1607. ],
  1608. },
  1609. ),
  1610. ("text.move",
  1611. {"type": 'UP_ARROW', "value": 'PRESS', "repeat": True},
  1612. {"properties":
  1613. [("type", 'PREVIOUS_LINE'),
  1614. ],
  1615. },
  1616. ),
  1617. ("text.move",
  1618. {"type": 'DOWN_ARROW', "value": 'PRESS', "repeat": True},
  1619. {"properties":
  1620. [("type", 'NEXT_LINE'),
  1621. ],
  1622. },
  1623. ),
  1624. ("text.move",
  1625. {"type": 'PAGE_UP', "value": 'PRESS', "repeat": True},
  1626. {"properties":
  1627. [("type", 'PREVIOUS_PAGE'),
  1628. ],
  1629. },
  1630. ),
  1631. ("text.move",
  1632. {"type": 'PAGE_DOWN', "value": 'PRESS', "repeat": True},
  1633. {"properties":
  1634. [("type", 'NEXT_PAGE'),
  1635. ],
  1636. },
  1637. ),
  1638. ("text.move",
  1639. {"type": 'HOME', "value": 'PRESS', "ctrl": True},
  1640. {"properties":
  1641. [("type", 'FILE_TOP'),
  1642. ],
  1643. },
  1644. ),
  1645. ("text.move",
  1646. {"type": 'END', "value": 'PRESS', "ctrl": True},
  1647. {"properties":
  1648. [("type", 'FILE_BOTTOM'),
  1649. ],
  1650. },
  1651. ),
  1652. ("text.move_select",
  1653. {"type": 'HOME', "value": 'PRESS', "shift": True},
  1654. {"properties":
  1655. [("type", 'LINE_BEGIN'),
  1656. ],
  1657. },
  1658. ),
  1659. ("text.move_select",
  1660. {"type": 'END', "value": 'PRESS', "shift": True},
  1661. {"properties":
  1662. [("type", 'LINE_END'),
  1663. ],
  1664. },
  1665. ),
  1666. ("text.move_select",
  1667. {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1668. {"properties":
  1669. [("type", 'PREVIOUS_CHARACTER'),
  1670. ],
  1671. },
  1672. ),
  1673. ("text.move_select",
  1674. {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1675. {"properties":
  1676. [("type", 'NEXT_CHARACTER'),
  1677. ],
  1678. },
  1679. ),
  1680. ("text.move_select",
  1681. {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  1682. {"properties":
  1683. [("type", 'PREVIOUS_WORD'),
  1684. ],
  1685. },
  1686. ),
  1687. ("text.move_select",
  1688. {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True, "repeat": True},
  1689. {"properties":
  1690. [("type", 'NEXT_WORD'),
  1691. ],
  1692. },
  1693. ),
  1694. ("text.move_select",
  1695. {"type": 'UP_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1696. {"properties":
  1697. [("type", 'PREVIOUS_LINE'),
  1698. ],
  1699. },
  1700. ),
  1701. ("text.move_select",
  1702. {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True, "repeat": True},
  1703. {"properties":
  1704. [("type", 'NEXT_LINE'),
  1705. ],
  1706. },
  1707. ),
  1708. ("text.move_select",
  1709. {"type": 'PAGE_UP', "value": 'PRESS', "shift": True, "repeat": True},
  1710. {"properties":
  1711. [("type", 'PREVIOUS_PAGE'),
  1712. ],
  1713. },
  1714. ),
  1715. ("text.move_select",
  1716. {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True, "repeat": True},
  1717. {"properties":
  1718. [("type", 'NEXT_PAGE'),
  1719. ],
  1720. },
  1721. ),
  1722. ("text.move_select",
  1723. {"type": 'HOME', "value": 'PRESS', "shift": True, "ctrl": True},
  1724. {"properties":
  1725. [("type", 'FILE_TOP'),
  1726. ],
  1727. },
  1728. ),
  1729. ("text.move_select",
  1730. {"type": 'END', "value": 'PRESS', "shift": True, "ctrl": True},
  1731. {"properties":
  1732. [("type", 'FILE_BOTTOM'),
  1733. ],
  1734. },
  1735. ),
  1736. ("text.delete",
  1737. {"type": 'DEL', "value": 'PRESS', "repeat": True},
  1738. {"properties":
  1739. [("type", 'NEXT_CHARACTER'),
  1740. ],
  1741. },
  1742. ),
  1743. ("text.delete",
  1744. {"type": 'BACK_SPACE', "value": 'PRESS', "repeat": True},
  1745. {"properties":
  1746. [("type", 'PREVIOUS_CHARACTER'),
  1747. ],
  1748. },
  1749. ),
  1750. ("text.delete",
  1751. {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True, "repeat": True},
  1752. {"properties":
  1753. [("type", 'PREVIOUS_CHARACTER'),
  1754. ],
  1755. },
  1756. ),
  1757. ("text.delete",
  1758. {"type": 'DEL', "value": 'PRESS', "ctrl": True, "repeat": True},
  1759. {"properties":
  1760. [("type", 'NEXT_WORD'),
  1761. ],
  1762. },
  1763. ),
  1764. ("text.delete",
  1765. {"type": 'BACK_SPACE', "value": 'PRESS', "ctrl": True, "repeat": True},
  1766. {"properties":
  1767. [("type", 'PREVIOUS_WORD'),
  1768. ],
  1769. },
  1770. ),
  1771. ("text.overwrite_toggle", {"type": 'INSERT', "value": 'PRESS'}, None),
  1772. ("text.scroll_bar", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  1773. ("text.scroll_bar", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
  1774. ("text.scroll", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
  1775. ("text.scroll", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
  1776. ("text.selection_set", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
  1777. ("text.cursor_set", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  1778. ("text.selection_set", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
  1779. ("text.scroll",
  1780. {"type": 'WHEELUPMOUSE', "value": 'PRESS'},
  1781. {"properties":
  1782. [("lines", -1),
  1783. ],
  1784. },
  1785. ),
  1786. ("text.scroll",
  1787. {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'},
  1788. {"properties":
  1789. [("lines", 1),
  1790. ],
  1791. },
  1792. ),
  1793. ("text.line_break", {"type": 'RET', "value": 'PRESS', "repeat": True}, None),
  1794. ("text.line_break", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "repeat": True}, None),
  1795. ("text.line_number", {"type": 'TEXTINPUT', "value": 'ANY', "any": True, "repeat": True}, None),
  1796. ("wm.call_menu",
  1797. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  1798. {"properties":
  1799. [("name", 'TEXT_MT_context_menu'),
  1800. ],
  1801. },
  1802. ),
  1803. ("text.insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True, "repeat": True}, None),
  1804. ],
  1805. },
  1806. ),
  1807. ("UV Editor",
  1808. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  1809. {"items":
  1810. [("wm.call_menu",
  1811. {"type": 'TAB', "value": 'PRESS', "ctrl": True, "repeat": True},
  1812. {"properties":
  1813. [("name", 'IMAGE_MT_uvs_select_mode'),
  1814. ],
  1815. "active":False,
  1816. },
  1817. ),
  1818. ("mesh.select_mode",
  1819. {"type": 'ONE', "value": 'PRESS'},
  1820. {"properties":
  1821. [("type", 'VERT'),
  1822. ],
  1823. },
  1824. ),
  1825. ("mesh.select_mode",
  1826. {"type": 'TWO', "value": 'PRESS'},
  1827. {"properties":
  1828. [("type", 'EDGE'),
  1829. ],
  1830. },
  1831. ),
  1832. ("mesh.select_mode",
  1833. {"type": 'THREE', "value": 'PRESS'},
  1834. {"properties":
  1835. [("type", 'FACE'),
  1836. ],
  1837. },
  1838. ),
  1839. ("mesh.select_mode",
  1840. {"type": 'ONE', "value": 'PRESS', "shift": True},
  1841. {"properties":
  1842. [("use_extend", True),
  1843. ("type", 'VERT'),
  1844. ],
  1845. },
  1846. ),
  1847. ("mesh.select_mode",
  1848. {"type": 'TWO', "value": 'PRESS', "shift": True},
  1849. {"properties":
  1850. [("use_extend", True),
  1851. ("type", 'EDGE'),
  1852. ],
  1853. },
  1854. ),
  1855. ("mesh.select_mode",
  1856. {"type": 'THREE', "value": 'PRESS', "shift": True},
  1857. {"properties":
  1858. [("use_extend", True),
  1859. ("type", 'FACE'),
  1860. ],
  1861. },
  1862. ),
  1863. ("mesh.select_mode",
  1864. {"type": 'ONE', "value": 'PRESS', "ctrl": True},
  1865. {"properties":
  1866. [("use_expand", True),
  1867. ("type", 'VERT'),
  1868. ],
  1869. },
  1870. ),
  1871. ("mesh.select_mode",
  1872. {"type": 'TWO', "value": 'PRESS', "ctrl": True},
  1873. {"properties":
  1874. [("use_expand", True),
  1875. ("type", 'EDGE'),
  1876. ],
  1877. },
  1878. ),
  1879. ("mesh.select_mode",
  1880. {"type": 'THREE', "value": 'PRESS', "ctrl": True},
  1881. {"properties":
  1882. [("use_expand", True),
  1883. ("type", 'FACE'),
  1884. ],
  1885. },
  1886. ),
  1887. ("mesh.select_mode",
  1888. {"type": 'ONE', "value": 'PRESS', "shift": True, "ctrl": True},
  1889. {"properties":
  1890. [("use_extend", True),
  1891. ("use_expand", True),
  1892. ("type", 'VERT'),
  1893. ],
  1894. },
  1895. ),
  1896. ("mesh.select_mode",
  1897. {"type": 'TWO', "value": 'PRESS', "shift": True, "ctrl": True},
  1898. {"properties":
  1899. [("use_extend", True),
  1900. ("use_expand", True),
  1901. ("type", 'EDGE'),
  1902. ],
  1903. },
  1904. ),
  1905. ("mesh.select_mode",
  1906. {"type": 'THREE', "value": 'PRESS', "shift": True, "ctrl": True},
  1907. {"properties":
  1908. [("use_extend", True),
  1909. ("use_expand", True),
  1910. ("type", 'FACE'),
  1911. ],
  1912. },
  1913. ),
  1914. ("mesh.select_mode", {"type": 'FOUR', "value": 'PRESS'}, None),
  1915. ("uv.select_mode",
  1916. {"type": 'ONE', "value": 'PRESS'},
  1917. {"properties":
  1918. [("type", 'VERTEX'),
  1919. ],
  1920. },
  1921. ),
  1922. ("uv.select_mode",
  1923. {"type": 'TWO', "value": 'PRESS'},
  1924. {"properties":
  1925. [("type", 'EDGE'),
  1926. ],
  1927. },
  1928. ),
  1929. ("uv.select_mode",
  1930. {"type": 'THREE', "value": 'PRESS'},
  1931. {"properties":
  1932. [("type", 'FACE'),
  1933. ],
  1934. },
  1935. ),
  1936. ("uv.select_mode",
  1937. {"type": 'FOUR', "value": 'PRESS'},
  1938. {"properties":
  1939. [("type", 'ISLAND'),
  1940. ],
  1941. },
  1942. ),
  1943. ("uv.select",
  1944. {"type": 'LEFTMOUSE', "value": 'CLICK'},
  1945. {"properties":
  1946. [("deselect_all", True),
  1947. ],
  1948. },
  1949. ),
  1950. ("uv.select",
  1951. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
  1952. {"properties":
  1953. [("toggle", True),
  1954. ],
  1955. },
  1956. ),
  1957. ("uv.mark_seam", {"type": 'E', "value": 'PRESS', "ctrl": True}, None),
  1958. ("uv.select_loop", {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True}, None),
  1959. ("uv.select_loop",
  1960. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
  1961. {"properties":
  1962. [("extend", True),
  1963. ],
  1964. },
  1965. ),
  1966. ("uv.select_edge_ring", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True}, None),
  1967. ("uv.select_edge_ring",
  1968. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
  1969. {"properties":
  1970. [("extend", True),
  1971. ],
  1972. },
  1973. ),
  1974. ("uv.shortest_path_pick",
  1975. {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
  1976. {"properties":
  1977. [("use_fill", False),
  1978. ],
  1979. },
  1980. ),
  1981. ("uv.shortest_path_pick",
  1982. {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
  1983. {"properties":
  1984. [("use_fill", True),
  1985. ],
  1986. },
  1987. ),
  1988. ("uv.select_split", {"type": 'Y', "value": 'PRESS'}, None),
  1989. ("uv.select_box",
  1990. {"type": 'B', "value": 'PRESS'},
  1991. {"properties":
  1992. [("pinned", False),
  1993. ],
  1994. },
  1995. ),
  1996. ("uv.select_box",
  1997. {"type": 'B', "value": 'PRESS', "ctrl": True},
  1998. {"properties":
  1999. [("pinned", True),
  2000. ],
  2001. },
  2002. ),
  2003. ("uv.select_circle", {"type": 'C', "value": 'PRESS'}, None),
  2004. ("uv.select_lasso",
  2005. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "ctrl": True},
  2006. {"properties":
  2007. [("mode", 'ADD'),
  2008. ],
  2009. },
  2010. ),
  2011. ("uv.select_lasso",
  2012. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True, "ctrl": True},
  2013. {"properties":
  2014. [("mode", 'SUB'),
  2015. ],
  2016. },
  2017. ),
  2018. ("uv.select_linked", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
  2019. ("uv.select_linked_pick",
  2020. {"type": 'L', "value": 'PRESS'},
  2021. {"properties":
  2022. [("extend", True),
  2023. ("deselect", False),
  2024. ],
  2025. },
  2026. ),
  2027. ("uv.select_linked_pick",
  2028. {"type": 'L', "value": 'PRESS', "shift": True},
  2029. {"properties":
  2030. [("deselect", True),
  2031. ],
  2032. },
  2033. ),
  2034. ("uv.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  2035. ("uv.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True, "repeat": True}, None),
  2036. ("uv.select_all",
  2037. {"type": 'A', "value": 'PRESS'},
  2038. {"properties":
  2039. [("action", 'SELECT'),
  2040. ],
  2041. },
  2042. ),
  2043. ("uv.select_all",
  2044. {"type": 'A', "value": 'PRESS', "alt": True},
  2045. {"properties":
  2046. [("action", 'DESELECT'),
  2047. ],
  2048. },
  2049. ),
  2050. ("uv.select_all",
  2051. {"type": 'I', "value": 'PRESS', "ctrl": True},
  2052. {"properties":
  2053. [("action", 'INVERT'),
  2054. ],
  2055. },
  2056. ),
  2057. ("uv.select_all",
  2058. {"type": 'A', "value": 'DOUBLE_CLICK'},
  2059. {"properties":
  2060. [("action", 'DESELECT'),
  2061. ],
  2062. },
  2063. ),
  2064. ("uv.reveal", {"type": 'H', "value": 'PRESS', "alt": True}, None),
  2065. ("uv.hide",
  2066. {"type": 'H', "value": 'PRESS'},
  2067. {"properties":
  2068. [("unselected", False),
  2069. ],
  2070. },
  2071. ),
  2072. ("uv.hide",
  2073. {"type": 'H', "value": 'PRESS', "shift": True},
  2074. {"properties":
  2075. [("unselected", True),
  2076. ],
  2077. },
  2078. ),
  2079. ("uv.select_pinned", {"type": 'P', "value": 'PRESS', "shift": True}, None),
  2080. ("wm.call_menu",
  2081. {"type": 'M', "value": 'PRESS'},
  2082. {"properties":
  2083. [("name", 'IMAGE_MT_uvs_merge'),
  2084. ],
  2085. },
  2086. ),
  2087. ("wm.call_menu",
  2088. {"type": 'M', "value": 'PRESS', "alt": True},
  2089. {"properties":
  2090. [("name", 'IMAGE_MT_uvs_split'),
  2091. ],
  2092. },
  2093. ),
  2094. ("wm.call_menu",
  2095. {"type": 'W', "value": 'PRESS', "shift": True},
  2096. {"properties":
  2097. [("name", 'IMAGE_MT_uvs_align'),
  2098. ],
  2099. },
  2100. ),
  2101. ("uv.stitch", {"type": 'V', "value": 'PRESS', "alt": True}, None),
  2102. ("uv.rip_move", {"type": 'V', "value": 'PRESS'}, None),
  2103. ("uv.pin",
  2104. {"type": 'P', "value": 'PRESS'},
  2105. {"properties":
  2106. [("clear", False),
  2107. ],
  2108. },
  2109. ),
  2110. ("uv.pin",
  2111. {"type": 'P', "value": 'PRESS', "alt": True},
  2112. {"properties":
  2113. [("clear", True),
  2114. ],
  2115. },
  2116. ),
  2117. ("wm.call_menu",
  2118. {"type": 'U', "value": 'PRESS'},
  2119. {"properties":
  2120. [("name", 'IMAGE_MT_uvs_unwrap'),
  2121. ],
  2122. },
  2123. ),
  2124. ("wm.call_menu_pie",
  2125. {"type": 'S', "value": 'PRESS', "shift": True},
  2126. {"properties":
  2127. [("name", 'IMAGE_MT_uvs_snap_pie'),
  2128. ],
  2129. },
  2130. ),
  2131. ("wm.call_menu_pie",
  2132. {"type": 'O', "value": 'PRESS', "shift": True},
  2133. {"properties":
  2134. [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
  2135. ],
  2136. },
  2137. ),
  2138. ("wm.context_toggle",
  2139. {"type": 'O', "value": 'PRESS'},
  2140. {"properties":
  2141. [("data_path", 'tool_settings.use_proportional_edit'),
  2142. ],
  2143. },
  2144. ),
  2145. ("transform.translate", {"type": 'LEFTMOUSE', "value": 'CLICK_DRAG'}, None),
  2146. ("transform.translate", {"type": 'G', "value": 'PRESS'}, None),
  2147. ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None),
  2148. ("transform.resize", {"type": 'S', "value": 'PRESS'}, None),
  2149. ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
  2150. ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
  2151. ("wm.context_toggle",
  2152. {"type": 'TAB', "value": 'PRESS', "shift": True},
  2153. {"properties":
  2154. [("data_path", 'tool_settings.use_snap_uv'),
  2155. ],
  2156. },
  2157. ),
  2158. ("wm.context_menu_enum",
  2159. {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
  2160. {"properties":
  2161. [("data_path", 'tool_settings.snap_uv_element'),
  2162. ],
  2163. },
  2164. ),
  2165. ("wm.call_menu",
  2166. {"type": 'RIGHTMOUSE', "value": 'PRESS'},
  2167. {"properties":
  2168. [("name", 'IMAGE_MT_uvs_context_menu'),
  2169. ],
  2170. },
  2171. ),
  2172. ("wm.call_menu",
  2173. {"type": 'APP', "value": 'PRESS'},
  2174. {"properties":
  2175. [("name", 'IMAGE_MT_uvs_context_menu'),
  2176. ],
  2177. },
  2178. ),
  2179. ("uv.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
  2180. ("transform.translate",
  2181. {"type": 'RIGHTMOUSE', "value": 'CLICK_DRAG', "shift": True},
  2182. {"properties":
  2183. [("cursor_transform", True),
  2184. ("release_confirm", True),
  2185. ],
  2186. },
  2187. ),
  2188. ("wm.tool_set_by_id",
  2189. {"type": 'W', "value": 'PRESS'},
  2190. {"properties":
  2191. [("name", 'builtin.select_box'),
  2192. ("cycle", True),
  2193. ],
  2194. },
  2195. ),
  2196. ],
  2197. },
  2198. ),
  2199. ("View2D",
  2200. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  2201. {"items":
  2202. [("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  2203. ("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
  2204. ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
  2205. ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'ANY'}, None),
  2206. ("view2d.scroll_right", {"type": 'RIGHT_ARROW', "value": 'PRESS', "repeat": True}, None),
  2207. ("view2d.scroll_left", {"type": 'LEFT_ARROW', "value": 'PRESS', "repeat": True}, None),
  2208. ("view2d.scroll_down", {"type": 'DOWN_ARROW', "value": 'PRESS', "repeat": True}, None),
  2209. ("view2d.scroll_up", {"type": 'UP_ARROW', "value": 'PRESS', "repeat": True}, None),
  2210. ("view2d.ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
  2211. ("view2d.zoom_out", {"type": 'MINUS', "value": 'PRESS', "repeat": True}, None),
  2212. ("view2d.zoom_in", {"type": 'EQUAL', "value": 'PRESS', "repeat": True}, None),
  2213. ("view2d.zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True}, None),
  2214. ("view2d.zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True}, None),
  2215. ("view2d.zoom", {"type": 'MIDDLEMOUSE', "value": 'ANY', "shift": True}, None),
  2216. ("view2d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
  2217. ("view2d.scroll_down", {"type": 'NUMPAD_2', "value": 'PRESS', "repeat": True}, None),
  2218. ("view2d.scroll_up", {"type": 'NUMPAD_8', "value": 'PRESS', "repeat": True}, None),
  2219. ("view2d.scroll_right", {"type": 'NUMPAD_6', "value": 'PRESS', "repeat": True}, None),
  2220. ("view2d.scroll_left", {"type": 'NUMPAD_4', "value": 'PRESS', "repeat": True}, None),
  2221. ("view2d.zoom",
  2222. {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
  2223. { "active":False,
  2224. },
  2225. ),
  2226. ("view2d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
  2227. ("view2d.zoom_border", {"type": 'B', "value": 'PRESS', "shift": True}, None),
  2228. ],
  2229. },
  2230. ),
  2231. ("View2D Buttons List",
  2232. {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  2233. {"items":
  2234. [("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
  2235. ("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True}, None),
  2236. ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
  2237. ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'ANY'}, None),
  2238. ("view2d.scroll_down", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
  2239. ("view2d.scroll_up", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
  2240. ("view2d.scroll_down",
  2241. {"type": 'PAGE_DOWN', "value": 'PRESS', "repeat": True},
  2242. {"properties":
  2243. [("page", True),
  2244. ],
  2245. },
  2246. ),
  2247. ("view2d.scroll_up",
  2248. {"type": 'PAGE_UP', "value": 'PRESS', "repeat": True},
  2249. {"properties":
  2250. [("page", True),
  2251. ],
  2252. },
  2253. ),
  2254. ("view2d.zoom", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
  2255. ("view2d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
  2256. ("view2d.zoom", {"type": 'LEFTMOUSE', "value": 'ANY', "shift": True}, None),
  2257. ("view2d.zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "repeat": True}, None),
  2258. ("view2d.zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "repeat": True}, None),
  2259. ("view2d.reset", {"type": 'HOME', "value": 'PRESS'}, None),
  2260. ],
  2261. },
  2262. ),
  2263. ]
  2264. if __name__ == "__main__":
  2265. # Only add keywords that are supported.
  2266. from bpy.app import version as blender_version
  2267. keywords = {}
  2268. if blender_version >= (2, 92, 0):
  2269. keywords["keyconfig_version"] = keyconfig_version
  2270. import os
  2271. from bl_keymap_utils.io import keyconfig_import_from_data
  2272. keyconfig_import_from_data(
  2273. os.path.splitext(os.path.basename(__file__))[0],
  2274. keyconfig_data,
  2275. **keywords,
  2276. )