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

This structure contains info to build a keyboard with nbgl_layoutAddKeyboard() More...

#include <nbgl_layout.h>

Public Attributes

uint32_t keyMask
 
keyboardCallback_t callback
 function called when an active key is pressed
 
bool lettersOnly
 if true, only display letter keys and Backspace
 
keyboardMode_t mode
 keyboard mode to start with
 
bool enableBackspace
 if true, Backspace key is enabled
 
bool enableValidate
 if true, Validate key is enabled
 
bool obfuscated
 
uint8_t selectedCharIndex
 

Detailed Description

This structure contains info to build a keyboard with nbgl_layoutAddKeyboard()

Definition at line 662 of file nbgl_layout.h.

Member Data Documentation

◆ callback

keyboardCallback_t nbgl_layoutKbd_t::callback

function called when an active key is pressed

Definition at line 666 of file nbgl_layout.h.

◆ enableBackspace

bool nbgl_layoutKbd_t::enableBackspace

if true, Backspace key is enabled

Definition at line 672 of file nbgl_layout.h.

◆ enableValidate

bool nbgl_layoutKbd_t::enableValidate

if true, Validate key is enabled

Definition at line 673 of file nbgl_layout.h.

◆ keyMask

uint32_t nbgl_layoutKbd_t::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 663 of file nbgl_layout.h.

◆ lettersOnly

bool nbgl_layoutKbd_t::lettersOnly

if true, only display letter keys and Backspace

Definition at line 667 of file nbgl_layout.h.

◆ mode

keyboardMode_t nbgl_layoutKbd_t::mode

keyboard mode to start with

Definition at line 668 of file nbgl_layout.h.

◆ obfuscated

bool nbgl_layoutKbd_t::obfuscated

Definition at line 674 of file nbgl_layout.h.

◆ selectedCharIndex

uint8_t nbgl_layoutKbd_t::selectedCharIndex

Definition at line 675 of file nbgl_layout.h.


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