Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_keyboard_s Struct Reference

struct to represent a keyboard (KEYBOARD type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_keyboard_s:

Public Attributes

nbgl_obj_t obj
 common part
color_t textColor
 color set to letters.
color_t borderColor
 color set to key borders
bool lettersOnly
 if true, only display letter keys and Backspace
bool needsRefresh
 if true, means that the keyboard has been redrawn and needs a refresh
keyboardCase_t casing
 keyboard casing mode (lower, upper once or upper locked)
keyboardMode_t mode
 keyboard mode to start with
uint32_t keyMask
keyboardCallback_t callback
 function called when an active key is pressed

Detailed Description

struct to represent a keyboard (KEYBOARD type)

Definition at line 486 of file nbgl_obj.h.

Member Data Documentation

◆ borderColor

color_t nbgl_keyboard_s::borderColor

color set to key borders

Definition at line 489 of file nbgl_obj.h.

◆ callback

keyboardCallback_t nbgl_keyboard_s::callback

function called when an active key is pressed

Definition at line 504 of file nbgl_obj.h.

◆ casing

keyboardCase_t nbgl_keyboard_s::casing

keyboard casing mode (lower, upper once or upper locked)

Definition at line 493 of file nbgl_obj.h.

◆ keyMask

uint32_t nbgl_keyboard_s::keyMask

mask used to disable some keys in letters only mod. The 26 LSB bits of mask are used, for the 26 letters of a QWERTY keyboard. Bit[0] for Q, Bit[1] for W and so on

Definition at line 501 of file nbgl_obj.h.

◆ lettersOnly

bool nbgl_keyboard_s::lettersOnly

if true, only display letter keys and Backspace

Definition at line 490 of file nbgl_obj.h.

◆ mode

keyboardMode_t nbgl_keyboard_s::mode

keyboard mode to start with

Definition at line 500 of file nbgl_obj.h.

◆ needsRefresh

bool nbgl_keyboard_s::needsRefresh

if true, means that the keyboard has been redrawn and needs a refresh

Definition at line 492 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keyboard_s::obj

common part

Definition at line 487 of file nbgl_obj.h.

◆ textColor

color_t nbgl_keyboard_s::textColor

color set to letters.

Definition at line 488 of file nbgl_obj.h.


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