periwinkle/mist
3
17
Fork
You've already forked mist
1

background key inputs #13

Open
opened 2022年03月31日 03:35:50 +02:00 by ULTROS-PROFESSIONAL · 2 comments
ULTROS-PROFESSIONAL commented 2022年03月31日 03:35:50 +02:00 (Migrated from github.com)
Copy link

hi,

absolutely know nothing about rust, but i'm running this on arch and struggling to identify a way to make mist accept key inputs when it's not currently the focussed window?

this is an issue when running e.g. unity games which need to be be the focussed window to accept inputs. this is obviously an issue for speedrunning as you need to alt+tab out of the game to make your split

is there anyway to make mist accept keystrokes when it's running in the background?

i'm not sure if this is handy but livesplit have a crate to handle this apparently? https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-hotkey

thanks for writing this, i've been using it almost daily!

hi, absolutely know nothing about rust, but i'm running this on arch and struggling to identify a way to make mist accept key inputs when it's not currently the focussed window? this is an issue when running e.g. unity games which need to be be the focussed window to accept inputs. this is obviously an issue for speedrunning as you need to alt+tab out of the game to make your split is there anyway to make mist accept keystrokes when it's running in the background? i'm not sure if this is handy but livesplit have a crate to handle this apparently? [https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-hotkey](https://github.com/LiveSplit/livesplit-core/tree/master/crates/livesplit-hotkey) thanks for writing this, i've been using it almost daily!
LtPeriwinkle commented 2022年03月31日 04:36:16 +02:00 (Migrated from github.com)
Copy link

Thanks for using mist, I'm glad you find it useful! I haven't really looked into global hotkeys at all for mist, I've only been using the capabilities provided by SDL2 input handling, which doesn't include that. I'll look at livesplit-hotkey a bit more in-depth than I have in the past, see what it will take to implement. In the future, global hotkeys are probably plugin territory but since the project isn't there yet, I'll try to put them in the main thing.

Thanks for using mist, I'm glad you find it useful! I haven't really looked into global hotkeys at all for mist, I've only been using the capabilities provided by SDL2 input handling, which doesn't include that. I'll look at livesplit-hotkey a bit more in-depth than I have in the past, see what it will take to implement. In the future, global hotkeys are probably plugin territory but since the project isn't there yet, I'll try to put them in the main thing.
ULTROS-PROFESSIONAL commented 2022年03月31日 05:44:05 +02:00 (Migrated from github.com)
Copy link

thanks for getting back to me and thanks for the explanation!

as i said i don't know how to write rust and can't help with the code, so huge thanks for considering this!

thanks for getting back to me and thanks for the explanation! as i said i don't know how to write rust and can't help with the code, so huge thanks for considering this!
Sign in to join this conversation.
No Branch/Tag specified
master
restore
timer_atlas
v1.19.0
v1.18.0
v1.15.1
v1.13.1
v1.6.1
v1.5.4
v1.3.3
v1.0.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
periwinkle/mist#13
Reference in a new issue
periwinkle/mist
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?