Aktualisiere main.ts, _locales/de/Grove-strings.json
This commit is contained in:
parent
f99eb6f2ad
commit
859b5cd634
@ -37,6 +37,6 @@
|
|||||||
"GroveJoystickKey.LL|block": "Unten links",
|
"GroveJoystickKey.LL|block": "Unten links",
|
||||||
"GroveJoystickKey.LR|block": "Unten rechts",
|
"GroveJoystickKey.LR|block": "Unten rechts",
|
||||||
"GroveJoystickKey.Press|block": "Gedrückt",
|
"GroveJoystickKey.Press|block": "Gedrückt",
|
||||||
"grove.onJoystick|block": "wenn Grove - Joysticktaste|%key an|%xpin|und|%ypin",
|
"grove.onJoystick|block": "wenn Grove - Joystickrichtung|%key an|%xpin|und|%ypin",
|
||||||
"grove.getJoystick|block": "lies Joysticktaste an|%xpin|und|%ypin"
|
"grove.getJoystick|block": "lies Joystickrichtung an|%xpin|und|%ypin"
|
||||||
}
|
}
|
2
main.ts
2
main.ts
@ -579,6 +579,7 @@ namespace grove {
|
|||||||
* Useful for comparisons
|
* Useful for comparisons
|
||||||
*/
|
*/
|
||||||
//% blockId=ggesture block="%key"
|
//% blockId=ggesture block="%key"
|
||||||
|
//% group="Gesture"
|
||||||
export function ggesture(g: GroveGesture): number {
|
export function ggesture(g: GroveGesture): number {
|
||||||
return g;
|
return g;
|
||||||
}
|
}
|
||||||
@ -610,6 +611,7 @@ namespace grove {
|
|||||||
* Useful for comparisons
|
* Useful for comparisons
|
||||||
*/
|
*/
|
||||||
//% blockId=joystickkey block="%key"
|
//% blockId=joystickkey block="%key"
|
||||||
|
//% group="Thumbjoystick"
|
||||||
export function joystickkey(key: GroveJoystickKey): number {
|
export function joystickkey(key: GroveJoystickKey): number {
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user