#Add Mic Mute support

1 messages · Page 1 of 1 (latest)

elder lagoon
#

Hey there. apparently I've come across a few devices that allow me to mute my microphone.
I've also datamined the HID input events for it and came to the conclusion, that the HID Key 248 causes the microphone to mute and unmute on both lenovo thinkpad keyboards (usually fn + f4) as well as dells soundbars that have microsoft teams certification.
so.. please add this key to wootility, so it can be assigned properly.
thanks!
this keyboard key code both works in windows and linux so I assume it's known enough to be added.

some reference of the oscode in kanata:
https://github.com/jtroo/kanata/blob/bc5529891f606b9675b0192b21db0011c7c7fe10/parser/src/keys/mod.rs#L630

GitHub

Improve keyboard comfort and usability with advanced customization - jtroo/kanata

full grotto
#

OS codes arent helpful on keyboards. What we are actually looking at is hid usage page 0x01 and usage A9 as well as maybe usage page 0x08 and usdage 57

elder lagoon
# full grotto OS codes arent helpful on keyboards. What we are actually looking at is hid usag...
evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:      Power Button
/dev/input/event1:      Sleep Button
/dev/input/event10:     Wooting WootingTwo Mouse
/dev/input/event11:     DELL DELL Slim Soundbar SB522A Consumer Control
/dev/input/event12:     DELL DELL Slim Soundbar SB522A
/dev/input/event13:     PC Speaker
/dev/input/event14:     Elan Touchpad
/dev/input/event15:     Elan TrackPoint
/dev/input/event16:     sof-hda-dsp Mic
/dev/input/event17:     sof-hda-dsp Headphone
/dev/input/event18:     sof-hda-dsp HDMI/DP,pcm=3
/dev/input/event19:     sof-hda-dsp HDMI/DP,pcm=4
/dev/input/event2:      Lid Switch
/dev/input/event20:     sof-hda-dsp HDMI/DP,pcm=5
/dev/input/event21:     DELL DELL Slim Soundbar SB522A
/dev/input/event22:     DELL DELL Slim Soundbar SB522A
/dev/input/event23:     kanata
/dev/input/event24:     Wooting Two
/dev/input/event25:     Lexip Lexip Gaming
/dev/input/event26:     Lexip Lexip Gaming
/dev/input/event27:     Lexip Lexip Gaming
/dev/input/event3:      AT Translated Set 2 keyboard
/dev/input/event4:      ThinkPad Extra Buttons
/dev/input/event5:      Video Bus
/dev/input/event6:      DP-1
/dev/input/event7:      Wooting WootingTwo
/dev/input/event8:      Wooting WootingTwo System Control
/dev/input/event9:      Wooting WootingTwo Consumer Control
Select the device event number [0-27]: 22
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x413c product 0x8204 version 0x110
Input device name: "DELL DELL Slim Soundbar SB522A"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 248 (KEY_MICMUTE)
    Event code 256 (BTN_0)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
  Event type 17 (EV_LED)
    Event code 7 (LED_MUTE) state 0
Properties:
Testing ... (interrupt to exit)
Event: time 1737740855.807436, type 4 (EV_MSC), code 4 (MSC_SCAN), value b002f
Event: time 1737740855.807436, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 1
Event: time 1737740855.807436, -------------- SYN_REPORT ------------
Event: time 1737740855.807445, type 1 (EV_KEY), code 248 (KEY_MICMUTE), value 0
Event: time 1737740855.807445, -------------- SYN_REPORT ------------
full grotto
#

this is what matters from the keyboard side

elder lagoon
full grotto
#

i already posted the hid codes

#

and simon has already been informed

elder lagoon
#

oki that's dope