On Sun May 25 15:34:38 2025 +0000, Yuri Hérouard wrote:
Yes it does indeed fix the alt menu mode without my patch. Though I don't think I understood clearly what you meant, as Alt is already filtered (VK_MENU), I just added the left and right keys as they are among the returned keyboard state and are not filtered, making Alt released anyway. You plan to remove the modifier's filtering altogether ? Also, there's issues with extended scan code (for example my keyboard arrows) that aren't released, though it also happens with winex11.
Hi @yurih, the current code excludes VK_MENU/SHIFT/CONTROL, but not in order to filter modifier keys, but because these are inferred keys: they don't corresponding to a specific physical key and their state is set based on the state other keys (i.e., the left/right specific variants).
Also, there's issues with extended scan code (for example my keyboard arrows) that aren't released, though it also happens with winex11.
Hmm, I see releases for the key arrows on my keyboard :/ (i.e., VK_LEFT/RIGHT/...), not sure what's different here.