more icons
This commit is contained in:
		@@ -77,9 +77,9 @@
 | 
			
		||||
  "sensors.InfraredSensor.proximity|block": "`icons.infraredSensor` %infrared|proximity",
 | 
			
		||||
  "sensors.InfraredSensor.remoteCommand|block": "`icons.infraredSensor` %infrared|remote command",
 | 
			
		||||
  "sensors.InfraredSensor.wait|block": "wait `icons.infraredSensor` %sensor|for %event",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.isPressed|block": "%button|is pressed",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.onEvent|block": "on %button|%event",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.wasPressed|block": "%button|was pressed",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.isPressed|block": "`icons.remoteButton` %button|is pressed",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.onEvent|block": "on `icons.remoteButton` %button|%event",
 | 
			
		||||
  "sensors.RemoteInfraredBeaconButton.wasPressed|block": "`icons.remoteButton` %button|was pressed",
 | 
			
		||||
  "sensors.TouchSensor.isTouched|block": "`icons.touchSensor` %sensor|is touched",
 | 
			
		||||
  "sensors.TouchSensor.onEvent|block": "on `icons.touchSensor` %sensor|%event",
 | 
			
		||||
  "sensors.UltraSonicSensor.distance|block": "`icons.ultrasonicSensor` %sensor|distance",
 | 
			
		||||
@@ -97,11 +97,11 @@
 | 
			
		||||
  "sensors.infraredSensor2|block": "2",
 | 
			
		||||
  "sensors.infraredSensor3|block": "3",
 | 
			
		||||
  "sensors.infraredSensor4|block": "4",
 | 
			
		||||
  "sensors.remoteButtonBottomLeft|block": "remote button bottom-left",
 | 
			
		||||
  "sensors.remoteButtonBottomRight|block": "remote button bottom-right",
 | 
			
		||||
  "sensors.remoteButtonCenter|block": "remote button center",
 | 
			
		||||
  "sensors.remoteButtonTopLeft|block": "remote button top-left",
 | 
			
		||||
  "sensors.remoteButtonTopRight|block": "remote button top-right",
 | 
			
		||||
  "sensors.remoteButtonBottomLeft|block": "bottom-left",
 | 
			
		||||
  "sensors.remoteButtonBottomRight|block": "bottom-right",
 | 
			
		||||
  "sensors.remoteButtonCenter|block": "center",
 | 
			
		||||
  "sensors.remoteButtonTopLeft|block": "top-left",
 | 
			
		||||
  "sensors.remoteButtonTopRight|block": "top-right",
 | 
			
		||||
  "sensors.touchSensor1|block": "1",
 | 
			
		||||
  "sensors.touchSensor2|block": "2",
 | 
			
		||||
  "sensors.touchSensor3|block": "3",
 | 
			
		||||
 
 | 
			
		||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							@@ -93,7 +93,7 @@ namespace sensors {
 | 
			
		||||
         * @param button the remote button to query the request
 | 
			
		||||
         */
 | 
			
		||||
        //% help=input/remote-infrared-beacon/is-pressed
 | 
			
		||||
        //% block="%button|is pressed"
 | 
			
		||||
        //% block="`icons.remoteButton` %button|is pressed"
 | 
			
		||||
        //% blockId=remoteButtonIsPressed
 | 
			
		||||
        //% parts="remote"
 | 
			
		||||
        //% blockNamespace=sensors
 | 
			
		||||
@@ -108,7 +108,7 @@ namespace sensors {
 | 
			
		||||
         * @param button the remote button to query the request
 | 
			
		||||
         */
 | 
			
		||||
        //% help=input/remote-infrared-beacon/was-pressed
 | 
			
		||||
        //% block="%button|was pressed"
 | 
			
		||||
        //% block="`icons.remoteButton` %button|was pressed"
 | 
			
		||||
        //% blockId=remotebuttonWasPressed
 | 
			
		||||
        //% parts="remote"
 | 
			
		||||
        //% blockNamespace=sensors
 | 
			
		||||
@@ -125,7 +125,7 @@ namespace sensors {
 | 
			
		||||
         * @param body code to run when the event is raised
 | 
			
		||||
         */
 | 
			
		||||
        //% help=input/remote-infrared-beacon/on-event
 | 
			
		||||
        //% blockId=remotebuttonEvent block="on %button|%event"
 | 
			
		||||
        //% blockId=remotebuttonEvent block="on `icons.remoteButton` %button|%event"
 | 
			
		||||
        //% parts="remote"
 | 
			
		||||
        //% blockNamespace=sensors
 | 
			
		||||
        //% weight=99 blockGap=8
 | 
			
		||||
@@ -274,30 +274,30 @@ namespace sensors {
 | 
			
		||||
    /**
 | 
			
		||||
     * Remote beacon (center) button.
 | 
			
		||||
     */
 | 
			
		||||
    //% whenUsed block="remote button center" weight=95 fixedInstance
 | 
			
		||||
    //% whenUsed block="center" weight=95 fixedInstance
 | 
			
		||||
    export const remoteButtonCenter = irButton(IrRemoteButton.CenterBeacon)
 | 
			
		||||
    
 | 
			
		||||
    /**
 | 
			
		||||
     * Remote top-left button.
 | 
			
		||||
     */
 | 
			
		||||
    //% whenUsed block="remote button top-left" weight=95 fixedInstance
 | 
			
		||||
    //% whenUsed block="top-left" weight=95 fixedInstance
 | 
			
		||||
    export const remoteButtonTopLeft = irButton(IrRemoteButton.TopLeft)
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Remote top-right button.
 | 
			
		||||
     */
 | 
			
		||||
    //% whenUsed block="remote button top-right" weight=95 fixedInstance
 | 
			
		||||
    //% whenUsed block="top-right" weight=95 fixedInstance
 | 
			
		||||
    export const remoteButtonTopRight = irButton(IrRemoteButton.TopRight)
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Remote bottom-left button.
 | 
			
		||||
     */
 | 
			
		||||
    //% whenUsed block="remote button bottom-left" weight=95 fixedInstance
 | 
			
		||||
    //% whenUsed block="bottom-left" weight=95 fixedInstance
 | 
			
		||||
    export const remoteButtonBottomLeft = irButton(IrRemoteButton.BottomLeft)
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * Remote bottom-right button.
 | 
			
		||||
     */
 | 
			
		||||
    //% whenUsed block="remote button bottom-right" weight=95 fixedInstance
 | 
			
		||||
    //% whenUsed block="bottom-right" weight=95 fixedInstance
 | 
			
		||||
    export const remoteButtonBottomRight = irButton(IrRemoteButton.BottomRight)
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								libs/core/jres/icons/remoteButton-icon.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								libs/core/jres/icons/remoteButton-icon.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| 
		 After Width: | Height: | Size: 5.2 KiB  | 
		Reference in New Issue
	
	Block a user