mirror of
https://github.com/google/mozc-devices.git
synced 2025-11-09 09:13:27 +03:00
Read ANSI escape codes by KeyboardRecorderFromConsole
This commit is contained in:
@@ -54,4 +54,7 @@ class Bluetooth():
|
||||
if cmd not in self.UART_CODES:
|
||||
print('Unknown Command: {}'.format(cmd))
|
||||
return
|
||||
if self._dummy:
|
||||
print('bluetooth: command({})'.format(cmd))
|
||||
return
|
||||
self.send(struct.pack('b', self.UART_CODES[cmd]))
|
||||
|
||||
Reference in New Issue
Block a user