Buttons rename (#287)
* renaming up/down/click to released/pressed/bump * missing images * fixing signature issue * updated strings * white lego logo
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
sensors.touch1.onEvent(TouchSensorEvent.Pressed, function () {
|
||||
sensors.touch1.onEvent(ButtonEvent.Pressed, function () {
|
||||
})
|
||||
sensors.touch2.onEvent(TouchSensorEvent.Bumped, function () {
|
||||
sensors.touch2.onEvent(ButtonEvent.Bumped, function () {
|
||||
})
|
||||
sensors.touch3.onEvent(TouchSensorEvent.Released, function () {
|
||||
sensors.touch3.onEvent(ButtonEvent.Released, function () {
|
||||
})
|
||||
sensors.touch4.isPressed();
|
||||
sensors.touch4.wasPressed();
|
||||
|
Reference in New Issue
Block a user