FabGL
ESP32 Display Controller and Graphics Library

◆ setCodePage()

void setCodePage ( CodePage const *  codepage)
inline

Sets font codepage for virtual key to ASCII conversion.

Sets current codepage for virtualkey to ASCII conversions. This method is called automatically by Terminal and UI interface.

Parameters
codepageCodepage to use

Example:

// Set codepage 437
Keyboard.setCodePage(CodePages::get(437));

Definition at line 288 of file keyboard.h.