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 enableBackspace
 if true, Backspace key is enabled
bool enableValidate
 if true, Validate key is enabled
bool obfuscated
uint8_t selectedCharIndex
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.

◆ enableBackspace

bool nbgl_keyboard_s::enableBackspace

if true, Backspace key is enabled

Definition at line 495 of file nbgl_obj.h.

◆ enableValidate

bool nbgl_keyboard_s::enableValidate

if true, Validate key is enabled

Definition at line 496 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.

◆ obfuscated

bool nbgl_keyboard_s::obfuscated

Definition at line 497 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keyboard_s::obj

common part

Definition at line 487 of file nbgl_obj.h.

◆ selectedCharIndex

uint8_t nbgl_keyboard_s::selectedCharIndex

Definition at line 498 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: