Aktualisiere main.ts, _locales/de/Grove-strings.json

This commit is contained in:
Michael Klein 2020-09-17 22:18:34 +02:00
parent f99eb6f2ad
commit 859b5cd634
2 changed files with 4 additions and 2 deletions

View File

@ -37,6 +37,6 @@
"GroveJoystickKey.LL|block": "Unten links",
"GroveJoystickKey.LR|block": "Unten rechts",
"GroveJoystickKey.Press|block": "Gedrückt",
"grove.onJoystick|block": "wenn Grove - Joysticktaste|%key an|%xpin|und|%ypin",
"grove.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin"
"grove.onJoystick|block": "wenn Grove - Joystickrichtung|%key an|%xpin|und|%ypin",
"grove.getJoystick|block": "lies Joystickrichtung an|%xpin|und|%ypin"
}

View File

@ -579,6 +579,7 @@ namespace grove {
* Useful for comparisons
*/
//% blockId=ggesture block="%key"
//% group="Gesture"
export function ggesture(g: GroveGesture): number {
return g;
}
@ -610,6 +611,7 @@ namespace grove {
* Useful for comparisons
*/
//% blockId=joystickkey block="%key"
//% group="Thumbjoystick"
export function joystickkey(key: GroveJoystickKey): number {
return key;
}