Author Options:

Shortcut for ctrl+r via button wired to gpio Answered

hi I am in need to do a shortcut via a push button to reload magic mirror. i understand it has to be wired to one of the gpio inputs. Basically once I press the button i want it to send a ctrl+r keyboard command. does any one know of the software and code I should use. would greatly appreciate any comments I am a bit stuck. Many thanks Dan.... raspberry pi newby