⠀.PY 66KB

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