Skip to content

Java and C source file and dll file for pressing the "Volume Down", "Volume Up", "Volume Mute", "Previous Track", "Next Track", and "Play/Pause Track" keys on the keyboard using the Java Native Interface

Notifications You must be signed in to change notification settings

nsnave/java-media-keys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java-media-keys

Java source file and dll file for pressing the "Volume Down", "Volume Up", "Volume Mute", "Previous Track", "Next Track", and "Play/Pause Track", "Media Stop" virtual keys on the keyboard.

MediaKeys.java must be in a package named "commands" to work.

MediaKeys.dll must be in the same path as the "src" folder or in the same path as the .class or .jar file when compiled.

MediaKeys.c and MediaKeys.h are the the source code files for the dll.

Helpful Links:

October-2020 Update:

  • added the "Media Stop" command (VK_MEDIA_STOP)
  • removed redundancy in .c source file
  • updated MediaKeys.dll to reflect changes
  • prior version without "Media Stop" put in the folder "backup"

About

Java and C source file and dll file for pressing the "Volume Down", "Volume Up", "Volume Mute", "Previous Track", "Next Track", and "Play/Pause Track" keys on the keyboard using the Java Native Interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages