Default to remote

This commit is contained in:
Michal Moskal
2017-07-10 12:53:18 +01:00
parent 0d9e719078
commit 617aae5943
3 changed files with 3 additions and 9 deletions

View File

@ -49,6 +49,8 @@ namespace input {
super()
this.channel = IrRemoteChannel.Ch0
this.buttons = []
// otherwise button events won't work
this.mode = IrSensorMode.RemoteControl
for (let i = 0; i < 5; ++i) {
this.buttons.push(new ButtonTS())
}