I have setup an X-Box 360 controller with the system and it works perfectly. Currently I ssh into the system to shut it down, but I was wondering if there was a way to do a combination of keys or a key-hold to send a shut-down command. I have setup the middle X-Box button to exit the emulator, but maybe I can setup like hold select and start to shut-down the Pi?
Is there a way to bind controller buttons to a specific command, like ‘sudo shutdown -h now’
Necessary and Functional
These cookies are placed to make it possible to analyze this website (with Google Analytics) and optimize for the purpose of a.o. the usability.
Cookie names: _ga, _gat, _gid
These cookies are placed to show advertisements (of Google AdSense) and to get these close to your interest.
Cookie names: id, IDE, FLC, DSID, SNID, NID
These cookies are required to show the cookie notification bar, remember your cookie acceptance choice and apply this choice.
Cookie names: privacy_embeds, wpca_consent, woocommerce_cart_hash, woocommerce_items_in_cart, wp_woocommerce_session_, wp-settings-1, wp-settings-time-1