From f36e14fe69c324b17ce2aa097922d0dafb87bf39 Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 1 Feb 2018 22:33:05 -0800 Subject: [PATCH] renaming remote button names --- libs/infrared-sensor/ir.ts | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/libs/infrared-sensor/ir.ts b/libs/infrared-sensor/ir.ts index cb477745..c9a29c58 100644 --- a/libs/infrared-sensor/ir.ts +++ b/libs/infrared-sensor/ir.ts @@ -294,34 +294,33 @@ namespace sensors { //% fixedInstance whenUsed block="infrared 4" jres=icons.port4 export const infraredSensor4: InfraredSensor = new InfraredSensor(4) - /** * Remote beacon (center) button. */ - //% whenUsed block="center" weight=95 fixedInstance + //% whenUsed block="remote button center" weight=95 fixedInstance export const remoteButtonCenter = irButton(IrRemoteButton.CenterBeacon) /** * Remote top-left button. */ - //% whenUsed block="top-left" weight=95 fixedInstance + //% whenUsed block="remote button top-left" weight=95 fixedInstance export const remoteButtonTopLeft = irButton(IrRemoteButton.TopLeft) /** * Remote top-right button. */ - //% whenUsed block="top-right" weight=95 fixedInstance + //% whenUsed block="remote button top-right" weight=95 fixedInstance export const remoteButtonTopRight = irButton(IrRemoteButton.TopRight) /** * Remote bottom-left button. */ - //% whenUsed block="bottom-left" weight=95 fixedInstance + //% whenUsed block="remote button bottom-left" weight=95 fixedInstance export const remoteButtonBottomLeft = irButton(IrRemoteButton.BottomLeft) /** * Remote bottom-right button. */ - //% whenUsed block="bottom-right" weight=95 fixedInstance + //% whenUsed block="remote button bottom-right" weight=95 fixedInstance export const remoteButtonBottomRight = irButton(IrRemoteButton.BottomRight) }