diff options
Diffstat (limited to 'kvmd/kvmd/__init__.py')
-rw-r--r-- | kvmd/kvmd/__init__.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kvmd/kvmd/__init__.py b/kvmd/kvmd/__init__.py index 03088dcb..a1eca26b 100644 --- a/kvmd/kvmd/__init__.py +++ b/kvmd/kvmd/__init__.py @@ -5,6 +5,7 @@ from .application import init from .atx import Atx from .streamer import Streamer +from .ps2 import Ps2Keyboard from .server import Server from . import gpio @@ -33,9 +34,16 @@ def main() -> None: loop=loop, ) + keyboard = Ps2Keyboard( + clock=config["keyboard"]["pinout"]["clock"], + data=config["keyboard"]["pinout"]["data"], + pulse=config["keyboard"]["pulse"], + ) + Server( atx=atx, streamer=streamer, + keyboard=keyboard, heartbeat=config["server"]["heartbeat"], atx_leds_poll=config["atx"]["leds"]["poll"], video_shutdown_delay=config["video"]["shutdown_delay"], |