Page MenuHomeFeedback Tracker

EditBoxWidget doesn't receive certain keys (e.g. TAB, ENTER/RETURN)
New, NormalPublic

Description

While "normal" keyboard keys (A-Z, 0-9 etc) work and are received in OnKeyPress, several useful control keys like TAB, ENTER are not received.

Details

Severity
None
Resolution
Open
Reproducibility
Always
Operating System
Windows 10 x64
Category
Modding

Event Timeline

lava76 created this task.Aug 19 2023, 5:05 PM

Also I want to add that in the method OnKeyPress(Widget w, int x, int y, int key) "key" argument doesn't match the vanilla KeyCode enum.
typename.EnumToString(KeyCode, key) in most of the cases returns "Unknown", space button is returned as KC_D (int 37)