Module button_keyboard

Source
Expand description

Mimic buttons using keyboard presses.

This implements the same Driver interface as the normal button capsule, but instead of using GPIO pins as the underlying source for the buttons it uses keyboard key presses.

Structs§

App
Keeps track for each app of which buttons it has a registered interrupt for.
ButtonKeyboard
Manages the list of GPIO pins that are connected to buttons and which apps are listening for interrupts from which buttons.

Constants§

DRIVER_NUM