Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_keyboard_s Struct Reference

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

#include <nbgl_obj.h>

Collaboration diagram for nbgl_keyboard_s:
Collaboration graph
[legend]

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 630 of file nbgl_obj.h.

Member Data Documentation

◆ borderColor

color_t nbgl_keyboard_s::borderColor

color set to key borders

Definition at line 633 of file nbgl_obj.h.

◆ callback

keyboardCallback_t nbgl_keyboard_s::callback

function called when an active key is pressed

Definition at line 648 of file nbgl_obj.h.

◆ enableBackspace

bool nbgl_keyboard_s::enableBackspace

if true, Backspace key is enabled

Definition at line 639 of file nbgl_obj.h.

◆ enableValidate

bool nbgl_keyboard_s::enableValidate

if true, Validate key is enabled

Definition at line 640 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 645 of file nbgl_obj.h.

◆ lettersOnly

bool nbgl_keyboard_s::lettersOnly

if true, only display letter keys and Backspace

Definition at line 634 of file nbgl_obj.h.

◆ mode

keyboardMode_t nbgl_keyboard_s::mode

keyboard mode to start with

Definition at line 644 of file nbgl_obj.h.

◆ obfuscated

bool nbgl_keyboard_s::obfuscated

Definition at line 641 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keyboard_s::obj

common part

Definition at line 631 of file nbgl_obj.h.

◆ selectedCharIndex

uint8_t nbgl_keyboard_s::selectedCharIndex

Definition at line 642 of file nbgl_obj.h.

◆ textColor

color_t nbgl_keyboard_s::textColor

color set to letters.

Definition at line 632 of file nbgl_obj.h.


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