-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
featureA new user visible feature for livesplit-core.A new user visible feature for livesplit-core.hotkeyThis is about the hotkey implementation.This is about the hotkey implementation.needs further discussionIt is unclear how to progress without making further decisions.It is unclear how to progress without making further decisions.
Description
Currently is only possible to detect keys pressed, but not the release event.
Had a look at the linux implementations and should be simple (didn't check mac/win/wasm), but I don't think that there's a way to make this backwards compatible other than creating another register/unregister methods.
Would you consider something like this? what would be a good api? new methods? an argument in the callback with some enum with KeyDown/KeyUp? another optional callback for the release?
Metadata
Metadata
Assignees
Labels
featureA new user visible feature for livesplit-core.A new user visible feature for livesplit-core.hotkeyThis is about the hotkey implementation.This is about the hotkey implementation.needs further discussionIt is unclear how to progress without making further decisions.It is unclear how to progress without making further decisions.