Embedded SDK
Embedded SDK
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 More...
 
color_t textColor
 color set to digits. More...
 
color_t borderColor
 color set to key borders More...
 
bool enableDigits
 if true, Digit keys are enabled More...
 
bool partial
 if true, means that only some keys have changed More...
 
uint8_t digitIndexes [5]
 array of digits indexes, 4 bits per digit More...
 
bool enableBackspace
 if true, Backspace key is enabled More...
 
bool enableValidate
 if true, Validate key is enabled More...
 
bool shuffled
 if true, Digit keys are shuffled More...
 
keyboardCallback_t callback
 function called when an active key is pressed More...
 

Detailed Description

struct to represent a keypad (KEYPAD type)

Definition at line 523 of file nbgl_obj.h.

Member Data Documentation

◆ borderColor

color_t nbgl_keypad_s::borderColor

color set to key borders

Definition at line 527 of file nbgl_obj.h.

◆ callback

keyboardCallback_t nbgl_keypad_s::callback

function called when an active key is pressed

Definition at line 537 of file nbgl_obj.h.

◆ digitIndexes

uint8_t nbgl_keypad_s::digitIndexes[5]

array of digits indexes, 4 bits per digit

Definition at line 530 of file nbgl_obj.h.

◆ enableBackspace

bool nbgl_keypad_s::enableBackspace

if true, Backspace key is enabled

Definition at line 534 of file nbgl_obj.h.

◆ enableDigits

bool nbgl_keypad_s::enableDigits

if true, Digit keys are enabled

Definition at line 528 of file nbgl_obj.h.

◆ enableValidate

bool nbgl_keypad_s::enableValidate

if true, Validate key is enabled

Definition at line 535 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keypad_s::obj

common part

Definition at line 524 of file nbgl_obj.h.

◆ partial

bool nbgl_keypad_s::partial

if true, means that only some keys have changed

Definition at line 529 of file nbgl_obj.h.

◆ shuffled

bool nbgl_keypad_s::shuffled

if true, Digit keys are shuffled

Definition at line 536 of file nbgl_obj.h.

◆ textColor

color_t nbgl_keypad_s::textColor

color set to digits.

Definition at line 526 of file nbgl_obj.h.


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