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

struct to represent a keypad (KEYPAD type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_keypad_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 common part
 
color_t borderColor
 color set to key borders
 
bool softValidation
 if true, the "check icon" is replaced by an arrow
 
bool enableDigits
 if true, Digit keys are enabled
 
bool partial
 if true, means that only some keys have changed
 
uint8_t digitIndexes [5]
 array of digits indexes, 4 bits per digit
 
bool enableBackspace
 if true, Backspace key is enabled
 
bool enableValidate
 if true, Validate key is enabled
 
bool shuffled
 if true, Digit keys are shuffled
 
keyboardCallback_t callback
 function called when an active key is pressed
 

Detailed Description

struct to represent a keypad (KEYPAD type)

Definition at line 544 of file nbgl_obj.h.

Member Data Documentation

◆ borderColor

color_t nbgl_keypad_s::borderColor

color set to key borders

Definition at line 547 of file nbgl_obj.h.

◆ callback

keyboardCallback_t nbgl_keypad_s::callback

function called when an active key is pressed

Definition at line 558 of file nbgl_obj.h.

◆ digitIndexes

uint8_t nbgl_keypad_s::digitIndexes[5]

array of digits indexes, 4 bits per digit

Definition at line 551 of file nbgl_obj.h.

◆ enableBackspace

bool nbgl_keypad_s::enableBackspace

if true, Backspace key is enabled

Definition at line 555 of file nbgl_obj.h.

◆ enableDigits

bool nbgl_keypad_s::enableDigits

if true, Digit keys are enabled

Definition at line 549 of file nbgl_obj.h.

◆ enableValidate

bool nbgl_keypad_s::enableValidate

if true, Validate key is enabled

Definition at line 556 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keypad_s::obj

common part

Definition at line 545 of file nbgl_obj.h.

◆ partial

bool nbgl_keypad_s::partial

if true, means that only some keys have changed

Definition at line 550 of file nbgl_obj.h.

◆ shuffled

bool nbgl_keypad_s::shuffled

if true, Digit keys are shuffled

Definition at line 557 of file nbgl_obj.h.

◆ softValidation

bool nbgl_keypad_s::softValidation

if true, the "check icon" is replaced by an arrow

Definition at line 548 of file nbgl_obj.h.


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