-
Notifications
You must be signed in to change notification settings - Fork 209
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
InputSource, replaces #558 #749
base: main
Are you sure you want to change the base?
Conversation
Store ModifierKeys in a uint32_t
* Use HAS_INPUT macro with --ue4ssInput option * Init InputSource System * Set Input Source according to the settings * Use thread safe get_events_safe callback
How crazy would it be to make the register_keydown_event and other functions/lambdas just compile into nothing rather than wrapping every use of them in ifdefs? |
I agree. |
Although this could be tricky with functions that use a type that is also #ifdef'd out, like Note that |
Can you just ifdef the members? |
I don't see how that would help here. |
Won't the only things using the members be the ifdef'd functions? Idk, I haven't looked closely at it. |
Members and functions are currently fully ifdef'd out. |
The discussion above has been resolved, the current status is now:
|
This PR is rebased onto main.
The old one is a disaster of a PR, this one contains only the InputSource commits and is rebased onto main.
Please see #558 for details.
This PR needs testing.
Keybinds seem to work fine for me on Linux using Proton, tested with Palworld.
Someone needs to test on Windows natively.