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

@ -34,9 +34,7 @@ input.touch.button.onEvent(ButtonEvent.Click, () => {
num++
})
input.ir.getRemoteCommand()
input.ir.button(IrRemoteButton.TopLeft).onEvent(ButtonEvent.Down, () => {
input.ir.button(IrRemoteButton.TopLeft).onEvent(ButtonEvent.Click, () => {
screen.drawText(10, 60, "TOPLEFT " + num)
num++
})