keyconfig_data = \
[("Window",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'MACHIN3_MT_save_pie'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'B', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'TOPBAR_MT_file_new'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'P', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("name", 'TOPBAR_MT_file_open_recent'),
       ],
      },
     ),
    ("wm.open_mainfile", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
    ("wm.save_mainfile", {"type": 'R', "value": 'PRESS', "ctrl": True}, None),
    ("wm.save_as_mainfile", {"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("wm.quit_blender", {"type": '\'', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": '\'', "value": 'PRESS'},
     {"properties":
      [("name", 'SCREEN_MT_user_menu'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F1', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'FILE_BROWSER'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F2', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'CLIP_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F3', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'NODE_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F4', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'CONSOLE'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F5', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'VIEW_3D'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F6', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'GRAPH_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F7', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'PROPERTIES'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F8', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'SEQUENCE_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F9', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'OUTLINER'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F10', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'IMAGE_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F11', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'TEXT_EDITOR'),
       ],
      },
     ),
    ("screen.space_type_set_or_cycle",
     {"type": 'F12', "value": 'PRESS', "shift": True},
     {"properties":
      [("space_type", 'DOPESHEET_EDITOR'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'NDOF_BUTTON_MENU', "value": 'PRESS'},
     {"properties":
      [("name", 'USERPREF_MT_ndof_settings'),
       ],
      },
     ),
    ("wm.context_scale_float",
     {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS'},
     {"properties":
      [("data_path", 'preferences.inputs.ndof_sensitivity'),
       ("value", 1.1),
       ],
      },
     ),
    ("wm.context_scale_float",
     {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS'},
     {"properties":
      [("data_path", 'preferences.inputs.ndof_sensitivity'),
       ("value", 0.90909094),
       ],
      },
     ),
    ("wm.context_scale_float",
     {"type": 'NDOF_BUTTON_PLUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'preferences.inputs.ndof_sensitivity'),
       ("value", 1.5),
       ],
      },
     ),
    ("wm.context_scale_float",
     {"type": 'NDOF_BUTTON_MINUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'preferences.inputs.ndof_sensitivity'),
       ("value", 0.6666667),
       ],
      },
     ),
    ("info.reports_display_update", {"type": 'TIMER_REPORT', "value": 'ANY', "any": True}, None),
    ("wm.doc_view_manual_ui_context", {"type": 'F1', "value": 'PRESS'}, None),
    ("wm.call_panel",
     {"type": 'F2', "value": 'PRESS'},
     {"properties":
      [("name", 'TOPBAR_PT_name'),
       ("keep_open", False),
       ],
      },
     ),
    ("wm.search_menu", {"type": 'F3', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'F4', "value": 'PRESS'},
     {"properties":
      [("name", 'TOPBAR_MT_file_context_menu'),
       ],
      },
     ),
    ("wm.search_menu", {"type": 'SPACE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Screen",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("screen.animation_step", {"type": 'TIMER0', "value": 'ANY', "any": True}, None),
    ("screen.region_blend", {"type": 'TIMERREGION', "value": 'ANY', "any": True}, None),
    ("screen.space_context_cycle",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("direction", 'NEXT'),
       ],
      },
     ),
    ("screen.space_context_cycle",
     {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'PREV'),
       ],
      },
     ),
    ("screen.workspace_cycle",
     {"type": 'PAGE_DOWN', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("direction", 'NEXT'),
       ],
      },
     ),
    ("screen.workspace_cycle",
     {"type": 'PAGE_UP', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("direction", 'PREV'),
       ],
      },
     ),
    ("screen.region_quadview", {"type": '\'', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("screen.repeat_last", {"type": 'P', "value": 'PRESS', "shift": True}, None),
    ("file.execute", {"type": 'RET', "value": 'PRESS'}, None),
    ("file.execute", {"type": 'NUMPAD_ENTER', "value": 'PRESS'}, None),
    ("file.cancel", {"type": 'ESC', "value": 'PRESS'}, None),
    ("ed.undo", {"type": ';', "value": 'PRESS', "ctrl": True}, None),
    ("ed.redo", {"type": ';', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("render.render",
     {"type": 'F12', "value": 'PRESS'},
     {"properties":
      [("use_viewport", True),
       ],
      },
     ),
    ("render.render",
     {"type": 'F12', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("animation", True),
       ("use_viewport", True),
       ],
      },
     ),
    ("render.view_cancel", {"type": 'ESC', "value": 'PRESS'}, None),
    ("render.view_show", {"type": 'F11', "value": 'PRESS'}, None),
    ("render.play_rendered_anim", {"type": 'F11', "value": 'PRESS', "ctrl": True}, None),
    ("screen.screen_full_area", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, None),
    ("screen.screen_full_area",
     {"type": 'SPACE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("use_hide_panels", True),
       ],
      },
     ),
    ("screen.redo_last", {"type": 'F9', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Screen Editing",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("screen.actionzone",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("modifier", 0),
       ],
      },
     ),
    ("screen.actionzone",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("modifier", 1),
       ],
      },
     ),
    ("screen.actionzone",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("modifier", 2),
       ],
      },
     ),
    ("screen.area_split", {"type": 'ACTIONZONE_AREA', "value": 'ANY'}, None),
    ("screen.area_join", {"type": 'ACTIONZONE_AREA', "value": 'ANY'}, None),
    ("screen.area_dupli", {"type": 'ACTIONZONE_AREA', "value": 'ANY', "shift": True}, None),
    ("screen.area_swap", {"type": 'ACTIONZONE_AREA', "value": 'ANY', "ctrl": True}, None),
    ("screen.region_scale", {"type": 'ACTIONZONE_REGION', "value": 'ANY'}, None),
    ("screen.screen_full_area",
     {"type": 'ACTIONZONE_FULLSCREEN', "value": 'ANY'},
     {"properties":
      [("use_hide_panels", True),
       ],
      },
     ),
    ("screen.area_move", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("screen.area_options", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("User Interface",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("ui.eyedropper_color", {"type": 'E', "value": 'PRESS'}, None),
    ("ui.eyedropper_colorramp", {"type": 'E', "value": 'PRESS'}, None),
    ("ui.eyedropper_colorramp_point", {"type": 'E', "value": 'PRESS', "alt": True}, None),
    ("ui.eyedropper_id", {"type": 'E', "value": 'PRESS'}, None),
    ("ui.eyedropper_depth", {"type": 'E', "value": 'PRESS'}, None),
    ("ui.copy_data_path_button", {"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("ui.copy_data_path_button",
     {"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("full_path", True),
       ],
      },
     ),
    ("anim.keyframe_insert_button", {"type": 'C', "value": 'PRESS'}, None),
    ("anim.keyframe_delete_button", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("anim.keyframe_clear_button", {"type": 'C', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("anim.driver_button_add", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("anim.driver_button_remove", {"type": 'D', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("anim.keyingset_button_add", {"type": 'T', "value": 'PRESS'}, None),
    ("anim.keyingset_button_remove", {"type": 'T', "value": 'PRESS', "alt": True}, None),
    ],
   },
  ),
 ("View2D",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroller_activate", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
    ("view2d.pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("view2d.scroll_right", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("view2d.scroll_left", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("view2d.scroll_down", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "shift": True}, None),
    ("view2d.scroll_up", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "shift": True}, None),
    ("view2d.ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
    ("view2d.zoom_out", {"type": 'WHEELOUTMOUSE', "value": 'PRESS'}, None),
    ("view2d.zoom_in", {"type": 'WHEELINMOUSE', "value": 'PRESS'}, None),
    ("view2d.zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("view2d.zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("view2d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
    ("view2d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
    ("view2d.scroll_down", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroll_up", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroll_right", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroll_left", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
    ("view2d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("view2d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
    ("view2d.zoom_border", {"type": 'X', "value": 'PRESS', "shift": True}, None),
    ],
   },
  ),
 ("Region Context Menu",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("screen.region_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Frames",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("screen.frame_offset",
     {"type": 'LEFT_ARROW', "value": 'PRESS'},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("screen.frame_offset",
     {"type": 'RIGHT_ARROW', "value": 'PRESS'},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("screen.frame_jump",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("end", True),
       ],
      },
     ),
    ("screen.frame_jump",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("end", False),
       ],
      },
     ),
    ("screen.keyframe_jump",
     {"type": 'UP_ARROW', "value": 'PRESS'},
     {"properties":
      [("next", True),
       ],
      },
     ),
    ("screen.keyframe_jump",
     {"type": 'DOWN_ARROW', "value": 'PRESS'},
     {"properties":
      [("next", False),
       ],
      },
     ),
    ("screen.keyframe_jump",
     {"type": 'MEDIA_LAST', "value": 'PRESS'},
     {"properties":
      [("next", True),
       ],
      },
     ),
    ("screen.keyframe_jump",
     {"type": 'MEDIA_FIRST', "value": 'PRESS'},
     {"properties":
      [("next", False),
       ],
      },
     ),
    ("screen.frame_offset",
     {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("screen.frame_offset",
     {"type": 'WHEELUPMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("screen.animation_play", {"type": 'SPACE', "value": 'PRESS', "shift": True}, None),
    ("screen.animation_play",
     {"type": 'SPACE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("reverse", True),
       ],
      },
     ),
    ("screen.animation_cancel", {"type": 'ESC', "value": 'PRESS'}, None),
    ("screen.animation_play", {"type": 'MEDIA_PLAY', "value": 'PRESS'}, None),
    ("screen.animation_cancel", {"type": 'MEDIA_STOP', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("View2D Buttons List",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("view2d.scroller_activate", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroller_activate", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("view2d.pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("view2d.pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("view2d.scroll_down", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroll_up", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
    ("view2d.scroll_down",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("page", True),
       ],
      },
     ),
    ("view2d.scroll_up",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("page", True),
       ],
      },
     ),
    ("view2d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("view2d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
    ("view2d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
    ("view2d.zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("view2d.zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("view2d.reset", {"type": 'HOME', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Property Editor",
  {"space_type": 'PROPERTIES', "region_type": 'WINDOW'},
  {"items":
   [("buttons.context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("screen.space_context_cycle",
     {"type": 'WHEELUPMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("direction", 'PREV'),
       ],
      },
     ),
    ("screen.space_context_cycle",
     {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("direction", 'NEXT'),
       ],
      },
     ),
    ],
   },
  ),
 ("Outliner",
  {"space_type": 'OUTLINER', "region_type": 'WINDOW'},
  {"items":
   [("outliner.highlight_update", {"type": 'MOUSEMOVE', "value": 'ANY', "any": True}, None),
    ("outliner.item_rename", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
    ("outliner.item_activate",
     {"type": 'LEFTMOUSE', "value": 'CLICK'},
     {"properties":
      [("extend", False),
       ("recursive", False),
       ("deselect_all", True),
       ],
      },
     ),
    ("outliner.item_activate",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ("recursive", False),
       ],
      },
     ),
    ("outliner.item_activate",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("extend", False),
       ("recursive", True),
       ],
      },
     ),
    ("outliner.item_activate",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ("recursive", True),
       ],
      },
     ),
    ("outliner.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("outliner.item_openclose",
     {"type": 'RET', "value": 'PRESS'},
     {"properties":
      [("all", False),
       ],
      },
     ),
    ("outliner.item_openclose",
     {"type": 'RET', "value": 'PRESS', "shift": True},
     {"properties":
      [("all", True),
       ],
      },
     ),
    ("outliner.item_rename", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("outliner.operation", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("outliner.item_drag_drop", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("outliner.item_drag_drop", {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True}, None),
    ("outliner.show_hierarchy", {"type": 'HOME', "value": 'PRESS'}, None),
    ("outliner.show_active", {"type": 'PERIOD', "value": 'PRESS'}, None),
    ("outliner.show_active", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("outliner.scroll_page",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("up", False),
       ],
      },
     ),
    ("outliner.scroll_page",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("up", True),
       ],
      },
     ),
    ("outliner.show_one_level", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("outliner.show_one_level",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS'},
     {"properties":
      [("open", False),
       ],
      },
     ),
    ("outliner.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("outliner.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("outliner.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("outliner.expanded_toggle", {"type": 'A', "value": 'PRESS', "shift": True}, None),
    ("outliner.keyingset_add_selected", {"type": 'T', "value": 'PRESS'}, None),
    ("outliner.keyingset_remove_selected", {"type": 'T', "value": 'PRESS', "alt": True}, None),
    ("anim.keyframe_insert", {"type": 'C', "value": 'PRESS'}, None),
    ("anim.keyframe_delete", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("outliner.drivers_add_selected", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("outliner.drivers_delete_selected", {"type": 'D', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("outliner.collection_new", {"type": 'J', "value": 'PRESS'}, None),
    ("outliner.collection_delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("outliner.collection_delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("object.move_to_collection", {"type": 'M', "value": 'PRESS'}, None),
    ("object.link_to_collection", {"type": 'M', "value": 'PRESS', "shift": True}, None),
    ("outliner.collection_exclude_set", {"type": 'E', "value": 'PRESS'}, None),
    ("outliner.collection_exclude_clear", {"type": 'E', "value": 'PRESS', "alt": True}, None),
    ("outliner.hide", {"type": 'D', "value": 'PRESS'}, None),
    ("outliner.unhide_all", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("outliner.id_copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("outliner.id_paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Markers",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("marker.add", {"type": 'M', "value": 'PRESS'}, None),
    ("marker.move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ],
      },
     ),
    ("marker.duplicate", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("marker.select", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("marker.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("marker.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("extend", False),
       ("camera", True),
       ],
      },
     ),
    ("marker.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ("camera", True),
       ],
      },
     ),
    ("marker.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ],
      },
     ),
    ("marker.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("marker.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("marker.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("marker.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("marker.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("marker.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("marker.move", {"type": 'I', "value": 'PRESS'}, None),
    ("marker.camera_bind", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Time Scrub",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("anim.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("graph.cursor_set", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Animation",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.show_seconds'),
       ],
      },
     ),
    ("anim.previewrange_set", {"type": 'L', "value": 'PRESS'}, None),
    ("anim.previewrange_clear", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("anim.start_frame_set", {"type": 'HOME', "value": 'PRESS', "ctrl": True}, None),
    ("anim.end_frame_set", {"type": 'END', "value": 'PRESS', "ctrl": True}, None),
    ("anim.change_frame", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ],
   },
  ),
 ("Dopesheet",
  {"space_type": 'DOPESHEET_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ("column", False),
       ("channel", False),
       ],
      },
     ),
    ("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("extend", False),
       ("column", True),
       ("channel", False),
       ],
      },
     ),
    ("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ("column", False),
       ("channel", False),
       ],
      },
     ),
    ("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ("column", True),
       ("channel", False),
       ],
      },
     ),
    ("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("extend", False),
       ("column", False),
       ("channel", True),
       ],
      },
     ),
    ("action.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("extend", True),
       ("column", False),
       ("channel", True),
       ],
      },
     ),
    ("action.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", False),
       ],
      },
     ),
    ("action.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", True),
       ],
      },
     ),
    ("action.select_leftright",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'LEFT'),
       ("extend", False),
       ],
      },
     ),
    ("action.select_leftright",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'RIGHT'),
       ("extend", False),
       ],
      },
     ),
    ("action.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("action.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("action.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("action.select_box",
     {"type": 'X', "value": 'PRESS'},
     {"properties":
      [("axis_range", False),
       ],
      },
     ),
    ("action.select_box",
     {"type": 'X', "value": 'PRESS', "alt": True},
     {"properties":
      [("axis_range", True),
       ],
      },
     ),
    ("action.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'SET'),
       ("tweak", True),
       ],
      },
     ),
    ("action.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ("tweak", True),
       ],
      },
     ),
    ("action.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ("tweak", True),
       ],
      },
     ),
    ("action.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("action.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("action.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("action.select_column",
     {"type": 'T', "value": 'PRESS'},
     {"properties":
      [("mode", 'KEYS'),
       ],
      },
     ),
    ("action.select_column",
     {"type": 'T', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'CFRA'),
       ],
      },
     ),
    ("action.select_column",
     {"type": 'T', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'MARKERS_COLUMN'),
       ],
      },
     ),
    ("action.select_column",
     {"type": 'T', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'MARKERS_BETWEEN'),
       ],
      },
     ),
    ("action.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("action.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("action.select_linked", {"type": 'N', "value": 'PRESS'}, None),
    ("action.frame_jump", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'DOPESHEET_MT_snap_pie'),
       ],
      },
     ),
    ("action.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("action.handle_type", {"type": 'K', "value": 'PRESS'}, None),
    ("action.interpolation_type", {"type": 'Y', "value": 'PRESS'}, None),
    ("action.extrapolation_type", {"type": 'E', "value": 'PRESS', "shift": True}, None),
    ("action.keyframe_type", {"type": 'P', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'DOPESHEET_MT_context_menu'),
       ],
      },
     ),
    ("action.sample", {"type": 'P', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'DOPESHEET_MT_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'DOPESHEET_MT_delete'),
       ],
      },
     ),
    ("action.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("action.keyframe_insert", {"type": 'C', "value": 'PRESS'}, None),
    ("action.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("action.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("action.paste",
     {"type": 'K', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("flipped", True),
       ],
      },
     ),
    ("action.previewrange_set", {"type": 'L', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("action.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("action.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("action.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("action.view_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("anim.channels_editable_toggle", {"type": 'TAB', "value": 'PRESS'}, None),
    ("anim.channels_find", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("transform.transform",
     {"type": 'I', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_TRANSLATE'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'TIME_TRANSLATE'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_EXTEND'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_SCALE'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'Y', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'TIME_SLIDE'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_action'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("marker.add", {"type": 'M', "value": 'PRESS'}, None),
    ("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Dopesheet Generic",
  {"space_type": 'DOPESHEET_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'area.type'),
       ("value", 'GRAPH_EDITOR'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Generic",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu_pie",
     {"type": 'J', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'MACHIN3_MT_collections_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'MACHIN3_MT_cursor_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("name", 'MACHIN3_MT_views_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("name", 'MACHIN3_MT_shading_pie'),
       ],
      },
     ),
    ("machin3.clipping_toggle", {"type": 'BUTTON5MOUSE', "value": 'PRESS'}, None),
    ("wm.call_menu_pie",
     {"type": '\'', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'SFC_MT_pie_menu'),
       ],
      },
     ),
    ("sfc.primitives_popup", {"type": 'QUOTE', "value": 'PRESS', "shift": True}, None),
    ("sfc.modifiers_popup", {"type": 'QUOTE', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu_pie",
     {"type": 'QUOTE', "value": 'PRESS'},
     {"properties":
      [("name", 'SPEEDFLOW_MT_pie_menu'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_toolbar'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ],
   },
  ),
 ("Grease Pencil",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "key_modifier": 'D'},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True, "key_modifier": 'D'},
     {"properties":
      [("mode", 'DRAW_STRAIGHT'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True, "key_modifier": 'D'},
     {"properties":
      [("mode", 'DRAW_POLY'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "key_modifier": 'D'},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.blank_frame_add", {"type": 'X', "value": 'PRESS', "key_modifier": 'D'}, None),
    ("gpencil.active_frames_delete_all", {"type": 'Q', "value": 'PRESS', "key_modifier": 'D'}, None),
    ("gpencil.active_frames_delete_all", {"type": 'DEL', "value": 'PRESS', "key_modifier": 'D'}, None),
    ],
   },
  ),
 ("Grease Pencil Stroke Edit Mode",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.interpolate", {"type": 'E', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("gpencil.interpolate_sequence", {"type": 'E', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ("gpencil.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("gpencil.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("gpencil.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("gpencil.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("gpencil.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ("toggle", True),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("entire_strokes", True),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ("entire_strokes", True),
       ],
      },
     ),
    ("gpencil.select_linked", {"type": 'N', "value": 'PRESS'}, None),
    ("gpencil.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.select_alternate", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("gpencil.select_grouped", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("gpencil.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("gpencil.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_gpencil_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_gpencil_delete'),
       ],
      },
     ),
    ("gpencil.dissolve", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.dissolve", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.active_frames_delete_all", {"type": 'Q', "value": 'PRESS', "shift": True}, None),
    ("gpencil.active_frames_delete_all", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_gpencil_edit_context_menu'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'L', "value": 'PRESS'},
     {"properties":
      [("name", 'GPENCIL_MT_separate'),
       ],
      },
     ),
    ("gpencil.stroke_split", {"type": 'K', "value": 'PRESS'}, None),
    ("gpencil.stroke_join", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.stroke_join",
     {"type": 'H', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'JOINCOPY'),
       ],
      },
     ),
    ("gpencil.stroke_cyclical_set",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("type", 'CLOSE'),
       ("geometry", True),
       ],
      },
     ),
    ("gpencil.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'GPENCIL_MT_snap'),
       ],
      },
     ),
    ("gpencil.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("gpencil.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("gpencil.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("gpencil.selection_opacity_toggle", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_edit_lines'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_multiedit_line_only'),
       ],
      },
     ),
    ("gpencil.layer_isolate", {"type": 'NUMPAD_ASTERIX', "value": 'PRESS'}, None),
    ("gpencil.move_to_layer", {"type": 'M', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("transform.bend", {"type": ',', "value": 'PRESS', "shift": True}, None),
    ("transform.tosphere", {"type": 'R', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("transform.shear", {"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'GPENCIL_SHRINKFATTEN'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'GPENCIL_OPACITY'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_connected'),
       ],
      },
     ),
    ("object.gpencil_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": 'I', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'GPENCIL_MT_gpencil_vertex_group'),
       ],
      },
     ),
    ("gpencil.selectmode_toggle",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("mode", 0),
       ],
      },
     ),
    ("gpencil.selectmode_toggle",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("mode", 1),
       ],
      },
     ),
    ("gpencil.selectmode_toggle",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("mode", 2),
       ],
      },
     ),
    ],
   },
  ),
 ("Grease Pencil Stroke Paint Mode",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_paint.brush.gpencil_settings.pen_strength'),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_paint.brush.size'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_gpencil_draw_context_menu'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'GPENCIL_MT_gpencil_draw_delete'),
       ],
      },
     ),
    ],
   },
  ),
 ("Grease Pencil Stroke Paint (Draw brush)",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'DRAW_STRAIGHT'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("mode", 'DRAW_POLY'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw", {"type": 'P', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'H', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'H', "value": 'PRESS', "alt": True}, None),
    ("gpencil.draw", {"type": 'H', "value": 'PRESS', "shift": True}, None),
    ("gpencil.draw", {"type": 'T', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'T', "value": 'PRESS', "alt": True}, None),
    ("gpencil.draw", {"type": 'T', "value": 'PRESS', "shift": True}, None),
    ("gpencil.draw", {"type": 'N', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'N', "value": 'PRESS', "alt": True}, None),
    ("gpencil.draw", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.draw", {"type": 'K', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'M', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'J', "value": 'PRESS'}, None),
    ("gpencil.draw", {"type": 'J', "value": 'PRESS', "alt": True}, None),
    ("gpencil.draw",
     {"type": 'ERASER', "value": 'PRESS'},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("Grease Pencil Stroke Paint (Erase)",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'ERASER', "value": 'PRESS'},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("Grease Pencil Stroke Paint (Fill)",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.fill",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("on_back", False),
       ],
      },
     ),
    ("gpencil.fill",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("on_back", True),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ("disable_straight", True),
       ],
      },
     ),
    ("gpencil.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ("disable_straight", True),
       ("disable_fill", True),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("Grease Pencil Stroke Sculpt Mode",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("gpencil.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("gpencil.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("gpencil.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("gpencil.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ("toggle", True),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("entire_strokes", True),
       ],
      },
     ),
    ("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ("entire_strokes", True),
       ],
      },
     ),
    ("gpencil.select_linked", {"type": 'N', "value": 'PRESS'}, None),
    ("gpencil.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.select_alternate", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("gpencil.select_grouped", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("gpencil.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("gpencil.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_sculpt.brush.strength'),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_sculpt.brush.size'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_gpencil_sculpt_context_menu'),
       ],
      },
     ),
    ("gpencil.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_edit_lines'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_multiedit_line_only'),
       ],
      },
     ),
    ],
   },
  ),
 ("Face Mask",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paint.face_select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("paint.face_select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("paint.face_select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("paint.face_select_hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("paint.face_select_hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("paint.face_select_reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("paint.face_select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("paint.face_select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("paint.face_select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Weight Paint Vertex Selection",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paint.vert_select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("paint.vert_select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("paint.vert_select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("view3d.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("view3d.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Pose",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("object.parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_add'),
       ],
      },
     ),
    ("pose.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("pose.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("pose.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_pose_apply'),
       ],
      },
     ),
    ("pose.rot_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("pose.loc_clear", {"type": 'I', "value": 'PRESS', "alt": True}, None),
    ("pose.scale_clear", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("pose.quaternions_flip", {"type": 'U', "value": 'PRESS', "alt": True}, None),
    ("pose.rotation_mode_set", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
    ("pose.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("pose.paste",
     {"type": 'K', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("flipped", False),
       ],
      },
     ),
    ("pose.paste",
     {"type": 'K', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("flipped", True),
       ],
      },
     ),
    ("pose.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("pose.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("pose.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("pose.select_parent", {"type": 'L', "value": 'PRESS', "shift": True}, None),
    ("pose.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", False),
       ],
      },
     ),
    ("pose.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", True),
       ],
      },
     ),
    ("pose.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", False),
       ],
      },
     ),
    ("pose.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", True),
       ],
      },
     ),
    ("pose.select_linked", {"type": 'N', "value": 'PRESS'}, None),
    ("pose.select_grouped", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("pose.select_mirror", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("pose.constraint_add_with_targets", {"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("pose.constraints_clear", {"type": 'J', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("pose.ik_add", {"type": 'C', "value": 'PRESS', "shift": True}, None),
    ("pose.ik_clear", {"type": 'C', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("wm.call_menu",
     {"type": 'I', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_pose_group'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_toggle'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_enable'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_disable'),
       ],
      },
     ),
    ("armature.layers_show_all", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True}, None),
    ("armature.armature_layers", {"type": 'M', "value": 'PRESS', "shift": True}, None),
    ("pose.bone_layers", {"type": 'M', "value": 'PRESS'}, None),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'BONE_SIZE'),
       ],
      },
     ),
    ("anim.keyframe_insert_menu", {"type": 'C', "value": 'PRESS'}, None),
    ("anim.keyframe_delete_v3d", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("anim.keying_set_active_set", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("poselib.browse_interactive", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("poselib.pose_add", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("poselib.pose_remove", {"type": 'N', "value": 'PRESS', "alt": True}, None),
    ("poselib.pose_rename", {"type": 'N', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("pose.push", {"type": 'E', "value": 'PRESS', "ctrl": True}, None),
    ("pose.relax", {"type": 'E', "value": 'PRESS', "alt": True}, None),
    ("pose.breakdown", {"type": 'E', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_pose_context_menu'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'L', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_pose_propagate'),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'ONE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 1),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'TWO', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 2),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'THREE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 3),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'FOUR', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 4),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'FIVE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 5),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'SIX', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 6),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'SEVEN', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 7),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'EIGHT', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 8),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'NINE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 9),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'ZERO', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 10),
       ],
      },
     ),
    ],
   },
  ),
 ("Object Mode",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("machin3.align", {"type": 'A', "value": 'PRESS', "alt": True}, None),
    ("machin3.mirror",
     {"type": ';', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("use_x", False),
       ("use_y", False),
       ("use_z", True),
       ("init", True),
       ],
      },
     ),
    ("machin3.mirror",
     {"type": 'F', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("use_x", False),
       ("use_y", True),
       ("use_z", False),
       ("init", True),
       ],
      },
     ),
    ("machin3.mirror",
     {"type": 'Q', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("use_x", True),
       ("use_y", False),
       ("use_z", False),
       ("init", True),
       ],
      },
     ),
    ("machin3.focus", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("object.booltool_auto_slice", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("object.booltool_auto_intersect", {"type": 'NUMPAD_ASTERIX', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("object.booltool_auto_difference", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("object.booltool_auto_union", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("btool.to_mesh", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("btool.brush_to_mesh", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "ctrl": True}, None),
    ("btool.boolean_slice", {"type": 'NUMPAD_SLASH', "value": 'PRESS', "ctrl": True}, None),
    ("btool.boolean_inters", {"type": 'NUMPAD_ASTERIX', "value": 'PRESS', "ctrl": True}, None),
    ("btool.boolean_diff", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("btool.boolean_union", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'X', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_booltool_menu'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit_objects'),
       ],
      },
     ),
    ("object.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("object.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("object.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("object.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("object.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("object.select_linked", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("object.select_grouped", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("object.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", False),
       ],
      },
     ),
    ("object.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", True),
       ],
      },
     ),
    ("object.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", False),
       ],
      },
     ),
    ("object.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", True),
       ],
      },
     ),
    ("object.parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("object.parent_clear", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("object.location_clear",
     {"type": 'I', "value": 'PRESS', "alt": True},
     {"properties":
      [("clear_delta", False),
       ],
      },
     ),
    ("object.rotation_clear",
     {"type": 'P', "value": 'PRESS', "alt": True},
     {"properties":
      [("clear_delta", False),
       ],
      },
     ),
    ("object.scale_clear",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("clear_delta", False),
       ],
      },
     ),
    ("object.delete",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("use_global", False),
       ],
      },
     ),
    ("object.delete",
     {"type": 'Q', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_global", True),
       ],
      },
     ),
    ("object.delete",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("use_global", False),
       ("confirm", False),
       ],
      },
     ),
    ("object.delete",
     {"type": 'DEL', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_global", True),
       ("confirm", False),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_add'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_object_apply'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'N', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_make_links'),
       ],
      },
     ),
    ("object.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("object.duplicate_move_linked", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("object.join", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
    ("anim.keyframe_insert_menu", {"type": 'C', "value": 'PRESS'}, None),
    ("anim.keyframe_delete_v3d", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("anim.keying_set_active_set", {"type": 'C', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("collection.create", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("collection.objects_remove", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("collection.objects_remove_all", {"type": 'I', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("collection.objects_add_active", {"type": 'I', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("collection.objects_remove_active", {"type": 'I', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_object_context_menu'),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'ZERO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 0),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'ONE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 1),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'TWO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 2),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'THREE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 3),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'FOUR', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 4),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'FIVE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 5),
       ("relative", False),
       ],
      },
     ),
    ("object.move_to_collection", {"type": 'M', "value": 'PRESS'}, None),
    ("object.link_to_collection", {"type": 'M', "value": 'PRESS', "shift": True}, None),
    ("object.hide_view_clear", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("object.hide_view_set",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("object.hide_view_set",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("object.hide_collection", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("object.hide_collection",
     {"type": 'ONE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 1),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'TWO', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 2),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'THREE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 3),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'FOUR', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 4),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'FIVE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 5),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'SIX', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 6),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'SEVEN', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 7),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'EIGHT', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 8),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'NINE', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 9),
       ],
      },
     ),
    ("object.hide_collection",
     {"type": 'ZERO', "value": 'PRESS', "any": True},
     {"properties":
      [("collection_index", 10),
       ],
      },
     ),
    ],
   },
  ),
 ("Paint Curve",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paintcurve.add_point_slide", {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("paintcurve.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("paintcurve.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("paintcurve.slide",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("align", False),
       ],
      },
     ),
    ("paintcurve.slide",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("align", True),
       ],
      },
     ),
    ("paintcurve.select",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("toggle", True),
       ],
      },
     ),
    ("paintcurve.cursor", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("paintcurve.delete_point", {"type": 'Q', "value": 'PRESS'}, None),
    ("paintcurve.delete_point", {"type": 'DEL', "value": 'PRESS'}, None),
    ("paintcurve.draw", {"type": 'RET', "value": 'PRESS'}, None),
    ("paintcurve.draw", {"type": 'NUMPAD_ENTER', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Curve",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_curve_add'),
       ],
      },
     ),
    ("curve.handle_type_set", {"type": 'K', "value": 'PRESS'}, None),
    ("curve.vertex_add", {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ("curve.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("curve.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("curve.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("curve.select_row", {"type": 'P', "value": 'PRESS', "shift": True}, None),
    ("curve.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("curve.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("curve.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("curve.select_similar", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("curve.select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("curve.select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ("curve.shortest_path_pick", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ("curve.separate", {"type": 'L', "value": 'PRESS'}, None),
    ("curve.split", {"type": 'F', "value": 'PRESS'}, None),
    ("curve.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
    ("curve.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("curve.make_segment", {"type": 'U', "value": 'PRESS'}, None),
    ("curve.cyclic_toggle", {"type": 'J', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_curve_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_curve_delete'),
       ],
      },
     ),
    ("curve.dissolve_verts", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("curve.dissolve_verts", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
    ("curve.tilt_clear", {"type": 'Y', "value": 'PRESS', "alt": True}, None),
    ("transform.tilt", {"type": 'Y', "value": 'PRESS', "ctrl": True}, None),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'CURVE_SHRINKFATTEN'),
       ],
      },
     ),
    ("curve.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("curve.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("curve.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("curve.normals_make_consistent", {"type": 'B', "value": 'PRESS', "shift": True}, None),
    ("object.vertex_parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_curve_context_menu'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'D', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_hook'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_connected'),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Paint",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paint.image_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'NORMAL'),
       ],
      },
     ),
    ("paint.image_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'INVERT'),
       ],
      },
     ),
    ("paint.brush_colors_flip", {"type": 'Q', "value": 'PRESS'}, None),
    ("paint.grab_clone", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("paint.sample_color", {"type": 'R', "value": 'PRESS'}, None),
    ("brush.scale_size",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 0.9),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 1.1111112),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.image_paint.brush.size'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
       ("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
       ("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.image_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", 'space_data.zoom'),
       ("image_id", 'tool_settings.image_paint.brush'),
       ("secondary_tex", True),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.image_paint.brush.strength'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
       ("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
       ("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.image_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.image_paint.brush'),
       ("secondary_tex", True),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path_primary", 'tool_settings.image_paint.brush.texture_slot.angle'),
       ("data_path_secondary", ''),
       ("use_secondary", ''),
       ("rotation_path", 'tool_settings.image_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.image_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.image_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("data_path_primary", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
       ("data_path_secondary", ''),
       ("use_secondary", ''),
       ("rotation_path", 'tool_settings.image_paint.brush.mask_texture_slot.angle'),
       ("color_path", 'tool_settings.image_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.image_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.image_paint.brush'),
       ("secondary_tex", True),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'TRANSLATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'SCALE'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ROTATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'TRANSLATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("mode", 'SCALE'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ROTATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("data_path", 'image_paint_object.data.use_paint_mask'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.image_paint.brush.use_smooth_stroke'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_angle_control'),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.image_paint.brush.stroke_method'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_paint_texture_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Vertex Paint",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paint.vertex_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'NORMAL'),
       ],
      },
     ),
    ("paint.vertex_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'INVERT'),
       ],
      },
     ),
    ("paint.brush_colors_flip", {"type": 'Q', "value": 'PRESS'}, None),
    ("paint.sample_color", {"type": 'R', "value": 'PRESS'}, None),
    ("paint.vertex_color_set", {"type": 'T', "value": 'PRESS', "shift": True}, None),
    ("brush.scale_size",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 0.9),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 1.1111112),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.vertex_paint.brush.size'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
       ("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.vertex_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.vertex_paint.brush.strength'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
       ("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.vertex_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path_primary", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
       ("data_path_secondary", ''),
       ("use_secondary", ''),
       ("rotation_path", 'tool_settings.vertex_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.vertex_paint.brush.cursor_color_add'),
       ("fill_color_path", 'tool_settings.vertex_paint.brush.color'),
       ("fill_color_override_path", 'tool_settings.unified_paint_settings.color'),
       ("fill_color_override_test_path", 'tool_settings.unified_paint_settings.use_unified_color'),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.vertex_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'TRANSLATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'SCALE'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ROTATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'TRANSLATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("mode", 'SCALE'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ROTATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("data_path", 'vertex_paint_object.data.use_paint_mask'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.vertex_paint.brush.use_smooth_stroke'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_angle_control'),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.vertex_paint.brush.stroke_method'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_paint_vertex_context_menu'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'K', "value": 'PRESS'},
     {"properties":
      [("data_path", 'vertex_paint_object.data.use_paint_mask_vertex'),
       ],
      },
     ),
    ],
   },
  ),
 ("Weight Paint",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("paint.weight_paint", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("paint.weight_sample", {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("paint.weight_sample_group", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("paint.weight_gradient",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'LINEAR'),
       ],
      },
     ),
    ("paint.weight_gradient",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("type", 'RADIAL'),
       ],
      },
     ),
    ("paint.weight_set", {"type": 'T', "value": 'PRESS', "shift": True}, None),
    ("brush.scale_size",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 0.9),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 1.1111112),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.weight_paint.brush.size'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
       ("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.weight_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.weight_paint.brush.strength'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
       ("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.weight_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path_primary", 'tool_settings.weight_paint.brush.weight'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.weight'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_weight'),
       ("rotation_path", 'tool_settings.weight_paint.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.weight_paint.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.weight_paint.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.vertex_paint.brush.stroke_method'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("data_path", 'weight_paint_object.data.use_paint_mask'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'K', "value": 'PRESS'},
     {"properties":
      [("data_path", 'weight_paint_object.data.use_paint_mask_vertex'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.weight_paint.brush.use_smooth_stroke'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_paint_weight_context_menu'),
       ],
      },
     ),
    ("view3d.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Sculpt",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("sculpt.brush_stroke",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'NORMAL'),
       ],
      },
     ),
    ("sculpt.brush_stroke",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'INVERT'),
       ],
      },
     ),
    ("sculpt.brush_stroke",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'SMOOTH'),
       ],
      },
     ),
    ("paint.hide_show",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("action", 'SHOW'),
       ("area", 'INSIDE'),
       ],
      },
     ),
    ("paint.hide_show",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("action", 'HIDE'),
       ("area", 'INSIDE'),
       ],
      },
     ),
    ("paint.hide_show",
     {"type": 'D', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'SHOW'),
       ("area", 'ALL'),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'ZERO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 0),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'ONE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 1),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'TWO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 2),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'THREE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 3),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'FOUR', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 4),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'FIVE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("level", 5),
       ("relative", False),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("level", 1),
       ("relative", True),
       ],
      },
     ),
    ("object.subdivision_set",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("level", -1),
       ("relative", True),
       ],
      },
     ),
    ("paint.mask_flood_fill",
     {"type": 'M', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'VALUE'),
       ("value", 0.0),
       ],
      },
     ),
    ("paint.mask_flood_fill",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'INVERT'),
       ],
      },
     ),
    ("paint.mask_lasso_gesture", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("wm.context_toggle",
     {"type": 'M', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'scene.tool_settings.sculpt.show_mask'),
       ],
      },
     ),
    ("sculpt.dynamic_topology_toggle", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("sculpt.set_detail_size", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("brush.scale_size",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 0.9),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 1.1111112),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.sculpt.brush.size'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
       ("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.sculpt.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.sculpt.brush.strength'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
       ("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.sculpt.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path_primary", 'tool_settings.sculpt.brush.texture_slot.angle'),
       ("data_path_secondary", ''),
       ("use_secondary", ''),
       ("rotation_path", 'tool_settings.sculpt.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.sculpt.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.sculpt.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'TRANSLATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'SCALE'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ROTATION'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'TRANSLATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("mode", 'SCALE'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("brush.stencil_control",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ROTATION'),
       ("texmode", 'SECONDARY'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'DRAW'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'R', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'SMOOTH'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'L', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'PINCH'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'C', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'INFLATE'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'I', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'GRAB'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'LAYER'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'Y', "value": 'PRESS', "shift": True},
     {"properties":
      [("sculpt_tool", 'FLATTEN'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'J', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'CLAY'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'J', "value": 'PRESS', "shift": True},
     {"properties":
      [("sculpt_tool", 'CREASE'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'T', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'SNAKE_HOOK'),
       ],
      },
     ),
    ("paint.brush_select",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("sculpt_tool", 'MASK'),
       ("toggle", True),
       ("create_missing", True),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.sculpt.brush.stroke_method'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.sculpt.brush.use_smooth_stroke'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_angle_control'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_PT_sculpt_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Mesh",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu_pie",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'MACHIN3_MT_align_pie'),
       ],
      },
     ),
    ("machin3.clean_up", {"type": 'THREE', "value": 'PRESS'}, None),
    ("machin3.smart_face", {"type": 'FOUR', "value": 'PRESS'}, None),
    ("machin3.smart_edge",
     {"type": 'TWO', "value": 'PRESS', "shift": True},
     {"properties":
      [("sharp", True),
       ],
      },
     ),
    ("machin3.smart_edge",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("sharp", False),
       ],
      },
     ),
    ("machin3.smart_vert",
     {"type": 'ONE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("slideoverride", True),
       ],
      },
     ),
    ("machin3.smart_vert",
     {"type": 'ONE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'CONNECT'),
       ("slideoverride", False),
       ],
      },
     ),
    ("machin3.smart_vert",
     {"type": 'ONE', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'MERGE'),
       ("mergetype", 'PATHS'),
       ("slideoverride", False),
       ],
      },
     ),
    ("machin3.smart_vert",
     {"type": 'ONE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'MERGE'),
       ("mergetype", 'CENTER'),
       ("slideoverride", False),
       ],
      },
     ),
    ("machin3.smart_vert",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("mode", 'MERGE'),
       ("mergetype", 'LAST'),
       ("slideoverride", False),
       ],
      },
     ),
    ("mesh.loopcut_slide",
     {"type": 'P', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("TRANSFORM_OT_edge_slide",
        [("release_confirm", False),
         ],
        ),
       ],
      },
     ),
    ("mesh.offset_edge_loops_slide",
     {"type": 'P', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("TRANSFORM_OT_edge_slide",
        [("release_confirm", False),
         ],
        ),
       ],
      },
     ),
    ("mesh.inset", {"type": 'C', "value": 'PRESS'}, None),
    ("mesh.bevel",
     {"type": 'X', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("vertex_only", False),
       ],
      },
     ),
    ("mesh.bevel",
     {"type": 'X', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("vertex_only", True),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.loop_select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.loop_select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", True),
       ],
      },
     ),
    ("mesh.edgering_select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.edgering_select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", True),
       ],
      },
     ),
    ("mesh.shortest_path_pick",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("use_fill", False),
       ],
      },
     ),
    ("mesh.shortest_path_pick",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("use_fill", True),
       ],
      },
     ),
    ("mesh.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("mesh.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("mesh.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("mesh.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("mesh.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("mesh.select_next_item", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("mesh.select_prev_item", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("mesh.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("mesh.select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("mesh.select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ("mesh.select_mirror", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'I', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_select_similar'),
       ],
      },
     ),
    ("mesh.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("mesh.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("mesh.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("mesh.normals_make_consistent",
     {"type": 'B', "value": 'PRESS', "shift": True},
     {"properties":
      [("inside", False),
       ],
      },
     ),
    ("mesh.normals_make_consistent",
     {"type": 'B', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("inside", True),
       ],
      },
     ),
    ("view3d.edit_mesh_extrude_move_normal", {"type": 'E', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'E', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_extrude'),
       ],
      },
     ),
    ("transform.edge_crease", {"type": 'E', "value": 'PRESS', "shift": True}, None),
    ("mesh.fill", {"type": 'U', "value": 'PRESS', "alt": True}, None),
    ("mesh.quads_convert_to_tris",
     {"type": 'Y', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("quad_method", 'BEAUTY'),
       ("ngon_method", 'BEAUTY'),
       ],
      },
     ),
    ("mesh.quads_convert_to_tris",
     {"type": 'Y', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("quad_method", 'FIXED'),
       ("ngon_method", 'CLIP'),
       ],
      },
     ),
    ("mesh.tris_convert_to_quads", {"type": 'H', "value": 'PRESS', "alt": True}, None),
    ("mesh.rip_move",
     {"type": 'K', "value": 'PRESS'},
     {"properties":
      [("MESH_OT_rip",
        [("use_fill", False),
         ],
        ),
       ],
      },
     ),
    ("mesh.rip_move",
     {"type": 'K', "value": 'PRESS', "alt": True},
     {"properties":
      [("MESH_OT_rip",
        [("use_fill", True),
         ],
        ),
       ],
      },
     ),
    ("mesh.rip_edge_move", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'M', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_merge'),
       ],
      },
     ),
    ("transform.shrink_fatten", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("mesh.edge_face_add", {"type": 'U', "value": 'PRESS'}, None),
    ("mesh.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_mesh_add'),
       ],
      },
     ),
    ("mesh.separate", {"type": 'L', "value": 'PRESS'}, None),
    ("mesh.split", {"type": 'F', "value": 'PRESS'}, None),
    ("mesh.vert_connect_path", {"type": 'H', "value": 'PRESS'}, None),
    ("mesh.point_normals", {"type": 'N', "value": 'PRESS', "alt": True}, None),
    ("transform.vert_slide", {"type": 'K', "value": 'PRESS', "shift": True}, None),
    ("mesh.dupli_extrude_cursor",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("rotate_source", True),
       ],
      },
     ),
    ("mesh.dupli_extrude_cursor",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("rotate_source", False),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_delete'),
       ],
      },
     ),
    ("mesh.dissolve_mode", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("mesh.dissolve_mode", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
    ("mesh.knife_tool",
     {"type": 'T', "value": 'PRESS'},
     {"properties":
      [("use_occlude_geometry", True),
       ("only_selected", False),
       ],
      },
     ),
    ("object.vertex_parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_context_menu'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'U', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_faces'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'E', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_edges'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'K', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_vertices'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'D', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_hook'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'G', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_uv_map'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'I', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_vertex_group'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'B', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_edit_mesh_normals'),
       ],
      },
     ),
    ("object.vertex_group_remove_from", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_connected'),
       ],
      },
     ),
    ("mesh.loop_select",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.loop_select",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ("deselect", False),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.loop_select",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "alt": True},
     {"properties":
      [("extend", False),
       ("deselect", True),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.edgering_select",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "ctrl": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", False),
       ],
      },
     ),
    ("mesh.edgering_select",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Armature",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("armature.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("armature.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("armature.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("armature.align", {"type": 'A', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("armature.calculate_roll", {"type": 'B', "value": 'PRESS', "shift": True}, None),
    ("armature.roll_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("armature.switch_direction", {"type": 'U', "value": 'PRESS', "alt": True}, None),
    ("armature.bone_primitive_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
    ("armature.parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("armature.parent_clear", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("armature.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("armature.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("armature.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("armature.select_mirror",
     {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("armature.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", False),
       ],
      },
     ),
    ("armature.select_hierarchy",
     {"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'PARENT'),
       ("extend", True),
       ],
      },
     ),
    ("armature.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", False),
       ],
      },
     ),
    ("armature.select_hierarchy",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'CHILD'),
       ("extend", True),
       ],
      },
     ),
    ("armature.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("armature.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("armature.select_similar", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("armature.select_linked",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("armature.select_linked",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ("armature.shortest_path_pick", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_armature_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_armature_delete'),
       ],
      },
     ),
    ("armature.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("armature.dissolve", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("armature.dissolve", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
    ("armature.extrude_move", {"type": 'E', "value": 'PRESS'}, None),
    ("armature.extrude_forked", {"type": 'E', "value": 'PRESS', "shift": True}, None),
    ("armature.click_extrude", {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ("armature.fill", {"type": 'U', "value": 'PRESS'}, None),
    ("armature.merge", {"type": 'M', "value": 'PRESS', "alt": True}, None),
    ("armature.split", {"type": 'F', "value": 'PRESS'}, None),
    ("armature.separate", {"type": 'L', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_toggle'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_enable'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "alt": True},
     {"properties":
      [("name", 'VIEW3D_MT_bone_options_disable'),
       ],
      },
     ),
    ("armature.layers_show_all", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True}, None),
    ("armature.armature_layers", {"type": 'M', "value": 'PRESS', "shift": True}, None),
    ("armature.bone_layers", {"type": 'M', "value": 'PRESS'}, None),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'BONE_SIZE'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'BONE_ENVELOPE'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'P', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'BONE_ROLL'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_armature_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Metaball",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("object.metaball_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
    ("mball.reveal_metaelems", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("mball.hide_metaelems",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("mball.hide_metaelems",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("mball.delete_metaelems", {"type": 'Q', "value": 'PRESS'}, None),
    ("mball.delete_metaelems", {"type": 'DEL', "value": 'PRESS'}, None),
    ("mball.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("mball.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("mball.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("mball.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("mball.select_similar", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_connected'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_metaball_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Lattice",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("lattice.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("lattice.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("lattice.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("lattice.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("lattice.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("object.vertex_parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("lattice.flip", {"type": 'U', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'D', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_MT_hook'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_lattice_context_menu'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ],
   },
  ),
 ("Particle",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("particle.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("particle.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("particle.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("particle.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("particle.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("particle.select_linked",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("particle.select_linked",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ("particle.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("particle.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("particle.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("particle.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("particle.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("particle.brush_edit", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("particle.brush_edit", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.particle_edit.brush.size'),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.particle_edit.brush.strength'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_particle_context_menu'),
       ],
      },
     ),
    ("particle.weight_set", {"type": 'T', "value": 'PRESS', "shift": True}, None),
    ("wm.context_set_enum",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.particle_edit.select_mode'),
       ("value", 'PATH'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.particle_edit.select_mode'),
       ("value", 'POINT'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.particle_edit.select_mode'),
       ("value", 'TIP'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ],
   },
  ),
 ("Font",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("font.style_toggle",
     {"type": 'X', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("style", 'BOLD'),
       ],
      },
     ),
    ("font.style_toggle",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("style", 'ITALIC'),
       ],
      },
     ),
    ("font.style_toggle",
     {"type": 'G', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("style", 'UNDERLINE'),
       ],
      },
     ),
    ("font.style_toggle",
     {"type": 'L', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("style", 'SMALL_CAPS'),
       ],
      },
     ),
    ("font.delete",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_OR_SELECTION'),
       ],
      },
     ),
    ("font.delete",
     {"type": 'DEL', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("font.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_OR_SELECTION'),
       ],
      },
     ),
    ("font.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_OR_SELECTION'),
       ],
      },
     ),
    ("font.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("font.move",
     {"type": 'HOME', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_BEGIN'),
       ],
      },
     ),
    ("font.move",
     {"type": 'END', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("font.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("font.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("font.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("font.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("font.move",
     {"type": 'UP_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_LINE'),
       ],
      },
     ),
    ("font.move",
     {"type": 'DOWN_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_LINE'),
       ],
      },
     ),
    ("font.move",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_PAGE'),
       ],
      },
     ),
    ("font.move",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_PAGE'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'HOME', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LINE_BEGIN'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'END', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'UP_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_LINE'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_LINE'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'PAGE_UP', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_PAGE'),
       ],
      },
     ),
    ("font.move_select",
     {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_PAGE'),
       ],
      },
     ),
    ("font.change_spacing",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("font.change_spacing",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("font.change_character",
     {"type": 'UP_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("font.change_character",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("font.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
    ("font.text_copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("font.text_cut", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("font.text_paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("font.line_break", {"type": 'RET', "value": 'PRESS'}, None),
    ("font.text_insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
    ("font.text_insert",
     {"type": 'BACK_SPACE', "value": 'PRESS', "alt": True},
     {"properties":
      [("accent", True),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_edit_text_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Object Non-modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu_pie",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("name", 'MACHIN3_MT_modes_pie'),
       ],
      },
     ),
    ("object.mode_set",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("mode", 'EDIT'),
       ("toggle", True),
       ],
      },
     ),
    ("view3d.object_mode_pie_or_toggle", {"type": 'TAB', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("3D View",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.cursor3d", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("transform.translate",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True},
     {"properties":
      [("cursor_transform", True),
       ("release_confirm", True),
       ],
      },
     ),
    ("view3d.localview", {"type": 'NUMPAD_SLASH', "value": 'PRESS'}, None),
    ("view3d.localview", {"type": 'SLASH', "value": 'PRESS'}, None),
    ("view3d.localview_remove_from", {"type": 'M', "value": 'PRESS'}, None),
    ("view3d.rotate", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("view3d.move", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
    ("view3d.zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("view3d.dolly", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("view3d.view_selected",
     {"type": 'NUMPAD_PERIOD', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_all_regions", True),
       ],
      },
     ),
    ("view3d.view_selected",
     {"type": 'NUMPAD_PERIOD', "value": 'PRESS'},
     {"properties":
      [("use_all_regions", False),
       ],
      },
     ),
    ("view3d.smoothview", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
    ("view3d.rotate", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("view3d.rotate", {"type": 'MOUSEROTATE', "value": 'ANY'}, None),
    ("view3d.move", {"type": 'TRACKPADPAN', "value": 'ANY', "shift": True}, None),
    ("view3d.zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
    ("view3d.zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
    ("view3d.zoom",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS'},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("view3d.zoom",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS'},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("view3d.zoom",
     {"type": 'EQUAL', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("view3d.zoom",
     {"type": 'MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("view3d.zoom",
     {"type": 'WHEELINMOUSE', "value": 'PRESS'},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("view3d.zoom",
     {"type": 'WHEELOUTMOUSE', "value": 'PRESS'},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("view3d.dolly",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("view3d.dolly",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("view3d.dolly",
     {"type": 'EQUAL', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("delta", 1),
       ],
      },
     ),
    ("view3d.dolly",
     {"type": 'MINUS', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("delta", -1),
       ],
      },
     ),
    ("view3d.view_center_camera", {"type": 'HOME', "value": 'PRESS'}, None),
    ("view3d.view_center_lock", {"type": 'HOME', "value": 'PRESS'}, None),
    ("view3d.view_all",
     {"type": 'HOME', "value": 'PRESS'},
     {"properties":
      [("center", False),
       ],
      },
     ),
    ("view3d.view_all",
     {"type": 'HOME', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_all_regions", True),
       ("center", False),
       ],
      },
     ),
    ("view3d.view_all",
     {"type": 'J', "value": 'PRESS', "shift": True},
     {"properties":
      [("center", True),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'ACCENT_GRAVE', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_view_pie'),
       ],
      },
     ),
    ("view3d.navigate", {"type": 'ACCENT_GRAVE', "value": 'PRESS', "shift": True}, None),
    ("view3d.view_camera", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("view3d.view_axis",
     {"type": 'NUMPAD_1', "value": 'PRESS'},
     {"properties":
      [("type", 'FRONT'),
       ],
      },
     ),
    ("view3d.view_orbit",
     {"type": 'NUMPAD_2', "value": 'PRESS'},
     {"properties":
      [("type", 'ORBITDOWN'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_3', "value": 'PRESS'},
     {"properties":
      [("type", 'RIGHT'),
       ],
      },
     ),
    ("view3d.view_orbit",
     {"type": 'NUMPAD_4', "value": 'PRESS'},
     {"properties":
      [("type", 'ORBITLEFT'),
       ],
      },
     ),
    ("view3d.view_persportho", {"type": 'NUMPAD_5', "value": 'PRESS'}, None),
    ("view3d.view_orbit",
     {"type": 'NUMPAD_6', "value": 'PRESS'},
     {"properties":
      [("type", 'ORBITRIGHT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_7', "value": 'PRESS'},
     {"properties":
      [("type", 'TOP'),
       ],
      },
     ),
    ("view3d.view_orbit",
     {"type": 'NUMPAD_8', "value": 'PRESS'},
     {"properties":
      [("type", 'ORBITUP'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_1', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'BACK'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_3', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'LEFT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_7', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'BOTTOM'),
       ],
      },
     ),
    ("view3d.view_pan",
     {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PANDOWN'),
       ],
      },
     ),
    ("view3d.view_pan",
     {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PANLEFT'),
       ],
      },
     ),
    ("view3d.view_pan",
     {"type": 'NUMPAD_6', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PANRIGHT'),
       ],
      },
     ),
    ("view3d.view_pan",
     {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PANUP'),
       ],
      },
     ),
    ("view3d.view_roll",
     {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LEFT'),
       ],
      },
     ),
    ("view3d.view_roll",
     {"type": 'NUMPAD_6', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'RIGHT'),
       ],
      },
     ),
    ("view3d.view_orbit",
     {"type": 'NUMPAD_9', "value": 'PRESS'},
     {"properties":
      [("angle", 3.1415927),
       ("type", 'ORBITRIGHT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_1', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'FRONT'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_3', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'RIGHT'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_7', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'TOP'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_1', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'BACK'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_3', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'LEFT'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NUMPAD_7', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'BOTTOM'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'EVT_TWEAK_M', "value": 'NORTH', "alt": True},
     {"properties":
      [("type", 'TOP'),
       ("relative", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'EVT_TWEAK_M', "value": 'SOUTH', "alt": True},
     {"properties":
      [("type", 'BOTTOM'),
       ("relative", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'EVT_TWEAK_M', "value": 'EAST', "alt": True},
     {"properties":
      [("type", 'RIGHT'),
       ("relative", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'EVT_TWEAK_M', "value": 'WEST', "alt": True},
     {"properties":
      [("type", 'LEFT'),
       ("relative", True),
       ],
      },
     ),
    ("view3d.view_center_pick", {"type": 'MIDDLEMOUSE', "value": 'CLICK', "alt": True}, None),
    ("view3d.ndof_orbit_zoom", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
    ("view3d.ndof_orbit", {"type": 'NDOF_MOTION', "value": 'ANY', "ctrl": True}, None),
    ("view3d.ndof_pan", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True}, None),
    ("view3d.ndof_all", {"type": 'NDOF_MOTION', "value": 'ANY', "shift": True, "ctrl": True}, None),
    ("view3d.view_selected",
     {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'},
     {"properties":
      [("use_all_regions", False),
       ],
      },
     ),
    ("view3d.view_roll",
     {"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
     {"properties":
      [("type", 'LEFT'),
       ],
      },
     ),
    ("view3d.view_roll",
     {"type": 'NDOF_BUTTON_ROLL_CCW', "value": 'PRESS'},
     {"properties":
      [("type", 'RIGHT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS'},
     {"properties":
      [("type", 'FRONT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_BACK', "value": 'PRESS'},
     {"properties":
      [("type", 'BACK'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_LEFT', "value": 'PRESS'},
     {"properties":
      [("type", 'LEFT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS'},
     {"properties":
      [("type", 'RIGHT'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_TOP', "value": 'PRESS'},
     {"properties":
      [("type", 'TOP'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_BOTTOM', "value": 'PRESS'},
     {"properties":
      [("type", 'BOTTOM'),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_FRONT', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'FRONT'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_RIGHT', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'RIGHT'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.view_axis",
     {"type": 'NDOF_BUTTON_TOP', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'TOP'),
       ("align_active", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("toggle", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("center", True),
       ("object", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("enumerate", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ("toggle", True),
       ("center", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True, "alt": True},
     {"properties":
      [("center", True),
       ("enumerate", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
     {"properties":
      [("toggle", True),
       ("enumerate", True),
       ],
      },
     ),
    ("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("toggle", True),
       ("center", True),
       ("enumerate", True),
       ],
      },
     ),
    ("view3d.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("view3d.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("view3d.clip_border", {"type": 'X', "value": 'PRESS', "alt": True}, None),
    ("view3d.zoom_border", {"type": 'X', "value": 'PRESS', "shift": True}, None),
    ("view3d.render_border", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
    ("view3d.clear_render_border", {"type": 'X', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None),
    ("view3d.copybuffer", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("view3d.pastebuffer", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.bend", {"type": ',', "value": 'PRESS', "shift": True}, None),
    ("transform.tosphere", {"type": 'R', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("transform.shear", {"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("wm.context_toggle",
     {"type": 'TAB', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.use_snap'),
       ],
      },
     ),
    ("wm.call_panel",
     {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("name", 'VIEW3D_PT_snapping'),
       ("keep_open", False),
       ],
      },
     ),
    ("object.transform_axis_target", {"type": 'Y', "value": 'PRESS', "shift": True}, None),
    ("transform.skin_resize", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_snap_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'ACCENT_GRAVE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.show_gizmo'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'PERIOD', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_pivot_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'COMMA', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_orientations_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": ';', "value": 'PRESS'},
     {"properties":
      [("name", 'VIEW3D_MT_shading_pie'),
       ],
      },
     ),
    ("view3d.toggle_shading",
     {"type": ';', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'WIREFRAME'),
       ],
      },
     ),
    ("view3d.toggle_xray", {"type": ';', "value": 'PRESS', "alt": True}, None),
    ("wm.context_toggle",
     {"type": ';', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("data_path", 'space_data.overlay.show_overlays'),
       ],
      },
     ),
    ("wm.tool_set_by_id",
     {"type": ',', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.select_box'),
       ("cycle", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Select",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("uv.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Select Box",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("uv.select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("uv.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("uv.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Select Circle",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("uv.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("uv.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("uv.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Select Lasso",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("uv.select_lasso", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("uv.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("uv.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Cursor",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("uv.cursor_set", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("cursor_transform", True),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Pose, Breakdowner",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("pose.breakdown", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Pose, Push",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("pose.push", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Pose, Relax",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("pose.relax", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Armature, Roll",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'BONE_ROLL'),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Armature, Bone Size",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'BONE_SIZE'),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Armature, Bone Envelope",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'BONE_ENVELOPE'),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Armature, Extrude",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("armature.extrude_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Armature, Extrude to Cursor",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("armature.click_extrude", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Extrude Region",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.extrude_context_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Extrude Along Normals",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.extrude_region_shrink_fatten",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_shrink_fatten",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Extrude Individual",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.extrude_faces_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_shrink_fatten",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Extrude to Cursor",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.dupli_extrude_cursor", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Inset Faces",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.inset",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Bevel",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.bevel",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Loop Cut",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.loopcut_slide",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("TRANSFORM_OT_edge_slide",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Offset Edge Loop Cut",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.offset_edge_loops_slide", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Knife",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.knife_tool",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Bisect",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.bisect", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Poly Build",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.polybuild_face_at_cursor_move",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ("mesh.polybuild_split_at_cursor_move",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ("mesh.polybuild_dissolve_at_cursor", {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Spin",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.spin", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Spin Duplicates",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.spin",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("dupli", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Smooth",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.vertices_smooth",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("factor", 0.0),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Randomize",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.vertex_random",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("offset", 0.0),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Edge Slide",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.edge_slide",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Vertex Slide",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.vert_slide",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Shrink/Fatten",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.shrink_fatten",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Push/Pull",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.push_pull",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Shear",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.shear",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, To Sphere",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.tosphere",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Rip Region",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.rip_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Rip Edge",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("mesh.rip_edge_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Draw",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("curve.draw",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Extrude",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("curve.extrude_move",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("TRANSFORM_OT_translate",
        [("release_confirm", True),
         ],
        ),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Extrude Cursor",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("curve.vertex_add", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Radius",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'CURVE_SHRINKFATTEN'),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Tilt",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.tilt",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Curve, Randomize",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.vertex_random",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("offset", 0.0),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt, Box Mask",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt, Lasso Mask",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("paint.mask_lasso_gesture",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("value", 1.0),
       ],
      },
     ),
    ("paint.mask_lasso_gesture",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("value", 0.0),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt, Box Hide",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("paint.hide_show",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("action", 'HIDE'),
       ],
      },
     ),
    ("paint.hide_show",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("action", 'SHOW'),
       ],
      },
     ),
    ("paint.hide_show",
     {"type": 'LEFTMOUSE', "value": 'CLICK'},
     {"properties":
      [("action", 'SHOW'),
       ("area", 'ALL'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Paint Weight, Gradient",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("paint.weight_gradient", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Weight, Sample Weight",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("paint.weight_sample", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Weight, Sample Vertex Group",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("paint.weight_sample_group", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Cutter",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.stroke_cutter", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Line",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.primitive",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("type", 'LINE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LINE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'LINE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Arc",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.primitive",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("type", 'ARC'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'ARC'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'ARC'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Curve",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.primitive",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("type", 'CURVE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Box",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.primitive",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("type", 'BOX'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'BOX'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'BOX'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Paint Gpencil, Circle",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.primitive",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("type", 'CIRCLE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'CIRCLE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.primitive",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'CIRCLE'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_lasso", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Select",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Select Box",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Select Circle",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Select Lasso",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_lasso", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Extrude",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [],
   },
  ),
 ("3D View Tool: Edit Gpencil, Radius",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'CURVE_SHRINKFATTEN'),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Bend",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.bend",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, Shear",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.shear",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Edit Gpencil, To Sphere",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.tosphere",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Gizmos",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [],
   },
  ),
 ("Generic Gizmo",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gizmogroup.gizmo_tweak", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("Generic Gizmo Maybe Drag",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gizmogroup.gizmo_tweak", {"type": 'EVT_TWEAK_L', "value": 'ANY', "any": True}, None),
    ],
   },
  ),
 ("Generic Gizmo Tweak Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("PRECISION_ON", {"type": 'RIGHT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("PRECISION_OFF", {"type": 'RIGHT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("PRECISION_ON", {"type": 'LEFT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("PRECISION_OFF", {"type": 'LEFT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("SNAP_ON", {"type": 'RIGHT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_OFF", {"type": 'RIGHT_CTRL', "value": 'RELEASE', "any": True}, None),
    ("SNAP_ON", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("View3D Gesture Circle",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'ANY', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS'}, None),
    ("SELECT", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("DESELECT", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("NOP", {"type": 'LEFTMOUSE', "value": 'RELEASE', "any": True}, None),
    ("DESELECT", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("NOP", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("SUBTRACT", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
    ("SUBTRACT", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("ADD", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
    ("ADD", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("SIZE", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ],
   },
  ),
 ("Gesture Box",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("SELECT", {"type": 'RIGHTMOUSE', "value": 'RELEASE', "any": True}, None),
    ("BEGIN", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("DESELECT", {"type": 'LEFTMOUSE', "value": 'RELEASE', "shift": True}, None),
    ("BEGIN", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("SELECT", {"type": 'LEFTMOUSE', "value": 'RELEASE', "any": True}, None),
    ("BEGIN", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("DESELECT", {"type": 'MIDDLEMOUSE', "value": 'RELEASE'}, None),
    ],
   },
  ),
 ("Gesture Zoom Border",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'ANY', "any": True}, None),
    ("BEGIN", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("IN", {"type": 'LEFTMOUSE', "value": 'RELEASE'}, None),
    ("BEGIN", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("OUT", {"type": 'MIDDLEMOUSE', "value": 'RELEASE'}, None),
    ],
   },
  ),
 ("Gesture Straight Line",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'ANY', "any": True}, None),
    ("BEGIN", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("SELECT", {"type": 'LEFTMOUSE', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("Header",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [],
   },
  ),
 ("Standard Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("APPLY", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None),
    ("APPLY", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("APPLY", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("SNAP", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("Animation Channels",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("anim.channels_click", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("anim.channels_click",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("anim.channels_click",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("children_only", True),
       ],
      },
     ),
    ("anim.channels_rename", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("anim.channels_rename", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
    ("anim.channel_select_keys", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
    ("anim.channel_select_keys",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("anim.channels_find", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("anim.channels_select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("anim.channels_select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("anim.channels_select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("anim.channels_select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("anim.channels_select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("anim.channels_delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("anim.channels_delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("anim.channels_setting_toggle", {"type": ',', "value": 'PRESS', "shift": True}, None),
    ("anim.channels_setting_enable", {"type": ',', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("anim.channels_setting_disable", {"type": ',', "value": 'PRESS', "alt": True}, None),
    ("anim.channels_editable_toggle", {"type": 'TAB', "value": 'PRESS'}, None),
    ("anim.channels_expand", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("anim.channels_collapse", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("anim.channels_expand",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("all", False),
       ],
      },
     ),
    ("anim.channels_collapse",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("all", False),
       ],
      },
     ),
    ("anim.channels_move",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("direction", 'UP'),
       ],
      },
     ),
    ("anim.channels_move",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("direction", 'DOWN'),
       ],
      },
     ),
    ("anim.channels_move",
     {"type": 'PAGE_UP', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'TOP'),
       ],
      },
     ),
    ("anim.channels_move",
     {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'BOTTOM'),
       ],
      },
     ),
    ("anim.channels_group", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("anim.channels_ungroup", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'DOPESHEET_MT_channel_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("Grease Pencil Stroke Weight Mode",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.sculpt_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.sculpt_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_sculpt.weight_brush.strength'),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.gpencil_sculpt.weight_brush.size'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_edit_lines'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": '\'', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("data_path", 'space_data.overlay.use_gpencil_multiedit_line_only'),
       ],
      },
     ),
    ],
   },
  ),
 ("Knife Tool Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("PANNING", {"type": 'MIDDLEMOUSE', "value": 'ANY', "any": True}, None),
    ("ADD_CUT_CLOSED", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "any": True}, None),
    ("ADD_CUT", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'SPACE', "value": 'PRESS', "any": True}, None),
    ("NEW_CUT", {"type": 'E', "value": 'PRESS'}, None),
    ("SNAP_MIDPOINTS_ON", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_MIDPOINTS_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),
    ("SNAP_MIDPOINTS_ON", {"type": 'RIGHT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_MIDPOINTS_OFF", {"type": 'RIGHT_CTRL', "value": 'RELEASE', "any": True}, None),
    ("IGNORE_SNAP_ON", {"type": 'LEFT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("IGNORE_SNAP_OFF", {"type": 'LEFT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("IGNORE_SNAP_ON", {"type": 'RIGHT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("IGNORE_SNAP_OFF", {"type": 'RIGHT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("ANGLE_SNAP_TOGGLE", {"type": 'J', "value": 'PRESS'}, None),
    ("CUT_THROUGH_TOGGLE", {"type": ';', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Custom Normals Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("RESET", {"type": 'P', "value": 'PRESS'}, None),
    ("INVERT", {"type": 'C', "value": 'PRESS'}, None),
    ("SPHERIZE", {"type": 'R', "value": 'PRESS'}, None),
    ("ALIGN", {"type": 'A', "value": 'PRESS'}, None),
    ("USE_MOUSE", {"type": 'M', "value": 'PRESS'}, None),
    ("USE_PIVOT", {"type": 'N', "value": 'PRESS'}, None),
    ("USE_OBJECT", {"type": 'P', "value": 'PRESS'}, None),
    ("SET_USE_3DCURSOR", {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ("SET_USE_SELECTED", {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True}, None),
    ],
   },
  ),
 ("Bevel Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ("VALUE_OFFSET", {"type": 'A', "value": 'PRESS', "any": True}, None),
    ("VALUE_PROFILE", {"type": 'L', "value": 'PRESS', "any": True}, None),
    ("VALUE_SEGMENTS", {"type": 'R', "value": 'PRESS', "any": True}, None),
    ("SEGMENTS_UP", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "any": True}, None),
    ("SEGMENTS_UP", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "any": True}, None),
    ("SEGMENTS_DOWN", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "any": True}, None),
    ("SEGMENTS_DOWN", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "any": True}, None),
    ("OFFSET_MODE_CHANGE", {"type": 'M', "value": 'PRESS', "any": True}, None),
    ("CLAMP_OVERLAP_TOGGLE", {"type": 'J', "value": 'PRESS', "any": True}, None),
    ("VERTEX_ONLY_TOGGLE", {"type": 'K', "value": 'PRESS', "any": True}, None),
    ("HARDEN_NORMALS_TOGGLE", {"type": 'D', "value": 'PRESS', "any": True}, None),
    ("MARK_SEAM_TOGGLE", {"type": 'G', "value": 'PRESS', "any": True}, None),
    ("MARK_SHARP_TOGGLE", {"type": 'T', "value": 'PRESS', "any": True}, None),
    ("OUTER_MITER_CHANGE", {"type": 'P', "value": 'PRESS', "any": True}, None),
    ("INNER_MITER_CHANGE", {"type": 'C', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("UV Editor",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "shift": True},
     {"properties":
      [("use_extend", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("use_expand", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'ONE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'VERT'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'TWO', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'EDGE'),
       ],
      },
     ),
    ("mesh.select_mode",
     {"type": 'THREE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("use_extend", True),
       ("use_expand", True),
       ("type", 'FACE'),
       ],
      },
     ),
    ("mesh.select_mode", {"type": 'FOUR', "value": 'PRESS'}, None),
    ("wm.context_set_enum",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.uv_select_mode'),
       ("value", 'VERTEX'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.uv_select_mode'),
       ("value", 'EDGE'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.uv_select_mode'),
       ("value", 'FACE'),
       ],
      },
     ),
    ("wm.context_set_enum",
     {"type": 'FOUR', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.uv_select_mode'),
       ("value", 'ISLAND'),
       ],
      },
     ),
    ("uv.mark_seam", {"type": 'E', "value": 'PRESS', "ctrl": True}, None),
    ("uv.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ],
      },
     ),
    ("uv.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("uv.select_loop",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("uv.select_loop",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("uv.select_split", {"type": 'F', "value": 'PRESS'}, None),
    ("uv.select_box",
     {"type": 'X', "value": 'PRESS'},
     {"properties":
      [("pinned", False),
       ],
      },
     ),
    ("uv.select_box",
     {"type": 'X', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("pinned", True),
       ],
      },
     ),
    ("uv.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("uv.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("uv.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("uv.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("uv.select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("extend", True),
       ("deselect", False),
       ],
      },
     ),
    ("uv.select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", False),
       ("deselect", True),
       ],
      },
     ),
    ("uv.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("uv.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("uv.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("uv.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("uv.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("uv.select_pinned", {"type": 'L', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": ',', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'IMAGE_MT_uvs_weldalign'),
       ],
      },
     ),
    ("uv.stitch", {"type": 'K', "value": 'PRESS'}, None),
    ("uv.pin",
     {"type": 'L', "value": 'PRESS'},
     {"properties":
      [("clear", False),
       ],
      },
     ),
    ("uv.pin",
     {"type": 'L', "value": 'PRESS', "alt": True},
     {"properties":
      [("clear", True),
       ],
      },
     ),
    ("uv.unwrap", {"type": 'G', "value": 'PRESS'}, None),
    ("uv.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("uv.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("uv.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'IMAGE_MT_uvs_snap_pie'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("name", 'IMAGE_MT_uvs_select_mode'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit'),
       ],
      },
     ),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.shear", {"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("transform.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("wm.context_toggle",
     {"type": 'TAB', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.use_snap'),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("data_path", 'tool_settings.snap_uv_element'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'IMAGE_MT_uvs_context_menu'),
       ],
      },
     ),
    ("uv.select_loop",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("uv.select_loop",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK', "alt": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("uv.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("transform.translate",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True},
     {"properties":
      [("cursor_transform", True),
       ("release_confirm", True),
       ],
      },
     ),
    ("wm.tool_set_by_id",
     {"type": ',', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.select_box'),
       ("cycle", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Paint Stroke Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("Mask Editing",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("mask.new", {"type": 'B', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'MASK_MT_add'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_edit_mask'),
       ],
      },
     ),
    ("mask.add_vertex_slide", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("mask.add_feather_vertex_slide", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("mask.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("mask.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("mask.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", False),
       ("deselect", False),
       ("toggle", True),
       ],
      },
     ),
    ("mask.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("mask.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("mask.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("mask.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("mask.select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("deselect", False),
       ],
      },
     ),
    ("mask.select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("deselect", True),
       ],
      },
     ),
    ("mask.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("mask.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("mask.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("mask.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("mask.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("mask.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("mask.hide_view_clear", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("mask.hide_view_set",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("mask.hide_view_set",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("clip.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("mask.cyclic_toggle", {"type": 'J', "value": 'PRESS', "alt": True}, None),
    ("mask.slide_point", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("mask.slide_spline_curvature", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("mask.handle_type_set", {"type": 'K', "value": 'PRESS'}, None),
    ("mask.normals_make_consistent", {"type": 'B', "value": 'PRESS', "shift": True}, None),
    ("mask.parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("mask.parent_clear", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("mask.shape_key_insert", {"type": 'C', "value": 'PRESS'}, None),
    ("mask.shape_key_clear", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("mask.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("mask.copy_splines", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("mask.paste_splines", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'MASK_SHRINKFATTEN'),
       ],
      },
     ),
    ("uv.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("transform.translate",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True},
     {"properties":
      [("cursor_transform", True),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Eyedropper Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'RET', "value": 'RELEASE', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'RELEASE', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'LEFTMOUSE', "value": 'RELEASE', "any": True}, None),
    ("SAMPLE_BEGIN", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ("SAMPLE_RESET", {"type": 'SPACE', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("Eyedropper ColorRamp PointSampling Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'BACK_SPACE', "value": 'PRESS', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'RET', "value": 'RELEASE', "any": True}, None),
    ("SAMPLE_CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'RELEASE', "any": True}, None),
    ("SAMPLE_SAMPLE", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ("SAMPLE_RESET", {"type": 'SPACE', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("Transform Modal Map",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CONFIRM", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True}, None),
    ("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("AXIS_X", {"type": 'Q', "value": 'PRESS'}, None),
    ("AXIS_Y", {"type": 'F', "value": 'PRESS'}, None),
    ("AXIS_Z", {"type": ';', "value": 'PRESS'}, None),
    ("PLANE_X", {"type": 'Q', "value": 'PRESS', "shift": True}, None),
    ("PLANE_Y", {"type": 'F', "value": 'PRESS', "shift": True}, None),
    ("PLANE_Z", {"type": ';', "value": 'PRESS', "shift": True}, None),
    ("CONS_OFF", {"type": 'J', "value": 'PRESS'}, None),
    ("TRANSLATE", {"type": 'I', "value": 'PRESS'}, None),
    ("ROTATE", {"type": 'P', "value": 'PRESS'}, None),
    ("RESIZE", {"type": 'R', "value": 'PRESS'}, None),
    ("SNAP_TOGGLE", {"type": 'TAB', "value": 'PRESS', "shift": True}, None),
    ("SNAP_INV_ON", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_INV_OFF", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),
    ("SNAP_INV_ON", {"type": 'RIGHT_CTRL', "value": 'PRESS', "any": True}, None),
    ("SNAP_INV_OFF", {"type": 'RIGHT_CTRL', "value": 'RELEASE', "any": True}, None),
    ("ADD_SNAP", {"type": 'A', "value": 'PRESS'}, None),
    ("REMOVE_SNAP", {"type": 'A', "value": 'PRESS', "alt": True}, None),
    ("PROPORTIONAL_SIZE_UP", {"type": 'PAGE_UP', "value": 'PRESS'}, None),
    ("PROPORTIONAL_SIZE_DOWN", {"type": 'PAGE_DOWN', "value": 'PRESS'}, None),
    ("PROPORTIONAL_SIZE_UP", {"type": 'PAGE_UP', "value": 'PRESS', "shift": True}, None),
    ("PROPORTIONAL_SIZE_DOWN", {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True}, None),
    ("PROPORTIONAL_SIZE_UP", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'}, None),
    ("PROPORTIONAL_SIZE_DOWN", {"type": 'WHEELUPMOUSE', "value": 'PRESS'}, None),
    ("PROPORTIONAL_SIZE_UP", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "shift": True}, None),
    ("PROPORTIONAL_SIZE_DOWN", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "shift": True}, None),
    ("PROPORTIONAL_SIZE", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("EDGESLIDE_EDGE_NEXT", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "alt": True}, None),
    ("EDGESLIDE_PREV_NEXT", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "alt": True}, None),
    ("AUTOIK_CHAIN_LEN_UP", {"type": 'PAGE_UP', "value": 'PRESS', "shift": True}, None),
    ("AUTOIK_CHAIN_LEN_DOWN", {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True}, None),
    ("AUTOIK_CHAIN_LEN_UP", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "shift": True}, None),
    ("AUTOIK_CHAIN_LEN_DOWN", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "shift": True}, None),
    ("INSERTOFS_TOGGLE_DIR", {"type": 'Y', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("View3D Fly Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'RIGHTMOUSE', "value": 'ANY', "any": True}, None),
    ("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'SPACE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("ACCELERATE", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "any": True}, None),
    ("DECELERATE", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "any": True}, None),
    ("ACCELERATE", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "any": True}, None),
    ("DECELERATE", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("PAN_ENABLE", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "any": True}, None),
    ("PAN_DISABLE", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("FORWARD", {"type": ',', "value": 'PRESS'}, None),
    ("BACKWARD", {"type": 'R', "value": 'PRESS'}, None),
    ("LEFT", {"type": 'A', "value": 'PRESS'}, None),
    ("RIGHT", {"type": 'D', "value": 'PRESS'}, None),
    ("UP", {"type": 'E', "value": 'PRESS'}, None),
    ("DOWN", {"type": '\'', "value": 'PRESS'}, None),
    ("UP", {"type": 'P', "value": 'PRESS'}, None),
    ("DOWN", {"type": 'U', "value": 'PRESS'}, None),
    ("FORWARD", {"type": 'UP_ARROW', "value": 'PRESS'}, None),
    ("BACKWARD", {"type": 'DOWN_ARROW', "value": 'PRESS'}, None),
    ("LEFT", {"type": 'LEFT_ARROW', "value": 'PRESS'}, None),
    ("RIGHT", {"type": 'RIGHT_ARROW', "value": 'PRESS'}, None),
    ("AXIS_LOCK_X", {"type": 'Q', "value": 'PRESS'}, None),
    ("AXIS_LOCK_Z", {"type": ';', "value": 'PRESS'}, None),
    ("PRECISION_ENABLE", {"type": 'LEFT_ALT', "value": 'PRESS', "any": True}, None),
    ("PRECISION_DISABLE", {"type": 'LEFT_ALT', "value": 'RELEASE', "any": True}, None),
    ("PRECISION_ENABLE", {"type": 'LEFT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("PRECISION_DISABLE", {"type": 'LEFT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("FREELOOK_ENABLE", {"type": 'LEFT_CTRL', "value": 'PRESS', "any": True}, None),
    ("FREELOOK_DISABLE", {"type": 'LEFT_CTRL', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("View3D Walk Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CANCEL", {"type": 'RIGHTMOUSE', "value": 'ANY', "any": True}, None),
    ("CANCEL", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'LEFTMOUSE', "value": 'ANY', "any": True}, None),
    ("CONFIRM", {"type": 'RET', "value": 'PRESS', "any": True}, None),
    ("CONFIRM", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "any": True}, None),
    ("FAST_ENABLE", {"type": 'LEFT_SHIFT', "value": 'PRESS', "any": True}, None),
    ("FAST_DISABLE", {"type": 'LEFT_SHIFT', "value": 'RELEASE', "any": True}, None),
    ("SLOW_ENABLE", {"type": 'LEFT_ALT', "value": 'PRESS', "any": True}, None),
    ("SLOW_DISABLE", {"type": 'LEFT_ALT', "value": 'RELEASE', "any": True}, None),
    ("FORWARD", {"type": ',', "value": 'PRESS', "any": True}, None),
    ("BACKWARD", {"type": 'R', "value": 'PRESS', "any": True}, None),
    ("LEFT", {"type": 'A', "value": 'PRESS', "any": True}, None),
    ("RIGHT", {"type": 'D', "value": 'PRESS', "any": True}, None),
    ("UP", {"type": 'E', "value": 'PRESS', "any": True}, None),
    ("DOWN", {"type": '\'', "value": 'PRESS', "any": True}, None),
    ("FORWARD_STOP", {"type": ',', "value": 'RELEASE', "any": True}, None),
    ("BACKWARD_STOP", {"type": 'R', "value": 'RELEASE', "any": True}, None),
    ("LEFT_STOP", {"type": 'A', "value": 'RELEASE', "any": True}, None),
    ("RIGHT_STOP", {"type": 'D', "value": 'RELEASE', "any": True}, None),
    ("UP_STOP", {"type": 'E', "value": 'RELEASE', "any": True}, None),
    ("DOWN_STOP", {"type": '\'', "value": 'RELEASE', "any": True}, None),
    ("FORWARD", {"type": 'UP_ARROW', "value": 'PRESS'}, None),
    ("BACKWARD", {"type": 'DOWN_ARROW', "value": 'PRESS'}, None),
    ("LEFT", {"type": 'LEFT_ARROW', "value": 'PRESS'}, None),
    ("RIGHT", {"type": 'RIGHT_ARROW', "value": 'PRESS'}, None),
    ("FORWARD_STOP", {"type": 'UP_ARROW', "value": 'RELEASE', "any": True}, None),
    ("BACKWARD_STOP", {"type": 'DOWN_ARROW', "value": 'RELEASE', "any": True}, None),
    ("LEFT_STOP", {"type": 'LEFT_ARROW', "value": 'RELEASE', "any": True}, None),
    ("RIGHT_STOP", {"type": 'RIGHT_ARROW', "value": 'RELEASE', "any": True}, None),
    ("GRAVITY_TOGGLE", {"type": 'TAB', "value": 'PRESS'}, None),
    ("GRAVITY_TOGGLE", {"type": 'I', "value": 'PRESS'}, None),
    ("JUMP", {"type": 'K', "value": 'PRESS', "any": True}, None),
    ("JUMP_STOP", {"type": 'K', "value": 'RELEASE', "any": True}, None),
    ("TELEPORT", {"type": 'SPACE', "value": 'PRESS', "any": True}, None),
    ("TELEPORT", {"type": 'MIDDLEMOUSE', "value": 'ANY', "any": True}, None),
    ("ACCELERATE", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "any": True}, None),
    ("DECELERATE", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "any": True}, None),
    ("ACCELERATE", {"type": 'WHEELUPMOUSE', "value": 'PRESS', "any": True}, None),
    ("DECELERATE", {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("View3D Rotate Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CONFIRM", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("CONFIRM", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ("AXIS_SNAP_ENABLE", {"type": 'LEFT_ALT', "value": 'PRESS', "any": True}, None),
    ("AXIS_SNAP_DISABLE", {"type": 'LEFT_ALT', "value": 'RELEASE', "any": True}, None),
    ],
   },
  ),
 ("View3D Move Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CONFIRM", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("CONFIRM", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("View3D Zoom Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CONFIRM", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("CONFIRM", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("View3D Dolly Modal",
  {"space_type": 'EMPTY', "region_type": 'WINDOW', "modal": True},
  {"items":
   [("CONFIRM", {"type": 'MIDDLEMOUSE', "value": 'RELEASE', "any": True}, None),
    ("CONFIRM", {"type": 'ESC', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("Graph Editor Generic",
  {"space_type": 'GRAPH_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("graph.extrapolation_type", {"type": 'E', "value": 'PRESS', "shift": True}, None),
    ("anim.channels_find", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("graph.hide",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("graph.hide",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("graph.reveal", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("wm.context_set_enum",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'area.type'),
       ("value", 'DOPESHEET_EDITOR'),
       ],
      },
     ),
    ],
   },
  ),
 ("Graph Editor",
  {"space_type": 'GRAPH_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'D', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.show_handles'),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ("column", False),
       ("curves", False),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("extend", False),
       ("column", True),
       ("curves", False),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ("column", False),
       ("curves", False),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ("column", True),
       ("curves", False),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("extend", False),
       ("column", False),
       ("curves", True),
       ],
      },
     ),
    ("graph.clickselect",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("extend", True),
       ("column", False),
       ("curves", True),
       ],
      },
     ),
    ("graph.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", False),
       ],
      },
     ),
    ("graph.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", True),
       ],
      },
     ),
    ("graph.select_leftright",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'LEFT'),
       ("extend", False),
       ],
      },
     ),
    ("graph.select_leftright",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'RIGHT'),
       ("extend", False),
       ],
      },
     ),
    ("graph.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("graph.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("graph.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'X', "value": 'PRESS'},
     {"properties":
      [("axis_range", False),
       ("include_handles", False),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'X', "value": 'PRESS', "alt": True},
     {"properties":
      [("axis_range", True),
       ("include_handles", False),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'X', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("axis_range", False),
       ("include_handles", True),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'X', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("axis_range", True),
       ("include_handles", True),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ("mode", 'SET'),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("tweak", True),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("graph.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("tweak", True),
       ("mode", 'SUB'),
       ],
      },
     ),
    ("graph.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("graph.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("graph.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("graph.select_column",
     {"type": 'T', "value": 'PRESS'},
     {"properties":
      [("mode", 'KEYS'),
       ],
      },
     ),
    ("graph.select_column",
     {"type": 'T', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'CFRA'),
       ],
      },
     ),
    ("graph.select_column",
     {"type": 'T', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'MARKERS_COLUMN'),
       ],
      },
     ),
    ("graph.select_column",
     {"type": 'T', "value": 'PRESS', "alt": True},
     {"properties":
      [("mode", 'MARKERS_BETWEEN'),
       ],
      },
     ),
    ("graph.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("graph.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("graph.select_linked", {"type": 'N', "value": 'PRESS'}, None),
    ("graph.frame_jump", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'GRAPH_MT_snap_pie'),
       ],
      },
     ),
    ("graph.mirror", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("graph.handle_type", {"type": 'K', "value": 'PRESS'}, None),
    ("graph.interpolation_type", {"type": 'Y', "value": 'PRESS'}, None),
    ("graph.easing_type", {"type": 'E', "value": 'PRESS', "ctrl": True}, None),
    ("graph.smooth", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("graph.sample", {"type": 'P', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("graph.bake", {"type": 'J', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'Q', "value": 'PRESS'},
     {"properties":
      [("name", 'GRAPH_MT_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("name", 'GRAPH_MT_delete'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'GRAPH_MT_context_menu'),
       ],
      },
     ),
    ("graph.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("graph.keyframe_insert", {"type": 'C', "value": 'PRESS'}, None),
    ("graph.click_insert",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("graph.click_insert",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("graph.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("graph.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("graph.paste",
     {"type": 'K', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("flipped", True),
       ],
      },
     ),
    ("graph.previewrange_set", {"type": 'L', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("graph.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("graph.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("graph.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("graph.view_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("graph.fmodifier_add",
     {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("only_active", False),
       ],
      },
     ),
    ("anim.channels_editable_toggle", {"type": 'TAB', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.transform",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_EXTEND'),
       ],
      },
     ),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'tool_settings.use_proportional_fcurve'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'VIEW3D_MT_proportional_editing_falloff_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'PERIOD', "value": 'PRESS'},
     {"properties":
      [("name", 'GRAPH_MT_pivot_pie'),
       ],
      },
     ),
    ("marker.add", {"type": 'M', "value": 'PRESS'}, None),
    ("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ("graph.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ],
   },
  ),
 ("Image Generic",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_toolbar'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("image.new", {"type": 'B', "value": 'PRESS', "alt": True}, None),
    ("image.open", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("image.reload", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("image.read_viewlayers", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
    ("image.save", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("image.save_as", {"type": 'R', "value": 'PRESS', "shift": True}, None),
    ("image.cycle_render_slot", {"type": 'H', "value": 'PRESS'}, None),
    ("image.cycle_render_slot",
     {"type": 'H', "value": 'PRESS', "alt": True},
     {"properties":
      [("reverse", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Image",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.call_menu_pie",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("name", 'MACHIN3_MT_modes_pie'),
       ],
      },
     ),
    ("image.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("image.view_all",
     {"type": 'HOME', "value": 'PRESS', "shift": True},
     {"properties":
      [("fit_view", True),
       ],
      },
     ),
    ("image.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("image.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("image.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
    ("image.view_pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("image.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("image.view_ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
    ("image.view_zoom_in", {"type": 'WHEELINMOUSE', "value": 'PRESS'}, None),
    ("image.view_zoom_out", {"type": 'WHEELOUTMOUSE', "value": 'PRESS'}, None),
    ("image.view_zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("image.view_zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("image.view_zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("image.view_zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
    ("image.view_zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
    ("image.view_zoom_border", {"type": 'X', "value": 'PRESS', "shift": True}, None),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 8.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 4.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 2.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 8.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 4.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 2.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_1', "value": 'PRESS'},
     {"properties":
      [("ratio", 1.0),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.5),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.25),
       ],
      },
     ),
    ("image.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.125),
       ],
      },
     ),
    ("image.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("image.sample", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("image.curves_point_set",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("point", 'BLACK_POINT'),
       ],
      },
     ),
    ("image.curves_point_set",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("point", 'WHITE_POINT'),
       ],
      },
     ),
    ("object.mode_set",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("mode", 'EDIT'),
       ("toggle", True),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 0),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 1),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 2),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'FOUR', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 3),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'FIVE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 4),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'SIX', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 5),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'SEVEN', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 6),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'EIGHT', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 7),
       ],
      },
     ),
    ("wm.context_set_int",
     {"type": 'NINE', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.image.render_slots.active_index'),
       ("value", 8),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'PERIOD', "value": 'PRESS'},
     {"properties":
      [("name", 'IMAGE_MT_pivot_pie'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'IMAGE_MT_mask_context_menu'),
       ],
      },
     ),
    ("image.render_border", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
    ("image.clear_render_border", {"type": 'X', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ],
   },
  ),
 ("Node Generic",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_toolbar'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Editor",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True, "alt": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("node.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ],
      },
     ),
    ("node.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("node.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("node.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("node.link",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("detach", False),
       ],
      },
     ),
    ("node.link",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("detach", True),
       ],
      },
     ),
    ("node.resize", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("node.add_reroute", {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True}, None),
    ("node.links_cut", {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True}, None),
    ("node.select_link_viewer", {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("node.backimage_move", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "alt": True}, None),
    ("node.backimage_zoom",
     {"type": 'K', "value": 'PRESS'},
     {"properties":
      [("factor", 0.8333333),
       ],
      },
     ),
    ("node.backimage_zoom",
     {"type": 'K', "value": 'PRESS', "alt": True},
     {"properties":
      [("factor", 1.2),
       ],
      },
     ),
    ("node.backimage_fit", {"type": 'HOME', "value": 'PRESS', "alt": True}, None),
    ("node.backimage_sample", {"type": 'RIGHTMOUSE', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'NODE_MT_context_menu'),
       ],
      },
     ),
    ("node.link_make",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("replace", False),
       ],
      },
     ),
    ("node.link_make",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("replace", True),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'NODE_MT_add'),
       ],
      },
     ),
    ("node.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("node.duplicate_move_keep_inputs", {"type": 'D', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("node.parent_set", {"type": 'L', "value": 'PRESS', "ctrl": True}, None),
    ("node.detach", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("node.join", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
    ("node.hide_toggle", {"type": 'D', "value": 'PRESS'}, None),
    ("node.mute_toggle", {"type": 'M', "value": 'PRESS'}, None),
    ("node.preview_toggle", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("node.hide_socket_toggle", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("node.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("node.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("node.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("node.select_box",
     {"type": 'X', "value": 'PRESS'},
     {"properties":
      [("tweak", False),
       ],
      },
     ),
    ("node.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("node.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("node.delete_reconnect", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("node.delete_reconnect", {"type": 'DEL', "value": 'PRESS', "ctrl": True}, None),
    ("node.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("node.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("node.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("node.select_linked_to", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("node.select_linked_from", {"type": 'N', "value": 'PRESS'}, None),
    ("node.select_grouped",
     {"type": 'I', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("node.select_grouped",
     {"type": 'I', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("node.select_same_type_step",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("prev", False),
       ],
      },
     ),
    ("node.select_same_type_step",
     {"type": 'LEFT_BRACKET', "value": 'PRESS', "shift": True},
     {"properties":
      [("prev", True),
       ],
      },
     ),
    ("node.find_node", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("node.group_make", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("node.group_ungroup", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("node.group_separate", {"type": 'L', "value": 'PRESS'}, None),
    ("node.group_edit",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("exit", False),
       ],
      },
     ),
    ("node.group_edit",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("exit", True),
       ],
      },
     ),
    ("node.read_viewlayers", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
    ("node.render_changed", {"type": ';', "value": 'PRESS'}, None),
    ("node.clipboard_copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("node.clipboard_paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("node.viewer_border", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
    ("node.clear_viewer_border", {"type": 'X', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("node.translate_attach", {"type": 'I', "value": 'PRESS'}, None),
    ("node.translate_attach", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("node.translate_attach", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.translate",
     {"type": 'I', "value": 'PRESS'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("node.move_detach_links", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("node.move_detach_links_release", {"type": 'EVT_TWEAK_R', "value": 'ANY', "alt": True}, None),
    ("node.move_detach_links", {"type": 'EVT_TWEAK_L', "value": 'ANY', "alt": True}, None),
    ("wm.context_toggle",
     {"type": 'TAB', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'tool_settings.use_snap'),
       ],
      },
     ),
    ("wm.context_menu_enum",
     {"type": 'TAB', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("data_path", 'tool_settings.snap_node_element'),
       ],
      },
     ),
    ],
   },
  ),
 ("Info",
  {"space_type": 'INFO', "region_type": 'WINDOW'},
  {"items":
   [("info.select_pick", {"type": 'LEFTMOUSE', "value": 'CLICK'}, None),
    ("info.select_pick",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("info.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("info.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("info.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("info.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("info.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("info.report_replay", {"type": 'P', "value": 'PRESS'}, None),
    ("info.report_delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("info.report_delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("info.report_copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("File Browser",
  {"space_type": 'FILE_BROWSER', "region_type": 'WINDOW'},
  {"items":
   [("file.parent", {"type": 'UP_ARROW', "value": 'PRESS', "alt": True}, None),
    ("file.previous", {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True}, None),
    ("file.next", {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True}, None),
    ("file.refresh", {"type": 'P', "value": 'PRESS'}, None),
    ("file.parent", {"type": 'L', "value": 'PRESS'}, None),
    ("file.previous", {"type": 'BACK_SPACE', "value": 'PRESS'}, None),
    ("file.next", {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True}, None),
    ("wm.context_toggle",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.params.show_hidden'),
       ],
      },
     ),
    ("file.directory_new", {"type": 'C', "value": 'PRESS'}, None),
    ("file.smoothscroll", {"type": 'TIMER1', "value": 'ANY', "any": True}, None),
    ("file.bookmark_toggle", {"type": 'Y', "value": 'PRESS'}, None),
    ("file.bookmark_add", {"type": 'X', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("File Browser Main",
  {"space_type": 'FILE_BROWSER', "region_type": 'WINDOW'},
  {"items":
   [("file.execute",
     {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'},
     {"properties":
      [("need_active", True),
       ],
      },
     ),
    ("file.refresh", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("file.select", {"type": 'LEFTMOUSE', "value": 'CLICK'}, None),
    ("file.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("file.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ("fill", True),
       ],
      },
     ),
    ("file.select",
     {"type": 'RIGHTMOUSE', "value": 'CLICK'},
     {"properties":
      [("open", False),
       ],
      },
     ),
    ("file.select",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "shift": True},
     {"properties":
      [("extend", True),
       ("open", False),
       ],
      },
     ),
    ("file.select",
     {"type": 'RIGHTMOUSE', "value": 'CLICK', "alt": True},
     {"properties":
      [("extend", True),
       ("fill", True),
       ("open", False),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'UP_ARROW', "value": 'PRESS'},
     {"properties":
      [("direction", 'UP'),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'UP_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'UP'),
       ("extend", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'UP_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'UP'),
       ("extend", True),
       ("fill", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'DOWN_ARROW', "value": 'PRESS'},
     {"properties":
      [("direction", 'DOWN'),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'DOWN'),
       ("extend", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'DOWN'),
       ("extend", True),
       ("fill", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'LEFT_ARROW', "value": 'PRESS'},
     {"properties":
      [("direction", 'LEFT'),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'LEFT'),
       ("extend", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'LEFT'),
       ("extend", True),
       ("fill", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'RIGHT_ARROW', "value": 'PRESS'},
     {"properties":
      [("direction", 'RIGHT'),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("direction", 'RIGHT'),
       ("extend", True),
       ],
      },
     ),
    ("file.select_walk",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'RIGHT'),
       ("extend", True),
       ("fill", True),
       ],
      },
     ),
    ("file.previous", {"type": 'BUTTON4MOUSE', "value": 'CLICK'}, None),
    ("file.next", {"type": 'BUTTON5MOUSE', "value": 'CLICK'}, None),
    ("file.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("file.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("file.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("file.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("file.select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("file.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("file.rename", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("file.highlight", {"type": 'MOUSEMOVE', "value": 'ANY', "any": True}, None),
    ("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS'},
     {"properties":
      [("increment", 1),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("increment", 10),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("increment", 100),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS'},
     {"properties":
      [("increment", -1),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("increment", -10),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("increment", -100),
       ],
      },
     ),
    ],
   },
  ),
 ("File Browser Buttons",
  {"space_type": 'FILE_BROWSER', "region_type": 'WINDOW'},
  {"items":
   [("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS'},
     {"properties":
      [("increment", 1),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("increment", 10),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("increment", 100),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS'},
     {"properties":
      [("increment", -1),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "shift": True},
     {"properties":
      [("increment", -10),
       ],
      },
     ),
    ("file.filenum",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("increment", -100),
       ],
      },
     ),
    ],
   },
  ),
 ("NLA Generic",
  {"space_type": 'NLA_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("nla.tweakmode_enter", {"type": 'TAB', "value": 'PRESS'}, None),
    ("nla.tweakmode_exit", {"type": 'TAB', "value": 'PRESS'}, None),
    ("nla.tweakmode_enter",
     {"type": 'TAB', "value": 'PRESS', "shift": True},
     {"properties":
      [("isolate_action", True),
       ],
      },
     ),
    ("nla.tweakmode_exit",
     {"type": 'TAB', "value": 'PRESS', "shift": True},
     {"properties":
      [("isolate_action", True),
       ],
      },
     ),
    ("anim.channels_find", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("NLA Channels",
  {"space_type": 'NLA_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("nla.channels_click",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("nla.channels_click",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("nla.tracks_add",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("above_selected", False),
       ],
      },
     ),
    ("nla.tracks_add",
     {"type": 'A', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("above_selected", True),
       ],
      },
     ),
    ("nla.tracks_delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("nla.tracks_delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'NLA_MT_channel_context_menu'),
       ],
      },
     ),
    ],
   },
  ),
 ("NLA Editor",
  {"space_type": 'NLA_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("nla.click_select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ],
      },
     ),
    ("nla.click_select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("nla.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", False),
       ],
      },
     ),
    ("nla.select_leftright",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'CHECK'),
       ("extend", True),
       ],
      },
     ),
    ("nla.select_leftright",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'LEFT'),
       ("extend", False),
       ],
      },
     ),
    ("nla.select_leftright",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("mode", 'RIGHT'),
       ("extend", False),
       ],
      },
     ),
    ("nla.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("nla.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("nla.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("nla.select_box",
     {"type": 'X', "value": 'PRESS'},
     {"properties":
      [("axis_range", False),
       ],
      },
     ),
    ("nla.select_box",
     {"type": 'X', "value": 'PRESS', "alt": True},
     {"properties":
      [("axis_range", True),
       ],
      },
     ),
    ("nla.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ("mode", 'SET'),
       ],
      },
     ),
    ("nla.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("tweak", True),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("nla.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("tweak", True),
       ("mode", 'SUB'),
       ],
      },
     ),
    ("nla.previewrange_set", {"type": 'L', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("nla.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("nla.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("nla.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("nla.view_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("nla.actionclip_add", {"type": 'A', "value": 'PRESS', "shift": True}, None),
    ("nla.transition_add", {"type": 'Y', "value": 'PRESS', "shift": True}, None),
    ("nla.soundclip_add", {"type": 'T', "value": 'PRESS', "shift": True}, None),
    ("nla.meta_add", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("nla.meta_remove", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("nla.duplicate",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("linked", False),
       ],
      },
     ),
    ("nla.duplicate",
     {"type": 'D', "value": 'PRESS', "alt": True},
     {"properties":
      [("linked", True),
       ],
      },
     ),
    ("nla.make_single_user", {"type": 'G', "value": 'PRESS'}, None),
    ("nla.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("nla.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("nla.split", {"type": 'F', "value": 'PRESS'}, None),
    ("nla.mute_toggle", {"type": 'D', "value": 'PRESS'}, None),
    ("nla.swap", {"type": 'U', "value": 'PRESS', "alt": True}, None),
    ("nla.move_up", {"type": 'PAGE_UP', "value": 'PRESS'}, None),
    ("nla.move_down", {"type": 'PAGE_DOWN', "value": 'PRESS'}, None),
    ("nla.apply_scale", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
    ("nla.clear_scale", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'NLA_MT_snap_pie'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'NLA_MT_context_menu'),
       ],
      },
     ),
    ("nla.fmodifier_add", {"type": 'M', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("transform.transform",
     {"type": 'I', "value": 'PRESS'},
     {"properties":
      [("mode", 'TRANSLATION'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'TRANSLATION'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_EXTEND'),
       ],
      },
     ),
    ("transform.transform",
     {"type": 'R', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_SCALE'),
       ],
      },
     ),
    ("marker.add", {"type": 'M', "value": 'PRESS'}, None),
    ("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Text Generic",
  {"space_type": 'TEXT_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("text.start_find", {"type": 'U', "value": 'PRESS', "ctrl": True}, None),
    ("text.jump", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
    ("text.find", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("text.replace", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Text",
  {"space_type": 'TEXT_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("text.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("text.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'WHEELUPMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", False),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", True),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", False),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", True),
       ],
      },
     ),
    ("text.new", {"type": 'B', "value": 'PRESS', "alt": True}, None),
    ("text.open", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("text.reload", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("text.save", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("text.save_as", {"type": 'R', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None),
    ("text.run_script", {"type": 'L', "value": 'PRESS', "alt": True}, None),
    ("text.cut", {"type": 'Q', "value": 'PRESS', "ctrl": True}, None),
    ("text.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("text.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("text.cut", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
    ("text.copy", {"type": 'INSERT', "value": 'PRESS', "ctrl": True}, None),
    ("text.paste", {"type": 'INSERT', "value": 'PRESS', "shift": True}, None),
    ("text.duplicate_line", {"type": 'D', "value": 'PRESS', "ctrl": True}, None),
    ("text.select_all", {"type": 'A', "value": 'PRESS', "ctrl": True}, None),
    ("text.select_line", {"type": 'A', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("text.select_word", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
    ("text.move_lines",
     {"type": 'UP_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'UP'),
       ],
      },
     ),
    ("text.move_lines",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("direction", 'DOWN'),
       ],
      },
     ),
    ("text.indent", {"type": 'TAB', "value": 'PRESS'}, None),
    ("text.unindent", {"type": 'TAB', "value": 'PRESS', "shift": True}, None),
    ("text.uncomment", {"type": 'D', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("text.move",
     {"type": 'HOME', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_BEGIN'),
       ],
      },
     ),
    ("text.move",
     {"type": 'END', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("text.move",
     {"type": 'E', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("text.move",
     {"type": 'E', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("text.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("text.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("text.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("text.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("text.move",
     {"type": 'UP_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_LINE'),
       ],
      },
     ),
    ("text.move",
     {"type": 'DOWN_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_LINE'),
       ],
      },
     ),
    ("text.move",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_PAGE'),
       ],
      },
     ),
    ("text.move",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_PAGE'),
       ],
      },
     ),
    ("text.move",
     {"type": 'HOME', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'FILE_TOP'),
       ],
      },
     ),
    ("text.move",
     {"type": 'END', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'FILE_BOTTOM'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'HOME', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LINE_BEGIN'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'END', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'UP_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_LINE'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'DOWN_ARROW', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_LINE'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'PAGE_UP', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_PAGE'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'PAGE_DOWN', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'NEXT_PAGE'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'HOME', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'FILE_TOP'),
       ],
      },
     ),
    ("text.move_select",
     {"type": 'END', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("type", 'FILE_BOTTOM'),
       ],
      },
     ),
    ("text.delete",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("text.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("text.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("text.delete",
     {"type": 'DEL', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("text.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("text.overwrite_toggle", {"type": 'INSERT', "value": 'PRESS'}, None),
    ("text.scroll_bar", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("text.scroll_bar", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("text.scroll", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("text.scroll", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("text.selection_set", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("text.cursor_set", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("text.selection_set",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("select", True),
       ],
      },
     ),
    ("text.scroll",
     {"type": 'WHEELUPMOUSE', "value": 'PRESS'},
     {"properties":
      [("lines", -1),
       ],
      },
     ),
    ("text.scroll",
     {"type": 'WHEELDOWNMOUSE', "value": 'PRESS'},
     {"properties":
      [("lines", 1),
       ],
      },
     ),
    ("text.line_break", {"type": 'RET', "value": 'PRESS'}, None),
    ("text.line_break", {"type": 'NUMPAD_ENTER', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS', "any": True},
     {"properties":
      [("name", 'TEXT_MT_toolbox'),
       ],
      },
     ),
    ("text.autocomplete", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, None),
    ("text.line_number", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
    ("text.insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
    ],
   },
  ),
 ("SequencerCommon",
  {"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'P', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path", 'scene.sequence_editor.show_overlay'),
       ],
      },
     ),
    ("sequencer.view_toggle", {"type": 'TAB', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Sequencer",
  {"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("sequencer.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("sequencer.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("sequencer.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("sequencer.cut",
     {"type": 'T', "value": 'PRESS'},
     {"properties":
      [("type", 'SOFT'),
       ],
      },
     ),
    ("sequencer.cut",
     {"type": 'T', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'HARD'),
       ],
      },
     ),
    ("sequencer.mute",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("sequencer.mute",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("sequencer.unmute",
     {"type": 'D', "value": 'PRESS', "alt": True},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("sequencer.unmute",
     {"type": 'D', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("sequencer.lock", {"type": 'N', "value": 'PRESS', "shift": True}, None),
    ("sequencer.unlock", {"type": 'N', "value": 'PRESS', "shift": True, "alt": True}, None),
    ("sequencer.reassign_inputs", {"type": 'P', "value": 'PRESS'}, None),
    ("sequencer.reload", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("sequencer.reload",
     {"type": 'P', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("adjust_length", True),
       ],
      },
     ),
    ("sequencer.refresh_all", {"type": 'P', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.offset_clear", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("sequencer.duplicate_move", {"type": 'D', "value": 'PRESS', "shift": True}, None),
    ("sequencer.delete", {"type": 'Q', "value": 'PRESS'}, None),
    ("sequencer.delete", {"type": 'DEL', "value": 'PRESS'}, None),
    ("sequencer.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.images_separate", {"type": 'F', "value": 'PRESS'}, None),
    ("sequencer.meta_toggle", {"type": 'TAB', "value": 'PRESS'}, None),
    ("sequencer.meta_make", {"type": 'I', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.meta_separate", {"type": 'I', "value": 'PRESS', "ctrl": True, "alt": True}, None),
    ("sequencer.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("sequencer.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("sequencer.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("sequencer.view_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("sequencer.strip_jump",
     {"type": 'PAGE_UP', "value": 'PRESS'},
     {"properties":
      [("next", True),
       ("center", False),
       ],
      },
     ),
    ("sequencer.strip_jump",
     {"type": 'PAGE_DOWN', "value": 'PRESS'},
     {"properties":
      [("next", False),
       ("center", False),
       ],
      },
     ),
    ("sequencer.strip_jump",
     {"type": 'PAGE_UP', "value": 'PRESS', "alt": True},
     {"properties":
      [("next", True),
       ("center", True),
       ],
      },
     ),
    ("sequencer.strip_jump",
     {"type": 'PAGE_DOWN', "value": 'PRESS', "alt": True},
     {"properties":
      [("next", False),
       ("center", True),
       ],
      },
     ),
    ("sequencer.swap",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("side", 'LEFT'),
       ],
      },
     ),
    ("sequencer.swap",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("side", 'RIGHT'),
       ],
      },
     ),
    ("sequencer.gap_remove",
     {"type": 'BACK_SPACE', "value": 'PRESS'},
     {"properties":
      [("all", False),
       ],
      },
     ),
    ("sequencer.gap_remove",
     {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True},
     {"properties":
      [("all", True),
       ],
      },
     ),
    ("sequencer.gap_insert", {"type": 'EQUAL', "value": 'PRESS', "shift": True}, None),
    ("sequencer.snap", {"type": 'R', "value": 'PRESS', "shift": True}, None),
    ("sequencer.swap_inputs", {"type": 'R', "value": 'PRESS', "alt": True}, None),
    ("sequencer.cut_multicam",
     {"type": 'ONE', "value": 'PRESS'},
     {"properties":
      [("camera", 1),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'TWO', "value": 'PRESS'},
     {"properties":
      [("camera", 2),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'THREE', "value": 'PRESS'},
     {"properties":
      [("camera", 3),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'FOUR', "value": 'PRESS'},
     {"properties":
      [("camera", 4),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'FIVE', "value": 'PRESS'},
     {"properties":
      [("camera", 5),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'SIX', "value": 'PRESS'},
     {"properties":
      [("camera", 6),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'SEVEN', "value": 'PRESS'},
     {"properties":
      [("camera", 7),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'EIGHT', "value": 'PRESS'},
     {"properties":
      [("camera", 8),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'NINE', "value": 'PRESS'},
     {"properties":
      [("camera", 9),
       ],
      },
     ),
    ("sequencer.cut_multicam",
     {"type": 'ZERO', "value": 'PRESS'},
     {"properties":
      [("camera", 10),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ("linked_handle", False),
       ("left_right", 'NONE'),
       ("linked_time", False),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ("linked_handle", False),
       ("left_right", 'NONE'),
       ("linked_time", False),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "alt": True},
     {"properties":
      [("extend", False),
       ("linked_handle", True),
       ("left_right", 'NONE'),
       ("linked_time", False),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("extend", True),
       ("linked_handle", True),
       ("left_right", 'NONE'),
       ("linked_time", False),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "ctrl": True},
     {"properties":
      [("extend", False),
       ("linked_handle", False),
       ("left_right", 'MOUSE'),
       ("linked_time", True),
       ],
      },
     ),
    ("sequencer.select",
     {"type": 'LEFTMOUSE', "value": 'CLICK', "shift": True, "ctrl": True},
     {"properties":
      [("extend", True),
       ("linked_handle", False),
       ("left_right", 'MOUSE'),
       ("linked_time", True),
       ],
      },
     ),
    ("sequencer.select_more", {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.select_less", {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.select_linked_pick",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("sequencer.select_linked_pick",
     {"type": 'N', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("sequencer.select_linked", {"type": 'N', "value": 'PRESS', "ctrl": True}, None),
    ("sequencer.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'SET'),
       ("tweak", True),
       ],
      },
     ),
    ("sequencer.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ("tweak", True),
       ],
      },
     ),
    ("sequencer.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ("tweak", True),
       ],
      },
     ),
    ("sequencer.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("sequencer.select_grouped", {"type": 'I', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu",
     {"type": 'A', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'SEQUENCER_MT_add'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'J', "value": 'PRESS'},
     {"properties":
      [("name", 'SEQUENCER_MT_change'),
       ],
      },
     ),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'SEQUENCER_MT_context_menu'),
       ],
      },
     ),
    ("sequencer.slip", {"type": 'R', "value": 'PRESS'}, None),
    ("wm.context_set_int",
     {"type": 'P', "value": 'PRESS'},
     {"properties":
      [("data_path", 'scene.sequence_editor.overlay_frame'),
       ("value", 0),
       ],
      },
     ),
    ("transform.seq_slide", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.seq_slide", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.transform",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("mode", 'TIME_EXTEND'),
       ],
      },
     ),
    ("marker.add", {"type": 'M', "value": 'PRESS'}, None),
    ("marker.rename", {"type": 'M', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("SequencerPreview",
  {"space_type": 'SEQUENCE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("sequencer.view_all_preview", {"type": 'HOME', "value": 'PRESS'}, None),
    ("sequencer.view_all_preview", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("sequencer.view_ghost_border", {"type": 'P', "value": 'PRESS'}, None),
    ("sequencer.view_zoom_ratio",
     {"type": 'NUMPAD_1', "value": 'PRESS'},
     {"properties":
      [("ratio", 1.0),
       ],
      },
     ),
    ("sequencer.sample", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Console",
  {"space_type": 'CONSOLE', "region_type": 'WINDOW'},
  {"items":
   [("console.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("console.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("console.move",
     {"type": 'HOME', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_BEGIN'),
       ],
      },
     ),
    ("console.move",
     {"type": 'END', "value": 'PRESS'},
     {"properties":
      [("type", 'LINE_END'),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'WHEELUPMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", False),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'WHEELDOWNMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", True),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'NUMPAD_PLUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", False),
       ],
      },
     ),
    ("wm.context_cycle_int",
     {"type": 'NUMPAD_MINUS', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("data_path", 'space_data.font_size'),
       ("reverse", True),
       ],
      },
     ),
    ("console.move",
     {"type": 'LEFT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("console.move",
     {"type": 'RIGHT_ARROW', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("console.history_cycle",
     {"type": 'UP_ARROW', "value": 'PRESS'},
     {"properties":
      [("reverse", True),
       ],
      },
     ),
    ("console.history_cycle",
     {"type": 'DOWN_ARROW', "value": 'PRESS'},
     {"properties":
      [("reverse", False),
       ],
      },
     ),
    ("console.delete",
     {"type": 'DEL', "value": 'PRESS'},
     {"properties":
      [("type", 'NEXT_CHARACTER'),
       ],
      },
     ),
    ("console.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS'},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("console.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "shift": True},
     {"properties":
      [("type", 'PREVIOUS_CHARACTER'),
       ],
      },
     ),
    ("console.delete",
     {"type": 'DEL', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'NEXT_WORD'),
       ],
      },
     ),
    ("console.delete",
     {"type": 'BACK_SPACE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("type", 'PREVIOUS_WORD'),
       ],
      },
     ),
    ("console.clear_line", {"type": 'RET', "value": 'PRESS', "shift": True}, None),
    ("console.clear_line", {"type": 'NUMPAD_ENTER', "value": 'PRESS', "shift": True}, None),
    ("console.execute",
     {"type": 'RET', "value": 'PRESS'},
     {"properties":
      [("interactive", True),
       ],
      },
     ),
    ("console.execute",
     {"type": 'NUMPAD_ENTER', "value": 'PRESS'},
     {"properties":
      [("interactive", True),
       ],
      },
     ),
    ("console.autocomplete", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, None),
    ("console.copy_as_script", {"type": 'J', "value": 'PRESS', "shift": True, "ctrl": True}, None),
    ("console.copy", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("console.paste", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ("console.select_set", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("console.select_word", {"type": 'LEFTMOUSE', "value": 'DOUBLE_CLICK'}, None),
    ("console.insert",
     {"type": 'TAB', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("text", '\t'),
       ],
      },
     ),
    ("console.indent", {"type": 'TAB', "value": 'PRESS'}, None),
    ("console.unindent", {"type": 'TAB', "value": 'PRESS', "shift": True}, None),
    ("console.insert", {"type": 'TEXTINPUT', "value": 'ANY', "any": True}, None),
    ],
   },
  ),
 ("Clip",
  {"space_type": 'CLIP_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("wm.context_toggle",
     {"type": 'Y', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_toolbar'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'B', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.show_region_ui'),
       ],
      },
     ),
    ("clip.open", {"type": 'P', "value": 'PRESS', "alt": True}, None),
    ("clip.track_markers",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("backwards", True),
       ("sequence", False),
       ],
      },
     ),
    ("clip.track_markers",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "alt": True},
     {"properties":
      [("backwards", False),
       ("sequence", False),
       ],
      },
     ),
    ("clip.track_markers",
     {"type": 'Y', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("backwards", False),
       ("sequence", True),
       ],
      },
     ),
    ("clip.track_markers",
     {"type": 'Y', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("backwards", True),
       ("sequence", True),
       ],
      },
     ),
    ("wm.context_toggle_enum",
     {"type": 'TAB', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.mode'),
       ("value_1", 'TRACKING'),
       ("value_2", 'MASK'),
       ],
      },
     ),
    ("clip.prefetch", {"type": 'L', "value": 'PRESS'}, None),
    ("wm.call_menu_pie",
     {"type": 'E', "value": 'PRESS'},
     {"properties":
      [("name", 'CLIP_MT_tracking_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'R', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'CLIP_MT_solving_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": 'E', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'CLIP_MT_marker_pie'),
       ],
      },
     ),
    ("wm.call_menu_pie",
     {"type": ',', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'CLIP_MT_reconstruction_pie'),
       ],
      },
     ),
    ],
   },
  ),
 ("Clip Editor",
  {"space_type": 'CLIP_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("clip.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS'}, None),
    ("clip.view_pan", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "shift": True}, None),
    ("clip.view_pan", {"type": 'TRACKPADPAN', "value": 'ANY'}, None),
    ("clip.view_zoom", {"type": 'MIDDLEMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("clip.view_zoom", {"type": 'TRACKPADZOOM', "value": 'ANY'}, None),
    ("clip.view_zoom", {"type": 'TRACKPADPAN', "value": 'ANY', "ctrl": True}, None),
    ("clip.view_zoom_in", {"type": 'WHEELINMOUSE', "value": 'PRESS'}, None),
    ("clip.view_zoom_out", {"type": 'WHEELOUTMOUSE', "value": 'PRESS'}, None),
    ("clip.view_zoom_in", {"type": 'NUMPAD_PLUS', "value": 'PRESS'}, None),
    ("clip.view_zoom_out", {"type": 'NUMPAD_MINUS', "value": 'PRESS'}, None),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 8.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 4.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("ratio", 2.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 8.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 4.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS', "shift": True},
     {"properties":
      [("ratio", 2.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_1', "value": 'PRESS'},
     {"properties":
      [("ratio", 1.0),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_2', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.5),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_4', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.25),
       ],
      },
     ),
    ("clip.view_zoom_ratio",
     {"type": 'NUMPAD_8', "value": 'PRESS'},
     {"properties":
      [("ratio", 0.125),
       ],
      },
     ),
    ("clip.view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("clip.view_all",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("fit_view", True),
       ],
      },
     ),
    ("clip.view_selected", {"type": 'NUMPAD_PERIOD', "value": 'PRESS'}, None),
    ("clip.view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("clip.view_ndof", {"type": 'NDOF_MOTION', "value": 'ANY'}, None),
    ("clip.frame_jump",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("position", 'PATHSTART'),
       ],
      },
     ),
    ("clip.frame_jump",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "ctrl": True},
     {"properties":
      [("position", 'PATHEND'),
       ],
      },
     ),
    ("clip.frame_jump",
     {"type": 'LEFT_ARROW', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("position", 'FAILEDPREV'),
       ],
      },
     ),
    ("clip.frame_jump",
     {"type": 'RIGHT_ARROW', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("position", 'PATHSTART'),
       ],
      },
     ),
    ("clip.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("clip.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ],
      },
     ),
    ("clip.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("clip.select_all",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("clip.select_all",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("clip.select_all",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("clip.select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("clip.select_circle", {"type": 'J', "value": 'PRESS'}, None),
    ("wm.call_menu",
     {"type": 'I', "value": 'PRESS', "shift": True},
     {"properties":
      [("name", 'CLIP_MT_select_grouped'),
       ],
      },
     ),
    ("clip.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("clip.select_lasso",
     {"type": 'EVT_TWEAK_R', "value": 'ANY', "shift": True, "ctrl": True, "alt": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("clip.add_marker_slide", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None),
    ("clip.delete_marker", {"type": 'Q', "value": 'PRESS', "shift": True}, None),
    ("clip.delete_marker", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
    ("clip.slide_marker", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("clip.disable_markers",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("clip.delete_track", {"type": 'Q', "value": 'PRESS'}, None),
    ("clip.delete_track", {"type": 'DEL', "value": 'PRESS'}, None),
    ("clip.lock_tracks",
     {"type": 'N', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'LOCK'),
       ],
      },
     ),
    ("clip.lock_tracks",
     {"type": 'N', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'UNLOCK'),
       ],
      },
     ),
    ("clip.hide_tracks",
     {"type": 'D', "value": 'PRESS'},
     {"properties":
      [("unselected", False),
       ],
      },
     ),
    ("clip.hide_tracks",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("unselected", True),
       ],
      },
     ),
    ("clip.hide_tracks_clear", {"type": 'D', "value": 'PRESS', "alt": True}, None),
    ("clip.slide_plane_marker", {"type": 'RIGHTMOUSE', "value": 'PRESS'}, None),
    ("clip.keyframe_insert", {"type": 'C', "value": 'PRESS'}, None),
    ("clip.keyframe_delete", {"type": 'C', "value": 'PRESS', "alt": True}, None),
    ("clip.join_tracks", {"type": 'H', "value": 'PRESS', "ctrl": True}, None),
    ("wm.call_menu",
     {"type": 'RIGHTMOUSE', "value": 'PRESS'},
     {"properties":
      [("name", 'CLIP_MT_tracking_context_menu'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.lock_selection'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'D', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'space_data.show_disabled'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'R', "value": 'PRESS', "alt": True},
     {"properties":
      [("data_path", 'space_data.show_marker_search'),
       ],
      },
     ),
    ("wm.context_toggle",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.use_mute_footage'),
       ],
      },
     ),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'REMAINED'),
       ("clear_active", False),
       ],
      },
     ),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "shift": True},
     {"properties":
      [("action", 'UPTO'),
       ("clear_active", False),
       ],
      },
     ),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("action", 'ALL'),
       ("clear_active", False),
       ],
      },
     ),
    ("clip.cursor_set", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ("wm.call_menu_pie",
     {"type": 'PERIOD', "value": 'PRESS'},
     {"properties":
      [("name", 'CLIP_MT_pivot_pie'),
       ],
      },
     ),
    ("clip.copy_tracks", {"type": 'J', "value": 'PRESS', "ctrl": True}, None),
    ("clip.paste_tracks", {"type": 'K', "value": 'PRESS', "ctrl": True}, None),
    ],
   },
  ),
 ("Clip Graph Editor",
  {"space_type": 'CLIP_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("clip.graph_select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ],
      },
     ),
    ("clip.graph_select",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("clip.graph_select_all_markers",
     {"type": 'A', "value": 'PRESS'},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("clip.graph_select_all_markers",
     {"type": 'A', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'DESELECT'),
       ],
      },
     ),
    ("clip.graph_select_all_markers",
     {"type": 'C', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("action", 'INVERT'),
       ],
      },
     ),
    ("clip.graph_select_box", {"type": 'X', "value": 'PRESS'}, None),
    ("clip.graph_delete_curve", {"type": 'Q', "value": 'PRESS'}, None),
    ("clip.graph_delete_curve", {"type": 'DEL', "value": 'PRESS'}, None),
    ("clip.graph_delete_knot", {"type": 'Q', "value": 'PRESS', "shift": True}, None),
    ("clip.graph_delete_knot", {"type": 'DEL', "value": 'PRESS', "shift": True}, None),
    ("clip.graph_view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("clip.graph_view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ("clip.graph_center_current_frame", {"type": 'NUMPAD_0', "value": 'PRESS'}, None),
    ("wm.context_toggle",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("data_path", 'space_data.lock_time_cursor'),
       ],
      },
     ),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "alt": True},
     {"properties":
      [("action", 'REMAINED'),
       ("clear_active", True),
       ],
      },
     ),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "shift": True},
     {"properties":
      [("action", 'UPTO'),
       ("clear_active", True),
       ],
      },
     ),
    ("clip.clear_track_path",
     {"type": 'Y', "value": 'PRESS', "shift": True, "alt": True},
     {"properties":
      [("action", 'ALL'),
       ("clear_active", True),
       ],
      },
     ),
    ("clip.graph_disable_markers",
     {"type": 'D', "value": 'PRESS', "shift": True},
     {"properties":
      [("action", 'TOGGLE'),
       ],
      },
     ),
    ("transform.translate", {"type": 'I', "value": 'PRESS'}, None),
    ("transform.translate", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("transform.resize", {"type": 'R', "value": 'PRESS'}, None),
    ("transform.rotate", {"type": 'P', "value": 'PRESS'}, None),
    ("clip.change_frame", {"type": 'RIGHTMOUSE', "value": 'PRESS', "shift": True}, None),
    ],
   },
  ),
 ("Clip Dopesheet Editor",
  {"space_type": 'CLIP_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("clip.dopesheet_select_channel",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", True),
       ],
      },
     ),
    ("clip.dopesheet_view_all", {"type": 'HOME', "value": 'PRESS'}, None),
    ("clip.dopesheet_view_all", {"type": 'NDOF_BUTTON_FIT', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Clip Time Scrub",
  {"space_type": 'CLIP_EDITOR', "region_type": 'PREVIEW'},
  {"items":
   [("clip.change_frame", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Generic Gizmo Drag",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gizmogroup.gizmo_tweak", {"type": 'EVT_TWEAK_L', "value": 'ANY', "any": True}, None),
    ],
   },
  ),
 ("Generic Gizmo Click Drag",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gizmogroup.gizmo_tweak", {"type": 'LEFTMOUSE', "value": 'CLICK', "any": True}, None),
    ("gizmogroup.gizmo_tweak", {"type": 'EVT_TWEAK_L', "value": 'ANY', "any": True}, None),
    ],
   },
  ),
 ("Generic Gizmo Select",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gizmogroup.gizmo_tweak", {"type": 'LEFTMOUSE', "value": 'PRESS', "any": True}, None),
    ],
   },
  ),
 ("Toolbar Popup",
  {"space_type": 'EMPTY', "region_type": 'TEMPORARY'},
  {"items":
   [("wm.tool_set_by_id",
     {"type": ',', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.select'),
       ],
      },
     ),
    ("wm.tool_set_by_id",
     {"type": 'N', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.select_lasso'),
       ],
      },
     ),
    ("wm.tool_set_by_id",
     {"type": 'Y', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.transform'),
       ],
      },
     ),
    ("wm.tool_set_by_id",
     {"type": 'M', "value": 'PRESS'},
     {"properties":
      [("name", 'builtin.measure'),
       ],
      },
     ),
    ],
   },
  ),
 ("Generic Tool: Annotate",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'DRAW'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("Generic Tool: Annotate Line",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.annotate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("mode", 'DRAW_STRAIGHT'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("Generic Tool: Annotate Polygon",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'DRAW_POLY'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("Generic Tool: Annotate Eraser",
  {"space_type": 'EMPTY', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.annotate",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'ERASER'),
       ("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Sample",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("image.sample", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Sculpt Stroke",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("sculpt.uv_sculpt_stroke", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("sculpt.uv_sculpt_stroke",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("mode", 'INVERT'),
       ],
      },
     ),
    ("sculpt.uv_sculpt_stroke",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("mode", 'RELAX'),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'LEFT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 0.9),
       ],
      },
     ),
    ("brush.scale_size",
     {"type": 'RIGHT_BRACKET', "value": 'PRESS'},
     {"properties":
      [("scalar", 1.1111112),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS'},
     {"properties":
      [("data_path_primary", 'tool_settings.uv_sculpt.brush.size'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.size'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_size'),
       ("rotation_path", 'tool_settings.uv_sculpt.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.uv_sculpt.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.uv_sculpt.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ("wm.radial_control",
     {"type": 'U', "value": 'PRESS', "shift": True},
     {"properties":
      [("data_path_primary", 'tool_settings.uv_sculpt.brush.strength'),
       ("data_path_secondary", 'tool_settings.unified_paint_settings.strength'),
       ("use_secondary", 'tool_settings.unified_paint_settings.use_unified_strength'),
       ("rotation_path", 'tool_settings.uv_sculpt.brush.texture_slot.angle'),
       ("color_path", 'tool_settings.uv_sculpt.brush.cursor_color_add'),
       ("fill_color_path", ''),
       ("fill_color_override_path", ''),
       ("fill_color_override_test_path", ''),
       ("zoom_path", ''),
       ("image_id", 'tool_settings.uv_sculpt.brush'),
       ("secondary_tex", False),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Move",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Rotate",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("transform.rotate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Image Editor Tool: Uv, Scale",
  {"space_type": 'IMAGE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("transform.resize",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Tool: Select",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("extend", False),
       ("deselect_all", True),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Tool: Select Box",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("tweak", True),
       ],
      },
     ),
    ("node.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("tweak", True),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("node.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("tweak", True),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Tool: Select Lasso",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.select_lasso",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("tweak", True),
       ],
      },
     ),
    ("node.select_lasso",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("tweak", True),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("node.select_lasso",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("tweak", True),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Tool: Select Circle",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("node.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("node.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("Node Tool: Links Cut",
  {"space_type": 'NODE_EDITOR', "region_type": 'WINDOW'},
  {"items":
   [("node.links_cut", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Cursor",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.cursor3d", {"type": 'LEFTMOUSE', "value": 'PRESS'}, None),
    ("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("cursor_transform", True),
       ("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Select",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Select Box",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("view3d.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("view3d.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Select Circle",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("view3d.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Select Lasso",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.select_lasso", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("view3d.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Transform",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.from_gizmo", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Move",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.translate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Rotate",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.rotate",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Scale",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("transform.resize",
     {"type": 'EVT_TWEAK_L', "value": 'ANY'},
     {"properties":
      [("release_confirm", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Measure",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.ruler_add", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("view3d.ruler_remove", {"type": 'Q', "value": 'PRESS'}, None),
    ("view3d.ruler_remove", {"type": 'DEL', "value": 'PRESS'}, None),
    ],
   },
  ),
 ("3D View Tool: Edit Mesh, Add Cube",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("view3d.cursor3d", {"type": 'LEFTMOUSE', "value": 'CLICK'}, None),
    ("mesh.primitive_cube_add_gizmo", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ],
   },
  ),
 ("3D View Tool: Sculpt Gpencil, Paint",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.sculpt_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.sculpt_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.sculpt_paint",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt Gpencil, Select",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("deselect_all", True),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt Gpencil, Select Box",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_box", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_box",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt Gpencil, Select Circle",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS'},
     {"properties":
      [("wait_for_input", False),
       ],
      },
     ),
    ("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "shift": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_circle",
     {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True},
     {"properties":
      [("wait_for_input", False),
       ("mode", 'SUB'),
       ],
      },
     ),
    ],
   },
  ),
 ("3D View Tool: Sculpt Gpencil, Select Lasso",
  {"space_type": 'VIEW_3D', "region_type": 'WINDOW'},
  {"items":
   [("gpencil.select_lasso", {"type": 'EVT_TWEAK_L', "value": 'ANY'}, None),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True},
     {"properties":
      [("mode", 'ADD'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "ctrl": True},
     {"properties":
      [("mode", 'SUB'),
       ],
      },
     ),
    ("gpencil.select_lasso",
     {"type": 'EVT_TWEAK_L', "value": 'ANY', "shift": True, "ctrl": True},
     {"properties":
      [("mode", 'AND'),
       ],
      },
     ),
    ],
   },
  ),
 ]


if __name__ == "__main__":
    import os
    from bl_keymap_utils.io import keyconfig_import_from_data
    keyconfig_import_from_data(os.path.splitext(os.path.basename(__file__))[0], keyconfig_data)
