(keyboard: Keyboard, key: Key)
| 171 | } |
| 172 | |
| 173 | function tap(keyboard: Keyboard, key: Key): void { |
| 174 | keyboard.pressKey(key) |
| 175 | keyboard.releaseKey(key) |
| 176 | } |
| 177 | |
| 178 | // Shift is held around a character that needs it, unless already held. |
| 179 | function typeCharacter(keyboard: Keyboard, ch: string): void { |
no test coverage detected