From a23405acef5935fdd813b249fdb1dabea32a7c85 Mon Sep 17 00:00:00 2001 From: Michael Klein <37311672+MKleinSB@users.noreply.github.com> Date: Wed, 13 Nov 2019 15:23:39 +0100 Subject: [PATCH] Aktualisierungen. --- _locales/de/Grove-strings.json | 2 +- main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_locales/de/Grove-strings.json b/_locales/de/Grove-strings.json index 48ebc8d..ad2c050 100644 --- a/_locales/de/Grove-strings.json +++ b/_locales/de/Grove-strings.json @@ -33,7 +33,7 @@ "GroveJoystickKey.LL|block": "Unten links", "GroveJoystickKey.LR|block": "Unten rechts", "GroveJoystickKey.Press|block": "Gedrückt", - "grove.grove_joystick_read|block": "%strip|lies Position von Joystick an|%xpin|und|%ypin", + "grove.strip.read|block": "%strip|lies Position von Joystick an|%xpin|und|%ypin", "grove.onJoystick|block": "wenn Grove - Joysticktaste|%key", "grove.getJoystick|block": "hole Joysticktaste an|%xpin|und|%ypin" } \ No newline at end of file diff --git a/main.ts b/main.ts index 6ce0709..17f826f 100644 --- a/main.ts +++ b/main.ts @@ -548,7 +548,7 @@ namespace grove { * @param ypin * @param handler code to run */ - //% blockId=grove_joystick_create_event block="on Key|%key" + //% blockId=grove_joystick_create_event block="on Key|%key at|%xpin|and|%xpin" export function onJoystick(key: GroveJoystickKey, xpin: AnalogPin, ypin: AnalogPin, handler: () => void) { control.onEvent(joystickEventID, key, handler); control.inBackground(() => {