Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard support for Windows key disable #301

Open
walbourn opened this issue Jan 24, 2022 · 1 comment
Open

Keyboard support for Windows key disable #301

walbourn opened this issue Jan 24, 2022 · 1 comment
Labels
enhancement input Related to GamePad, Keyboard, and Mouse

Comments

@walbourn
Copy link
Member

walbourn commented Jan 24, 2022

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.

@walbourn walbourn added enhancement input Related to GamePad, Keyboard, and Mouse labels Jan 24, 2022
@walbourn
Copy link
Member Author

walbourn commented Jan 27, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement input Related to GamePad, Keyboard, and Mouse
Projects
None yet
Development

No branches or pull requests

1 participant