Skip to content

Add media control #16

Description

@franzmueller

Hi,
I forked your app and modified it to include media controls (play, stop, next, previous, mute, volume up and down).
The problem I encountered is that java (or at least the Robot class) by default can't emulate key presses for special keys like the media keys. I therefore used the jnativehook library, which I found working just fine (tested on Windows only).
For the moment you need to import the library yourself (I think the GPL license of jnativehook isn't compatible with your MIT license).

Feel free to check my implementation and include it in your build or modify it as you like.

Kind regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions