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

Structure containing all parameters for keyboard use case. More...

#include <nbgl_use_case.h>

Collaboration diagram for nbgl_keyboardParams_t:
Collaboration graph
[legend]

Public Attributes

nbgl_layoutKeyboardContentType_t type
 type of content
 
const char * title
 centered title explaining the screen
 
char * entryBuffer
 already entered text
 
uint8_t entryMaxLen
 maximum length of text that can be entered
 
keyboardMode_t mode
 keyboard mode to start with
 
bool lettersOnly
 if true, only display letter keys and Backspace
 
bool numbered
 if set to true, the text is preceded on the left by 'number.'
 
uint8_t number
 if numbered is true, number used to build 'number.' text
 
keyboardCase_t casing
 keyboard casing mode (lower, upper once or upper locked)
 
union { 
 
   nbgl_kbdSuggestParams_t   suggestionParams 
 
   nbgl_kbdButtonParams_t   confirmationParams 
 used if type is KEYBOARD_WITH_SUGGESTIONS More...
 
};  
 

Detailed Description

Structure containing all parameters for keyboard use case.

This structure is used to configure the keyboard modal page, including the title, input buffer, keyboard mode, and the type of content (with button or suggestions).

Definition at line 364 of file nbgl_use_case.h.

Member Data Documentation

◆ [union]

union { ... } nbgl_keyboardParams_t

◆ casing

keyboardCase_t nbgl_keyboardParams_t::casing

keyboard casing mode (lower, upper once or upper locked)

Definition at line 374 of file nbgl_use_case.h.

◆ confirmationParams

nbgl_kbdButtonParams_t nbgl_keyboardParams_t::confirmationParams

used if type is KEYBOARD_WITH_SUGGESTIONS

Definition at line 379 of file nbgl_use_case.h.

◆ entryBuffer

char* nbgl_keyboardParams_t::entryBuffer

already entered text

Definition at line 367 of file nbgl_use_case.h.

◆ entryMaxLen

uint8_t nbgl_keyboardParams_t::entryMaxLen

maximum length of text that can be entered

Definition at line 368 of file nbgl_use_case.h.

◆ lettersOnly

bool nbgl_keyboardParams_t::lettersOnly

if true, only display letter keys and Backspace

Definition at line 370 of file nbgl_use_case.h.

◆ mode

keyboardMode_t nbgl_keyboardParams_t::mode

keyboard mode to start with

Definition at line 369 of file nbgl_use_case.h.

◆ number

uint8_t nbgl_keyboardParams_t::number

if numbered is true, number used to build 'number.' text

Definition at line 373 of file nbgl_use_case.h.

◆ numbered

bool nbgl_keyboardParams_t::numbered

if set to true, the text is preceded on the left by 'number.'

Definition at line 372 of file nbgl_use_case.h.

◆ suggestionParams

nbgl_kbdSuggestParams_t nbgl_keyboardParams_t::suggestionParams

Definition at line 378 of file nbgl_use_case.h.

◆ title

const char* nbgl_keyboardParams_t::title

centered title explaining the screen

Definition at line 366 of file nbgl_use_case.h.

◆ type

nbgl_layoutKeyboardContentType_t nbgl_keyboardParams_t::type

type of content

Definition at line 365 of file nbgl_use_case.h.


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