FabGL
ESP32 Display Controller and Graphics Library
|
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.
layout | A pointer to the layout structure. |
Example:
// Set German layout Keyboard.setLayout(&fabgl::GermanLayout);
Definition at line 224 of file keyboard.cpp.