limbonaut / limbo_console

In-game dev console for Godot 4
MIT License
30 stars 3 forks source link

Issues related to input mapping #1

Open greenpixels opened 1 month ago

greenpixels commented 1 month ago

Heyho! Just added your project as a submodule and trying it out. Really cool! Just two things I noticed:

1) Does not show in InputMap

For some reason, the InputMap does not show limbo_console_toggle in the input-map overview despite it definitley being set in project.godot. Not sure whether that is something you have any reign over. grafik grafik

2) Documentaiton incorrect and QUOTE_LEFT doesn't work (QWERTY)

Also, in the docs it says to press ~, but on-init the key-code is set to 96 which is the QUOTE_LEFT key. grafik Sadly, the QUOTE_LEFT key does not work for me. It does not register for some reason. I wanted to change the key in my input_map, but as described earlier - it does not show up haha.

I've manually set the key code to F10 in my project.godot file.

limbonaut commented 1 month ago

Right, it is indeed set to QUOTE_LEFT by default: https://github.com/limbonaut/limbo_console/blob/aa286e83053dea2e8484e2a56ba18aea4a6b7700/plugin.gd#L19

For some reason, the InputMap does not show limbo_console_toggle in the input-map overview

Have you tried restarting Godot after enabling the plugin in the project settings? I should probably mention it in the README. Just tested on an empty project with a submodule, and it shows up as expected after I restarted the editor.

Calinou commented 1 week ago

This is due to a bug in the editor: https://github.com/godotengine/godot/issues/25865

limbonaut commented 1 week ago

Thanks for the link, @Calinou !

For now, I mentioned in the README that the project reload is needed after you enable the plugin. Keeping this open to track this issue.