diff --git a/hid-joystick/client.ts b/hid-joystick/client.ts index 539815096..5b0435700 100644 --- a/hid-joystick/client.ts +++ b/hid-joystick/client.ts @@ -73,7 +73,7 @@ namespace modules { //% weight=99 //% index.min=0 //% index.max=32 - //% down.shadow=toggleUpDown + //% down.shadow=toggleDownUp setButton(index: number, down: boolean) { index = index | 0 if (index < 0) return diff --git a/hid-joystick/pxt.json b/hid-joystick/pxt.json index c46b09de0..fed6b1318 100644 --- a/hid-joystick/pxt.json +++ b/hid-joystick/pxt.json @@ -2,18 +2,11 @@ "name": "jacdac-hid-joystick", "version": "0.0.0", "description": "Controls a HID joystick.", - "files": [ - "constants.ts", - "client.ts" - ], - "testFiles": [ - "test.ts" - ], - "supportedTargets": [ - "maker" - ], + "files": ["constants.ts", "client.ts"], + "testFiles": ["test.ts"], + "supportedTargets": ["maker", "arcade", "microbit"], "dependencies": { "core": "*", "jacdac": "github:microsoft/pxt-jacdac" } -} \ No newline at end of file +}