Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_keyboard_s Struct Reference

struct to represent a keyboard (KEYBOARD type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_keyboard_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 common part More...
 
color_t textColor
 color set to letters. More...
 
color_t borderColor
 color set to key borders More...
 
bool lettersOnly
 if true, only display letter keys and Backspace More...
 
bool needsRefresh
 if true, means that the keyboard has been redrawn and needs a refresh More...
 
keyboardCase_t casing
 keyboard casing mode (lower, upper once or upper locked) More...
 
keyboardMode_t mode
 keyboard mode to start with More...
 
uint32_t keyMask
 
keyboardCallback_t callback
 function called when an active key is pressed More...
 

Detailed Description

struct to represent a keyboard (KEYBOARD type)

Definition at line 499 of file nbgl_obj.h.

Member Data Documentation

◆ borderColor

color_t nbgl_keyboard_s::borderColor

color set to key borders

Definition at line 502 of file nbgl_obj.h.

◆ callback

keyboardCallback_t nbgl_keyboard_s::callback

function called when an active key is pressed

Definition at line 516 of file nbgl_obj.h.

◆ casing

keyboardCase_t nbgl_keyboard_s::casing

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

Definition at line 506 of file nbgl_obj.h.

◆ keyMask

uint32_t nbgl_keyboard_s::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 513 of file nbgl_obj.h.

◆ lettersOnly

bool nbgl_keyboard_s::lettersOnly

if true, only display letter keys and Backspace

Definition at line 503 of file nbgl_obj.h.

◆ mode

keyboardMode_t nbgl_keyboard_s::mode

keyboard mode to start with

Definition at line 512 of file nbgl_obj.h.

◆ needsRefresh

bool nbgl_keyboard_s::needsRefresh

if true, means that the keyboard has been redrawn and needs a refresh

Definition at line 505 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_keyboard_s::obj

common part

Definition at line 500 of file nbgl_obj.h.

◆ textColor

color_t nbgl_keyboard_s::textColor

color set to letters.

Definition at line 501 of file nbgl_obj.h.


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