Programming custom USB driver and creating own device

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.
You're going to need a whole heck of a lot of c programming knowledge.

Here's a couple of links compliments of

Remember A LOT of C programming knowledge is required in order to code in usb's API because you're dealing with not just software but with hardware code as well. Good Luck
Topic archived. No new replies allowed.