I want to capture key presses on Windows like Fn+Pause, Fn+VolumeUp in my Java Application but I am unable to detect their KeyCodes.
addKeyListener(new KeyAdapter() {
@Override
public void keyPressed(KeyEvent e) {
System.out.println(e.getKeyCode());
}
});
Using this snippet it prints 0 for all the Multimedia Key Presses !
Kindly suggest a suitable method for finding the keyCode and thereby utilizing it in Java Application.