touched -> pressed

This commit is contained in:
Peli de Halleux 2017-10-24 21:55:37 -07:00
parent 20d584db2b
commit ea6bfa03bd
2 changed files with 3 additions and 3 deletions

View File

@ -18,8 +18,8 @@
"Output.C|block": "C",
"Output.D|block": "D",
"TouchSensorEvent.Bumped|block": "bumped",
"TouchSensorEvent.Pressed|block": "pressed",
"TouchSensorEvent.Released|block": "released",
"TouchSensorEvent.Touched|block": "touched",
"control.raiseEvent|block": "raise event|from %src|with value %value",
"control|block": "control",
"input.Button.isPressed|block": "%button|is pressed",

View File

@ -4,8 +4,8 @@
* Touch sensor interactions
*/
const enum TouchSensorEvent {
//% block="touched"
Touched = 4,
//% block="pressed"
Pressed = 4,
//% block="bumped"
Bumped = 1,
//% block="released"