Renamed button to remoteButton on RC

This commit is contained in:
Nathan Kellenicki 2019-12-23 20:32:12 -08:00
parent 9113d22766
commit c5146bd315

View File

@ -21,7 +21,7 @@ export class RemoteControlButton extends Device {
* @param {number} event * @param {number} event
*/ */
const event = message[4]; const event = message[4];
this.emitGlobal("button", event); this.emitGlobal("remoteButton", event);
break; break;
} }
} }
@ -35,7 +35,7 @@ export namespace RemoteControlButton {
} }
export const ModeMap: {[event: string]: number} = { export const ModeMap: {[event: string]: number} = {
"button": RemoteControlButton.Mode.BUTTON_EVENTS "remoteButton": RemoteControlButton.Mode.BUTTON_EVENTS
} }
export const ButtonState: {[state: string]: number} = { export const ButtonState: {[state: string]: number} = {