Embedded SDK
Embedded SDK
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 More...
 
bool lettersOnly
 if true, only display letter keys and Backspace More...
 
keyboardMode_t mode
 keyboard mode to start with More...
 
keyboardCase_t casing
 keyboard casing mode (lower, upper once or upper locked) More...
 

Detailed Description

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

Definition at line 564 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 568 of file nbgl_layout.h.

◆ casing

keyboardCase_t nbgl_layoutKbd_t::casing

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

Definition at line 572 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 565 of file nbgl_layout.h.

◆ lettersOnly

bool nbgl_layoutKbd_t::lettersOnly

if true, only display letter keys and Backspace

Definition at line 569 of file nbgl_layout.h.

◆ mode

keyboardMode_t nbgl_layoutKbd_t::mode

keyboard mode to start with

Definition at line 570 of file nbgl_layout.h.


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