Skip to content
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

(built-in) volume up/down buttons ignored by keyd #830

Open
Garbaz opened this issue Sep 9, 2024 · 0 comments
Open

(built-in) volume up/down buttons ignored by keyd #830

Garbaz opened this issue Sep 9, 2024 · 0 comments

Comments

@Garbaz
Copy link

Garbaz commented Sep 9, 2024

Hi,

My laptop (Surface Go 2) has built in volume up/down keys like a Smartphone or Tablet usually has. I also have a little Bluetooth camera remote that in effect is just a input device sending volumedown/volumeup events.

However, while the events of both show up in showkeys, neither of these devices are found by keyd. They neither show up in keyd monitor, nor does this:

...
volumedown = nextsong
volumeup = playpause
...

in the /etc/keyd/default.conf change their behavior (while the volume up/down keys on my regular keyboard do change behavior, so the config is fine).

Running KEYD_DEBUG=2 keyd monitor as the person in this issue does, I do get:

...
DEBUG: src/device.c:134: capabilities of /dev/input/event13 (Intel HID 5 button array): 0
...
DEBUG: src/device.c:134: capabilities of /dev/input/event26 (UBeesize): 0
...

Intel HID 5 button array is the media keys. UBeesize is the Bluetooth remote. It appears they are both detected to have no "capabilities" and therefore are ignored by keyd (?)

Question 1: Is it possible to just disable this check for capabilities? I assume it is only there for optimization, as not to listen to devices that are deemed not to send relevant input events.

Question 2: Would something similar to this PR be possible to resolve this issue? Yes, see PR #832.

@Garbaz Garbaz changed the title Remapping Volume Up/Down Keys Remapping (built-in) volume up/down buttons Sep 9, 2024
@Garbaz Garbaz changed the title Remapping (built-in) volume up/down buttons (built-in) volume up/down buttons ignored by keyd Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant