Keyboard support for Windows key disable
walbourn opened this issue · comments
This old article provides a way to keep the Windows key from popping a game out of fullscreen. Maybe I should add it to the Win32 version of Keyboard?
https://docs.microsoft.com/en-us/windows/win32/dxtecharts/disabling-shortcut-keys-in-games
This original code does not cause problems for Xbox Game Bar shortcuts which work correctly even when this low-level hook is used.
Probably best to not integrate into the Keyboard
class proper, but could provide a C++ class to integrate into the Win32 template to support this. The article solution works fine, but it's very C-like.