diff --git a/src/Autoload/Global.gd b/src/Autoload/Global.gd index 356559c80..0c49bab6f 100644 --- a/src/Autoload/Global.gd +++ b/src/Autoload/Global.gd @@ -714,126 +714,126 @@ func _ready() -> void: func _initialize_keychain() -> void: Keychain.config_file = config_cache Keychain.actions = { - "new_file": Keychain.InputAction.new("", "File menu", true), - "open_file": Keychain.InputAction.new("", "File menu", true), - "open_last_project": Keychain.InputAction.new("", "File menu", true), - "save_file": Keychain.InputAction.new("", "File menu", true), - "save_file_as": Keychain.InputAction.new("", "File menu", true), - "export_file": Keychain.InputAction.new("", "File menu", true), - "export_file_as": Keychain.InputAction.new("", "File menu", true), - "quit": Keychain.InputAction.new("", "File menu", true), - "redo": Keychain.InputAction.new("", "Edit menu", true), - "undo": Keychain.InputAction.new("", "Edit menu", true), - "cut": Keychain.InputAction.new("", "Edit menu", true), - "copy": Keychain.InputAction.new("", "Edit menu", true), - "paste": Keychain.InputAction.new("", "Edit menu", true), - "paste_in_place": Keychain.InputAction.new("", "Edit menu", true), - "delete": Keychain.InputAction.new("", "Edit menu", true), - "new_brush": Keychain.InputAction.new("", "Edit menu", true), - "preferences": Keychain.InputAction.new("", "Edit menu", true), + &"new_file": Keychain.InputAction.new("", "File menu", true), + &"open_file": Keychain.InputAction.new("", "File menu", true), + &"open_last_project": Keychain.InputAction.new("", "File menu", true), + &"save_file": Keychain.InputAction.new("", "File menu", true), + &"save_file_as": Keychain.InputAction.new("", "File menu", true), + &"export_file": Keychain.InputAction.new("", "File menu", true), + &"export_file_as": Keychain.InputAction.new("", "File menu", true), + &"quit": Keychain.InputAction.new("", "File menu", true), + &"redo": Keychain.InputAction.new("", "Edit menu", true), + &"undo": Keychain.InputAction.new("", "Edit menu", true), + &"cut": Keychain.InputAction.new("", "Edit menu", true), + &"copy": Keychain.InputAction.new("", "Edit menu", true), + &"paste": Keychain.InputAction.new("", "Edit menu", true), + &"paste_in_place": Keychain.InputAction.new("", "Edit menu", true), + &"delete": Keychain.InputAction.new("", "Edit menu", true), + &"new_brush": Keychain.InputAction.new("", "Edit menu", true), + &"preferences": Keychain.InputAction.new("", "Edit menu", true), &"project_properties": Keychain.InputAction.new("", "Image menu", true), - "scale_image": Keychain.InputAction.new("", "Image menu", true), - "crop_to_selection": Keychain.InputAction.new("", "Image menu", true), - "crop_to_content": Keychain.InputAction.new("", "Image menu", true), - "resize_canvas": Keychain.InputAction.new("", "Image menu", true), - "offset_image": Keychain.InputAction.new("", "Effects menu", true), - "mirror_image": Keychain.InputAction.new("", "Effects menu", true), - "rotate_image": Keychain.InputAction.new("", "Effects menu", true), - "invert_colors": Keychain.InputAction.new("", "Effects menu", true), - "desaturation": Keychain.InputAction.new("", "Effects menu", true), - "outline": Keychain.InputAction.new("", "Effects menu", true), - "drop_shadow": Keychain.InputAction.new("", "Effects menu", true), - "adjust_hsv": Keychain.InputAction.new("", "Effects menu", true), - "gradient": Keychain.InputAction.new("", "Effects menu", true), - "gradient_map": Keychain.InputAction.new("", "Effects menu", true), + &"scale_image": Keychain.InputAction.new("", "Image menu", true), + &"crop_to_selection": Keychain.InputAction.new("", "Image menu", true), + &"crop_to_content": Keychain.InputAction.new("", "Image menu", true), + &"resize_canvas": Keychain.InputAction.new("", "Image menu", true), + &"offset_image": Keychain.InputAction.new("", "Effects menu", true), + &"mirror_image": Keychain.InputAction.new("", "Effects menu", true), + &"rotate_image": Keychain.InputAction.new("", "Effects menu", true), + &"invert_colors": Keychain.InputAction.new("", "Effects menu", true), + &"desaturation": Keychain.InputAction.new("", "Effects menu", true), + &"outline": Keychain.InputAction.new("", "Effects menu", true), + &"drop_shadow": Keychain.InputAction.new("", "Effects menu", true), + &"adjust_hsv": Keychain.InputAction.new("", "Effects menu", true), + &"gradient": Keychain.InputAction.new("", "Effects menu", true), + &"gradient_map": Keychain.InputAction.new("", "Effects menu", true), &"palettize": Keychain.InputAction.new("", "Effects menu", true), &"pixelize": Keychain.InputAction.new("", "Effects menu", true), - "posterize": Keychain.InputAction.new("", "Effects menu", true), - "mirror_view": Keychain.InputAction.new("", "View menu", true), - "show_grid": Keychain.InputAction.new("", "View menu", true), - "show_pixel_grid": Keychain.InputAction.new("", "View menu", true), - "show_guides": Keychain.InputAction.new("", "View menu", true), - "show_rulers": Keychain.InputAction.new("", "View menu", true), + &"posterize": Keychain.InputAction.new("", "Effects menu", true), + &"mirror_view": Keychain.InputAction.new("", "View menu", true), + &"show_grid": Keychain.InputAction.new("", "View menu", true), + &"show_pixel_grid": Keychain.InputAction.new("", "View menu", true), + &"show_guides": Keychain.InputAction.new("", "View menu", true), + &"show_rulers": Keychain.InputAction.new("", "View menu", true), &"display_layer_effects": Keychain.InputAction.new("", "View menu", true), - "moveable_panels": Keychain.InputAction.new("", "Window menu", true), - "zen_mode": Keychain.InputAction.new("", "Window menu", true), - "toggle_fullscreen": Keychain.InputAction.new("", "Window menu", true), - "clear_selection": Keychain.InputAction.new("", "Select menu", true), - "select_all": Keychain.InputAction.new("", "Select menu", true), - "invert_selection": Keychain.InputAction.new("", "Select menu", true), - "view_splash_screen": Keychain.InputAction.new("", "Help menu", true), - "open_docs": Keychain.InputAction.new("", "Help menu", true), - "issue_tracker": Keychain.InputAction.new("", "Help menu", true), - "open_logs_folder": Keychain.InputAction.new("", "Help menu", true), - "changelog": Keychain.InputAction.new("", "Help menu", true), - "about_pixelorama": Keychain.InputAction.new("", "Help menu", true), - "zoom_in": Keychain.InputAction.new("", "Canvas"), - "zoom_out": Keychain.InputAction.new("", "Canvas"), - "camera_left": Keychain.InputAction.new("", "Canvas"), - "camera_right": Keychain.InputAction.new("", "Canvas"), - "camera_up": Keychain.InputAction.new("", "Canvas"), - "camera_down": Keychain.InputAction.new("", "Canvas"), - "pan": Keychain.InputAction.new("", "Canvas"), - "activate_left_tool": Keychain.InputAction.new("", "Canvas"), - "activate_right_tool": Keychain.InputAction.new("", "Canvas"), - "move_mouse_left": Keychain.InputAction.new("", "Cursor movement"), - "move_mouse_right": Keychain.InputAction.new("", "Cursor movement"), - "move_mouse_up": Keychain.InputAction.new("", "Cursor movement"), - "move_mouse_down": Keychain.InputAction.new("", "Cursor movement"), - "reset_colors_default": Keychain.InputAction.new("", "Buttons"), - "switch_colors": Keychain.InputAction.new("", "Buttons"), - "horizontal_mirror": Keychain.InputAction.new("", "Buttons"), - "vertical_mirror": Keychain.InputAction.new("", "Buttons"), - "pixel_perfect": Keychain.InputAction.new("", "Buttons"), - "alpha_lock": Keychain.InputAction.new("", "Buttons"), - "new_layer": Keychain.InputAction.new("", "Buttons"), - "remove_layer": Keychain.InputAction.new("", "Buttons"), - "move_layer_up": Keychain.InputAction.new("", "Buttons"), - "move_layer_down": Keychain.InputAction.new("", "Buttons"), - "clone_layer": Keychain.InputAction.new("", "Buttons"), - "merge_down_layer": Keychain.InputAction.new("", "Buttons"), - "add_frame": Keychain.InputAction.new("", "Buttons"), - "remove_frame": Keychain.InputAction.new("", "Buttons"), - "clone_frame": Keychain.InputAction.new("", "Buttons"), - "move_frame_left": Keychain.InputAction.new("", "Buttons"), - "move_frame_right": Keychain.InputAction.new("", "Buttons"), - "go_to_first_frame": Keychain.InputAction.new("", "Buttons"), - "go_to_last_frame": Keychain.InputAction.new("", "Buttons"), - "go_to_previous_frame": Keychain.InputAction.new("", "Buttons"), - "go_to_next_frame": Keychain.InputAction.new("", "Buttons"), - "go_to_previous_layer": Keychain.InputAction.new("", "Buttons"), - "go_to_next_layer": Keychain.InputAction.new("", "Buttons"), - "play_backwards": Keychain.InputAction.new("", "Buttons"), - "play_forward": Keychain.InputAction.new("", "Buttons"), - "onion_skinning_toggle": Keychain.InputAction.new("", "Buttons"), - "loop_toggle": Keychain.InputAction.new("", "Buttons"), - "onion_skinning_settings": Keychain.InputAction.new("", "Buttons"), - "new_palette": Keychain.InputAction.new("", "Buttons"), - "edit_palette": Keychain.InputAction.new("", "Buttons"), - "brush_size_increment": Keychain.InputAction.new("", "Buttons"), - "brush_size_decrement": Keychain.InputAction.new("", "Buttons"), - "change_tool_mode": Keychain.InputAction.new("", "Tool modifiers", false), - "draw_create_line": Keychain.InputAction.new("", "Draw tools", false), - "draw_snap_angle": Keychain.InputAction.new("", "Draw tools", false), - "draw_color_picker": Keychain.InputAction.new("Quick color picker", "Draw tools", false), - "shape_perfect": Keychain.InputAction.new("", "Shape tools", false), - "shape_center": Keychain.InputAction.new("", "Shape tools", false), - "shape_displace": Keychain.InputAction.new("", "Shape tools", false), - "selection_add": Keychain.InputAction.new("", "Selection tools", false), - "selection_subtract": Keychain.InputAction.new("", "Selection tools", false), - "selection_intersect": Keychain.InputAction.new("", "Selection tools", false), - "transformation_confirm": Keychain.InputAction.new("", "Transformation tools", false), - "transformation_cancel": Keychain.InputAction.new("", "Transformation tools", false), - "transform_snap_axis": Keychain.InputAction.new("", "Transformation tools", false), - "transform_snap_grid": Keychain.InputAction.new("", "Transformation tools", false), - "transform_move_selection_only": + &"moveable_panels": Keychain.InputAction.new("", "Window menu", true), + &"zen_mode": Keychain.InputAction.new("", "Window menu", true), + &"toggle_fullscreen": Keychain.InputAction.new("", "Window menu", true), + &"clear_selection": Keychain.InputAction.new("", "Select menu", true), + &"select_all": Keychain.InputAction.new("", "Select menu", true), + &"invert_selection": Keychain.InputAction.new("", "Select menu", true), + &"view_splash_screen": Keychain.InputAction.new("", "Help menu", true), + &"open_docs": Keychain.InputAction.new("", "Help menu", true), + &"issue_tracker": Keychain.InputAction.new("", "Help menu", true), + &"open_logs_folder": Keychain.InputAction.new("", "Help menu", true), + &"changelog": Keychain.InputAction.new("", "Help menu", true), + &"about_pixelorama": Keychain.InputAction.new("", "Help menu", true), + &"zoom_in": Keychain.InputAction.new("", "Canvas"), + &"zoom_out": Keychain.InputAction.new("", "Canvas"), + &"camera_left": Keychain.InputAction.new("", "Canvas"), + &"camera_right": Keychain.InputAction.new("", "Canvas"), + &"camera_up": Keychain.InputAction.new("", "Canvas"), + &"camera_down": Keychain.InputAction.new("", "Canvas"), + &"pan": Keychain.InputAction.new("", "Canvas"), + &"activate_left_tool": Keychain.InputAction.new("", "Canvas"), + &"activate_right_tool": Keychain.InputAction.new("", "Canvas"), + &"move_mouse_left": Keychain.InputAction.new("", "Cursor movement"), + &"move_mouse_right": Keychain.InputAction.new("", "Cursor movement"), + &"move_mouse_up": Keychain.InputAction.new("", "Cursor movement"), + &"move_mouse_down": Keychain.InputAction.new("", "Cursor movement"), + &"reset_colors_default": Keychain.InputAction.new("", "Buttons"), + &"switch_colors": Keychain.InputAction.new("", "Buttons"), + &"horizontal_mirror": Keychain.InputAction.new("", "Buttons"), + &"vertical_mirror": Keychain.InputAction.new("", "Buttons"), + &"pixel_perfect": Keychain.InputAction.new("", "Buttons"), + &"alpha_lock": Keychain.InputAction.new("", "Buttons"), + &"new_layer": Keychain.InputAction.new("", "Buttons"), + &"remove_layer": Keychain.InputAction.new("", "Buttons"), + &"move_layer_up": Keychain.InputAction.new("", "Buttons"), + &"move_layer_down": Keychain.InputAction.new("", "Buttons"), + &"clone_layer": Keychain.InputAction.new("", "Buttons"), + &"merge_down_layer": Keychain.InputAction.new("", "Buttons"), + &"add_frame": Keychain.InputAction.new("", "Buttons"), + &"remove_frame": Keychain.InputAction.new("", "Buttons"), + &"clone_frame": Keychain.InputAction.new("", "Buttons"), + &"move_frame_left": Keychain.InputAction.new("", "Buttons"), + &"move_frame_right": Keychain.InputAction.new("", "Buttons"), + &"go_to_first_frame": Keychain.InputAction.new("", "Buttons"), + &"go_to_last_frame": Keychain.InputAction.new("", "Buttons"), + &"go_to_previous_frame": Keychain.InputAction.new("", "Buttons"), + &"go_to_next_frame": Keychain.InputAction.new("", "Buttons"), + &"go_to_previous_layer": Keychain.InputAction.new("", "Buttons"), + &"go_to_next_layer": Keychain.InputAction.new("", "Buttons"), + &"play_backwards": Keychain.InputAction.new("", "Buttons"), + &"play_forward": Keychain.InputAction.new("", "Buttons"), + &"onion_skinning_toggle": Keychain.InputAction.new("", "Buttons"), + &"loop_toggle": Keychain.InputAction.new("", "Buttons"), + &"onion_skinning_settings": Keychain.InputAction.new("", "Buttons"), + &"new_palette": Keychain.InputAction.new("", "Buttons"), + &"edit_palette": Keychain.InputAction.new("", "Buttons"), + &"brush_size_increment": Keychain.InputAction.new("", "Buttons"), + &"brush_size_decrement": Keychain.InputAction.new("", "Buttons"), + &"change_tool_mode": Keychain.InputAction.new("", "Tool modifiers", false), + &"draw_create_line": Keychain.InputAction.new("", "Draw tools", false), + &"draw_snap_angle": Keychain.InputAction.new("", "Draw tools", false), + &"draw_color_picker": Keychain.InputAction.new("Quick color picker", "Draw tools", false), + &"shape_perfect": Keychain.InputAction.new("", "Shape tools", false), + &"shape_center": Keychain.InputAction.new("", "Shape tools", false), + &"shape_displace": Keychain.InputAction.new("", "Shape tools", false), + &"selection_add": Keychain.InputAction.new("", "Selection tools", false), + &"selection_subtract": Keychain.InputAction.new("", "Selection tools", false), + &"selection_intersect": Keychain.InputAction.new("", "Selection tools", false), + &"transformation_confirm": Keychain.InputAction.new("", "Transformation tools", false), + &"transformation_cancel": Keychain.InputAction.new("", "Transformation tools", false), + &"transform_snap_axis": Keychain.InputAction.new("", "Transformation tools", false), + &"transform_snap_grid": Keychain.InputAction.new("", "Transformation tools", false), + &"transform_move_selection_only": Keychain.InputAction.new("", "Transformation tools", false), - "transform_copy_selection_content": + &"transform_copy_selection_content": Keychain.InputAction.new("", "Transformation tools", false), - "reference_rotate": Keychain.InputAction.new("", "Reference images", false), - "reference_scale": Keychain.InputAction.new("", "Reference images", false), - "reference_quick_menu": Keychain.InputAction.new("", "Reference images", false), - "cancel_reference_transform": Keychain.InputAction.new("", "Reference images", false) + &"reference_rotate": Keychain.InputAction.new("", "Reference images", false), + &"reference_scale": Keychain.InputAction.new("", "Reference images", false), + &"reference_quick_menu": Keychain.InputAction.new("", "Reference images", false), + &"cancel_reference_transform": Keychain.InputAction.new("", "Reference images", false) } Keychain.groups = {