Renamed button to remoteButton on RC
This commit is contained in:
parent
9113d22766
commit
c5146bd315
@ -21,7 +21,7 @@ export class RemoteControlButton extends Device {
|
||||
* @param {number} event
|
||||
*/
|
||||
const event = message[4];
|
||||
this.emitGlobal("button", event);
|
||||
this.emitGlobal("remoteButton", event);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@ -35,7 +35,7 @@ export namespace RemoteControlButton {
|
||||
}
|
||||
|
||||
export const ModeMap: {[event: string]: number} = {
|
||||
"button": RemoteControlButton.Mode.BUTTON_EVENTS
|
||||
"remoteButton": RemoteControlButton.Mode.BUTTON_EVENTS
|
||||
}
|
||||
|
||||
export const ButtonState: {[state: string]: number} = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user