Es gibt für Linux ne Software, die den Joystick-Feuerknopf überwacht. Damit kannst Du dann ein Skript starten und Mails/SMSe versenden.
Definition: jslaunch: Joystick button shell command execution/shutdown tool jslaunch is a very small daemon/program that will start a specified shell command when a combination of joystick buttons is pressed. One of its uses is as a backup way to make a clean shutdown if your console has been messed up by X11 or SVGAlib and you don't have a terminal sitting on your desk to log in and shut down from, but you can use it for example as a remote control to do just about anything (including starting a measurement on an experimental setup connected to your computer). You will not need any joystick drivers.
Ich hab das mal getestet um SMSe zu versenden, wenn ein Meldeempfänger signalisiert... Ging ganz gut.