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

One input event delivered to ra8_widget_dispatch. More...

#include <ra8_widget.h>

Data Fields

ra8_widget_ev_kind_t kind
 Touch or button.
uint8_t reserved
 Padding.
uint16_t button_id
 Button id (for k_ra8_widget_ev_button).
int32_t x
 Touch X (for k_ra8_widget_ev_touch).
int32_t y
 Touch Y (for k_ra8_widget_ev_touch).

Detailed Description

One input event delivered to ra8_widget_dispatch.

Definition at line 77 of file ra8_widget.h.

Field Documentation

◆ button_id

uint16_t ra8_widget_event_t::button_id

Button id (for k_ra8_widget_ev_button).

Definition at line 80 of file ra8_widget.h.

Referenced by app_stub_on_input(), and wd_app_on_input().

◆ kind

◆ reserved

uint8_t ra8_widget_event_t::reserved

Padding.

Definition at line 79 of file ra8_widget.h.

◆ x

int32_t ra8_widget_event_t::x

◆ y

int32_t ra8_widget_event_t::y

Touch Y (for k_ra8_widget_ev_touch).

Definition at line 82 of file ra8_widget.h.

Referenced by internal_bg_on_input(), internal_kbd_on_input(), internal_rv_link(), internal_tb_on_input(), and ra8_widget_dispatch().


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