FabGL
ESP32 Display Controller and Graphics Library

◆ setLayout()

void setLayout ( KeyboardLayout const *  layout)

Sets keyboard layout.

It is possible to specify an international keyboard layout. The default is US-layout.
There are three predefined kayboard layouts: US (USA), UK (United Kingdom), DE (German) and IT (Italian). Other layout can be added inheriting from US or from any other layout.

Parameters
layoutA pointer to the layout structure.

Example:

// Set German layout
setLayout(&fabgl::GermanLayout);
Examples:
VGA/Altair8800/Altair8800.ino, VGA/NetworkTerminal/NetworkTerminal.ino, and VGA/VIC20/VIC20.ino.

Definition at line 706 of file keyboard.cpp.