Skip to content

Commit c54f2cc

Browse files
committed
TW: add new keyboard types
TurboWarp/scratch-vm@4187f55
1 parent dfefbd1 commit c54f2cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

types/scratch-vm.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,10 @@ declare namespace VM {
979979
}
980980

981981
interface Keyboard {
982+
// TW
983+
_usedKeys: Set<string>;
984+
hasUsedKey(scratchKey: string): boolean;
985+
982986
runtime: Runtime;
983987
postData(data: KeyboardData): void;
984988
_keyStringToScratchKey(key: string): string;

0 commit comments

Comments
 (0)