MeoMix / Streamus

[Deprecated -- See MeoMix/StreamusChromeExtension]
145 stars 32 forks source link

Keyboard Commands #2

Closed MeoMix closed 11 years ago

MeoMix commented 11 years ago

This should not be implemented until Google Chrome v23 is released to the public.

Google Chrome provides extensions with the ability to listen and respond to keyboard shortcuts. This provides us with a lot of potential, but also the ability to really annoy users if done improperly.

Here's the documentation on it:

http://developer.chrome.com/trunk/apps/commands.html

What I think we should be able to support:

Open SongBuzz GUI via keybinding ( CTRL + B ) ? Next Song Previous Song Pause/Play Toggle What keybindings should be used to not step on other people's feet? Note that Ctrl + Left and Ctrl + Right are used to navigate in the browser, so should stay away from those.

The code itself is relatively easy. Just listen for the appropriate keyboard event and simulate a click on the relevant control.

MeoMix commented 11 years ago

This is totally implemented for now!