kwhat / jnativehook

Global keyboard and mouse listeners for Java.
Other
1.74k stars 347 forks source link

Browser key events are not recognised #216

Open maheshkurmi opened 6 years ago

maheshkurmi commented 6 years ago

The following keys are neither listed in NAtivekeyEvents nor being fired as unknown (KEY_LOCATION_UNKNOWN)

although play,next,previous, volumeup, volumedown are working fine.

How can I listen these keys since they are there in multimedia remote i baught.

Using JDK7 , eclipse, windows 7 64 bit

Also VLC media player is detecting keys normally as speedup and speeddown keys. BTW kudos for your efforts and thanks for sharing.

kwhat commented 6 years ago

So the media keys are super sketchy, let me know what the rawCode is for the media buttons and I will see if I can add them.

maheshkurmi commented 6 years ago

Sorry I counldn't get "rawcode for media buttons". are you talking about http://www.kbdedit.com/manual/low_level_vk_list.html ? The mentioned keys are not being fired at all by JNativeHook, although they are being captured by vlc and media player.