Page 1 of 1

Execute script when gamepad button is pressed

Posted: Tue Nov 08, 2016 12:18 pm
by ashurek
I would like to know how to interact with the operating system after pressing a button on the gamepad.
The actions that interest me are to power off raspberry pi, turn up and down the volume.

Can you help me with this?

Thanks

Re: Execute script when gamepad button is pressed

Posted: Tue Nov 08, 2016 12:28 pm
by topguy
Most of the things I wanted to mention is already here:
http://unix.stackexchange.com/questions ... tick-input