OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
input.keyboard_input_adapter.KeyboardInputAdapter Class Reference

Connect a KeyboardReader to the generic input subsystem. More...

Public Member Functions

bool is_connected (self)
 Return whether the physical keyboard reader is running.
None connect (self)
 Start receiving physical keyboard events.
None disconnect (self)
 Stop receiving physical keyboard events.

Protected Member Functions

None _key_pressed (self, str key)
 Forward one physical key press as an InputEvent.

Detailed Description

Connect a KeyboardReader to the generic input subsystem.


The documentation for this class was generated from the following file:
  • controllers/input/keyboard_input_adapter.py