godotengine / godot-proposals

Godot Improvement Proposals (GIPs)
MIT License
1.13k stars 93 forks source link

Add editor shortcut support for mouse buttons and other devices #8878

Open viksl opened 8 months ago

viksl commented 8 months ago

Describe the project you are working on

Doesn't matter.

Describe the problem or limitation you are having in your project

Godot's editor shortcuts support only keys - so only keyboard. I have a multibutton mouse and would like to utilize some of its buttons while working in the editor, I assume some people use controllers for shortcuts too which might come handy for someone on tablets considering godot supports android.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Well Project Settings Input Map already supports all the inputs so why not have the Editor also support it and break the limited support? :)

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

It seems all the functionality is already in the Input Map, I don't know the technical reason why it's not part of the Editor inputs so I can't really put anything here together :0.

If this enhancement will not be used often, can it be worked around with a few lines of script?

No it's the editor core stuff.

Is there a reason why this should be core and not an add-on in the asset library?

No it's the editor core stuff.

KoBeWi commented 8 months ago

Related: https://github.com/godotengine/godot/issues/38326 https://github.com/godotengine/godot/pull/38375