Am Donnerstag 10 Juli 2008 11:39:36 schrieb Paul-Valentin Borza: > Can anyone tell me how can I intercept the AUX button (i.e. detect when the > AUX is pressed and when it's not)?
If you're using the framework, you'll get signals like that: [SIGNAL] org.freesmartphone.Device.Input.Event from :1.140 /org/freesmartphone/Device/Input (dbus.String(u'AUX'), dbus.String(u'pressed'), dbus.Int32(0)) [SIGNAL] org.freesmartphone.Device.Input.Event from :1.140 /org/freesmartphone/Device/Input (dbus.String(u'AUX'), dbus.String(u'held'), dbus.Int32(2)) [SIGNAL] org.freesmartphone.Device.Input.Event from :1.140 /org/freesmartphone/Device/Input (dbus.String(u'AUX'), dbus.String(u'held'), dbus.Int32(3)) [SIGNAL] org.freesmartphone.Device.Input.Event from :1.140 /org/freesmartphone/Device/Input (dbus.String(u'AUX'), dbus.String(u'held'), dbus.Int32(4)) [SIGNAL] org.freesmartphone.Device.Input.Event from :1.140 /org/freesmartphone/Device/Input (dbus.String(u'AUX'), dbus.String(u'released'), dbus.Int32(0)) :M: