-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multimedia keys on Linux #20
Comments
Does this mean you can't capture a multimedia button press, or you can't send a key press? Looking at an application where I want to send a multimedia key (not capture) so would this issue affect my use? Thanks! |
It's been a while, let me check... |
TL;DR: Yes, it works, as long as you know the scan code. I just tried with a Fedora 25 live CD. Pressing
This allowed me to record and replay the key presses, with the microphone correctly muting and unmuting as with a normal key press:
If you are trying to emulate media keys that you don't have, I don't know what would happen. If you do try, please report back here and I'll note down for future users. |
Okay great. I'll go ahead and mess around with it then. Thanks for doing that little bit of research! I appreciate it! I was looking at some of the Windows keyboard codes here, with the volume up/down/mute buttons being of particular interest.
And then there are the keyboard/keypad codes defined by the USB Implementers Forum here (pg. 56).
Maybe between the two of those I get get something working. |
Linux doesn't seem to emit any events for multimedia keys. In Windows they were already weird because of their null scan code, but in Linux literally nothing happens.
This should be fixed somehow.
The text was updated successfully, but these errors were encountered: