Skip to content
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

keyboard-handler Work Globally? #139

Closed
Tiestarian opened this issue Oct 5, 2013 · 2 comments
Closed

keyboard-handler Work Globally? #139

Tiestarian opened this issue Oct 5, 2013 · 2 comments

Comments

@Tiestarian
Copy link

The keyboard-handler example only seems to pick up on key events when it has focus. Is it possible, or will it ever be possible, to get it to recognise the events even when it doesn't have focus?

I want to create an app which uses keyboard shortcuts to interact with the app even when it doesn't have focus (specifically media keys on a music app).

@joemarini
Copy link
Contributor

This will probably be implemented by systemwide commands, which haven't
done yet.
On Oct 5, 2013 4:13 PM, "Tiestarian" notifications@github.com wrote:

The keyboard-handler example only seems to pick up on key events when it
has focus. Is it possible, or will it ever be possible, to get it to
recognise the events even when it doesn't have focus?

I want to create an app which uses keyboard shortcuts to interact with the
app even when it doesn't have focus (specifically media keys on a music
app).


Reply to this email directly or view it on GitHubhttps://github.com//issues/139
.

@finnurbreki
Copy link

It is in progress though and you can try it out on Windows (and Linux) if you run chrome.exe on trunk with --enable-global-commands command line param.
https://code.google.com/p/chromium/issues/detail?id=302437

@scheib scheib closed this as completed May 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants