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 following predefined kayboard layouts: US (USA), UK (United Kingdom), DE (German), IT (Italian), ES (Spanish), FR (French), BE (Belgian) and NO (Norwegian). Other layout can be added inheriting from US or from any other layout.

Parameters
layoutA pointer to the layout structure.

Example:

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

Definition at line 224 of file keyboard.cpp.