⠀.PY 66KB

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