third_party/glfw is using GetAsyncKeyState incorrectly |
|||
Issue descriptionThe documentation states that only the hi-order bit is reliable : https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getasynckeystate but https://cs.chromium.org/chromium/src/third_party/glfw/src/src/win32_window.c?q=GetAsyncKeyState&sq=package:chromium&dr=C uses 0x1 as a mask (extracting the lo-order bit).
,
Jan 15
Actually glfw also uses 0x1 as a filter for VK_CAPITAL and VK_NUMLOCK, so maybe that should also be 0x8000?
,
Jan 15
|
|||
►
Sign in to add a comment |
|||
Comment 1 by gab@chromium.org
, Jan 15