static void OnRemoteKeyButton(Message m, RemoteKeyButton button) { var e = RemoteKeyButtonPressed; if (e != null) { e(new RemoteKeyEventArgs(button)); } m.ReceiverDescription = "Remote key: '" + button.ToStringValue() + "' was pressed"; }
static void OnRemoteKeyButton(Message m, RemoteKeyButton button) { var e = RemoteKeyButtonPressed; if (e != null) { e(new RemoteKeyEventArgs(button)); } m.ReceiverDescription = "Remote key press " + button.ToStringValue() + " button"; Logger.Info(m.ReceiverDescription); }