ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_widget_keyboard_ops_t Struct Reference

Injected seam driving an ra8_keyboard from the keyboard widget. More...

#include <ra8_widget_keyboard.h>

Detailed Description

Injected seam driving an ra8_keyboard from the keyboard widget.

A Dependency-Inversion seam (like ra8_widget_paint_t) that keeps ra8_widget free of any ra8_keyboard dependency. count reports the number of keys; key_info fills each key's ra8_widget_key_info_t for drawing; hit maps a tap to a key index (or k_ra8_widget_key_no_hit); apply applies a key and returns whether the query is now committed. The app binds these to ra8_kbd_*.

Invariant
hit returns an index < count() or k_ra8_widget_key_no_hit.
See also
ra8_widget_keyboard_t
Since
0.1.0

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