OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
car_ui_input_runtime.CarUiInputRuntime Class Reference

Own input adapters and service them from the frontend event loop. More...

Public Member Functions

bool is_running (self)
 Return whether input polling is active.
 
None start (self)
 Connect available devices and begin frontend-thread polling.
 
None stop (self)
 Stop polling, disconnect active adapters, and discard queued input.
 

Detailed Description

Own input adapters and service them from the frontend event loop.

Device connection failures are isolated so remaining configured devices continue operating. Physical events are queued and delivered only when the frontend dispatcher runs the polling callback.

Member Function Documentation

◆ is_running()

bool car_ui_input_runtime.CarUiInputRuntime.is_running (   self)

Return whether input polling is active.

Returns
True after start() and before stop().

The documentation for this class was generated from the following file: