()
| 68 | } |
| 69 | |
| 70 | public static byte readState() { |
| 71 | // If strobe was cleared... |
| 72 | if ((currentKey & 0x080) == 0) { |
| 73 | // Call clipboard buffer paste routine |
| 74 | int newKey = Keyboard.getClipboardKeystroke(); |
| 75 | if (newKey >= 0) { |
| 76 | pressKey((byte) newKey); |
| 77 | } |
| 78 | } |
| 79 | return currentKey; |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Creates a new instance of Keyboard |
no test coverage detected