My main reason for doing this is practice.
I wish to create an USB button, which will, when pressed execute a command "banshee --toggle-playing"
I know some programming, mainly solving problems, however this section is completely unknown to me, and I'd like to study it further.
Let's say that when black and red USB wires are connected, the command shall be triggered.
How might I achieve this?
Thank you in advance.