godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.71k stars 20.12k forks source link

Script editor does not recognise key presses from QMK keyboards using the KC_PEQL key code #74578

Open RobTheFiveNine opened 1 year ago

RobTheFiveNine commented 1 year ago

Godot version

v4.0.stable.official [92bee43ad]

System information

Ubuntu 22.04

Issue description

When using a QMK keyboard that is setup to use the KC_PEQL QMK keycode (the numpad equals key), the Godot script editor does not recognise the key press and injects no text into the script. The key is recognised by other applications on the system, but not Godot.

This can be worked around by rebinding the key in QMK to use the KC_EQL keycode (the =/+ key), as opposed to the numpad equals keycode. Ideally, Godot would pick this key press up though.

Steps to reproduce

Use a keyboard that has a numpad equals key and try to use it when editing a script in Godot. Alternatively, if a QMK keyboard is available, flash the firmware / use VIA to set a key to use the KC_PEQL keycode and attempt to use it in Godot.

Minimal reproduction project

N/A

akien-mga commented 1 year ago

CC @bruvzg

Flavsditz commented 2 weeks ago

Has this been looked on further? Following the threads there was an attempt to fix this but since then I couldn't find something else. The problem still persists on v4.3