FabGL
ESP32 VGA Controller and Graphics Library

◆ setLayout()

void fabgl::KeyboardClass::setLayout ( KeyboardLayout const *  layout)

Set 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);