Godot Version
4.3
Question
Hi, I just wanted to ask, is there a way I can use the additional buttons on the side of my mouse to register hotkeys? I want to assign Undo/Redo to them.
4.3
Hi, I just wanted to ask, is there a way I can use the additional buttons on the side of my mouse to register hotkeys? I want to assign Undo/Redo to them.
You can use Mouse Thumb Button 1 and 2, of course it may not be compatible with some mice. It works for me.
That’s exactly what I want but the editor settings does not show an option to add any mouse buttons in general.
I guess you didn’t understand my question. I was talking about the editor hotkeys themselves, not the input map for the game. I want the mouse thumb button to work just like ctrl+z for the undo command. Thanks for the effort tho.
You’ll probably need to create a plugin for this.
EditorPlugin.get_undo_redo
for get editor undo redo object@tool
for get these buttons and handle undo/redoWell I’m glad I don’t have to write assembly code
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.