DeveloperPython reference
selkies
Token pushes and session mode switches on the selkies control plane.
Token pushes and session mode switches on the selkies control plane.
Selkies enforces input routing itself: it receives the full token map
{token: {role, slot, mk_control}} and decides per websocket connection
whether input goes to mouse/keyboard, a virtual gamepad slot, or nowhere. The
broker just keeps that map in sync with room state.
Where selkies is the window manager, /api/session switches between its
desktop and the application alone. The mode functions return None where selkies
has no such route.
attributelog= logging.getLogger(__name__)attributeRETRY_DELAY_SECONDS= 0.25Pause before the one retry a fully failed sweep gets.
attributeSESSION_MODE_TIMEOUT= 5.0Seconds a session mode request gets.
attributesession_api_available= FalseWhether the last answered session mode request found the API.