-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
Breaks in video games #4
Comments
Perhaps it would be possible for a new feature to allow us to define another keybinding with which we can toggle the other keybinds/swaps on and off. People might forget pressing that key before starting a game but then ALT-TAB or CTRL-ALT-DELETE may allow you to go to the desktop where the uncap keybindings work normally. Another very overcomplicated solution could be to define filters for process names/executable paths and when these processes are running (like csgo.exe) to temporarily disable the keybinds/swaps. Other than that I don't really see a solution. Most games directly talk to the input device drivers themself and not use the abstraction provided by Windows. Of course this will conflict with uncap. This issue is partly the reason for my uncap setup described here: #1 (comment) |
Thank you for reporting the issue in detail. I understand that the command you have mentioned in this issue, i.e.,
Can you help me with the following information so that I can better understand how Uncap behaves in your environment and what could be causing the issue.
|
The default behavior (change caps-lock to escape) seems to not work with SDL2 key events (and therefore likely indie games). The SDL2 does not detect any event upon pressing the Caps Lock key. Note - no event, not even a scancode is given. I've been using Rust bindings for SDL2 if that changes anything. Other windowing libraries do not share this issue, e.g.
|
I use this program to swap esc and caps lock and left control with left alt:
But inside of video games neither key works. Pressing neither caps lock nor esc brings up the menu.
At least in my case it would be okay if the program didn't work in video games, that is the keys performed their original function. But it seems to break the keys all together.
Any ideas about why that is or how to work around it? If you have any ideas I'll look into fixing it and make a pull request.
The text was updated successfully, but these errors were encountered: