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