MCPcopy Create free account
hub / github.com/RetiredWizard/PyDOS / __init__

Method __init__

cpython/lib/optional/pydos_ui_bbkeybd.py:21–31  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

19 #_kbd = None
20
21 def __init__(self):
22 Pydos_hw.KFW = True
23 self.kbd = BBQ10Keyboard(Pydos_hw.I2C(),BBQI2CDevice=Pydos_hw.I2CbbqDevice)
24
25 self._contrl_seq = []
26
27 self.shift_Lock = False
28 self.shift_Mode = self.SHIFT # Default Cap lock/Long Press mode
29
30 self.lastCmdLine = ""
31 self.commandHistory = []
32
33 def serial_bytes_available(self):
34 # Does the same function as supervisor.runtime.serial_bytes_available

Callers

nothing calls this directly

Calls 2

BBQ10KeyboardClass · 0.90
I2CMethod · 0.80

Tested by

no test coverage detected