Skip to content

debug_console: correct name scancode to keycode

Yifan Zhu requested to merge work/fanzhuyifan/debug into master

QKeyEvent()->nativeScanCode() actually reports the keycode generated by the kernel, not the scancode generated by the hardware.

E.g., when space is pressed, the scan code field reports 57, which is the number you get if you go to a VT, run showkey --keycode, and press space.

cc @odeda

Merge request reports