Module kernel::services::keyboard

source ·
Expand description

§Keyboard Service

This module defines a generic service for modeling keyboard drivers. This service can be implemented by drivers for specific keyboards, or by a generic “keyboard multiplexer” service type in the mux submodule. The latter is useful for systems that have multiple keyboards, as it allows clients which consume keyboard input to subscribe to events from all hardware keyboard drivers, rather than a single keyboard.

The key_event submodule defines a generic representation of keyboard events, which is, admittedly, a bit overly complex. It’s intended to model as many different types of keyboard as possible. Not all keyboards will provide all of the available keyboard event types, based on what keys actually exist on the keyboard.

Re-exports§

Modules§

Structs§

Enums§