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

One key: a hit rectangle, its unshifted + shifted chars, a kind, and (for layer keys) the target layer in aux. More...

#include <ra8_keyboard.h>

Collaboration diagram for ra8_kbd_key_t:

Data Fields

ra8_ui_rect_t rect
 Hit / draw rectangle.
char ch_lower
 Unshifted char (char keys); 0 else.
char ch_upper
 Shifted char (char keys); 0 else.
ra8_kbd_key_kind_t kind
 Key behaviour.
uint8_t aux
 Target ra8_kbd_layer_t for a layer key.

Detailed Description

One key: a hit rectangle, its unshifted + shifted chars, a kind, and (for layer keys) the target layer in aux.

Definition at line 84 of file ra8_keyboard.h.

Field Documentation

◆ aux

uint8_t ra8_kbd_key_t::aux

Target ra8_kbd_layer_t for a layer key.

Definition at line 89 of file ra8_keyboard.h.

Referenced by internal_add(), and ra8_kbd_apply().

◆ ch_lower

char ra8_kbd_key_t::ch_lower

Unshifted char (char keys); 0 else.

Definition at line 86 of file ra8_keyboard.h.

Referenced by internal_add(), ra8_kbd_apply(), and ra8_kbd_key_glyph().

◆ ch_upper

char ra8_kbd_key_t::ch_upper

Shifted char (char keys); 0 else.

Definition at line 87 of file ra8_keyboard.h.

Referenced by internal_add(), ra8_kbd_apply(), and ra8_kbd_key_glyph().

◆ kind

ra8_kbd_key_kind_t ra8_kbd_key_t::kind

Key behaviour.

Definition at line 88 of file ra8_keyboard.h.

Referenced by internal_add(), ra8_kbd_apply(), and ra8_kbd_key_glyph().

◆ rect

ra8_ui_rect_t ra8_kbd_key_t::rect

Hit / draw rectangle.

Definition at line 85 of file ra8_keyboard.h.

Referenced by internal_add(), and ra8_kbd_hit().


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