pxt-common-packages
Version:
Microsoft MakeCode (PXT) common packages
6 lines • 382 B
JSON
{
"input": "Respond to and read data from buttons and sensors.\n\nEvents and data from sensors.",
"input.onSwitchMoved": "Do something when the slide switch is moved left or right.",
"input.onSwitchMoved|param|direction": "the direction the switch must be moved to trigger the event",
"input.switchRight": "Gets a value indicating if the switch is positioned to the right"
}