T
T
Tolik2015-06-18 13:19:52
linux
Tolik, 2015-06-18 13:19:52

How to intercept a button press on a wired headset on Linux?

The usual headset, two headphones, a microphone and a button. You know. The laptop socket just allows you to stick such a "two in one". Of course, the microphone will work. And I also want buttons, so that when clicked, for example, the specified command is executed

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Serg Off, 2015-06-21
@Diel

the button closes the microphone input to a common wire. this is the moment you need to catch hardware

M
Maxim Moseychuk, 2015-06-18
@fshp

The laptop socket is just the same two in one - a microphone and headphones. And you need 3 in one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question