livesplit-core icon indicating copy to clipboard operation
livesplit-core copied to clipboard

Add Support for Key Combinations

Open xliiv opened this issue 5 years ago • 1 comments

Is it possible to register a key combination? For example

fn main() -> Result<(), Box<dyn std::error::Error>> {
    use livesplit_hotkey::{Hook, KeyCode};
    let hook = Hook::new().unwrap();
    hook.register(KeyCode::Alt + KeyCode::Space, || println!("combo!")).unwrap();
}

I didn't find anything I assume it's not possible, but i also could overlooked it.

xliiv avatar Dec 22 '19 10:12 xliiv

Yeah you can't do that yet. Let's use this as a tracking issue for supporting this eventually.

CryZe avatar Dec 24 '19 15:12 CryZe