FabGL
ESP32 VGA Controller and Graphics Library
fabgl Namespace Reference

Classes

struct  AltVirtualKeyDef
 Associates a virtualkey and various shift states (ctrl, alt, etc..) to another virtualkey. More...
 
struct  Bitmap
 Represents an image with 64 colors image and transparency. More...
 
struct  BitmapDrawingInfo
 
class  CanvasClass
 A class with a set of drawing methods. More...
 
class  CollisionDetector
 A class to detect sprites collisions. More...
 
struct  EmuState
 
struct  FontInfo
 
struct  Glyph
 Represents a glyph position, size and binary data. More...
 
union  GlyphOptions
 Specifies various glyph painting options. More...
 
struct  GlyphsBuffer
 
struct  GlyphsBufferRenderInfo
 
class  KeyboardClass
 The PS2 Keyboard controller class. More...
 
struct  KeyboardLayout
 All in one structure to fully represent a keyboard layout. More...
 
struct  PaintOptions
 Specifies general paint options. More...
 
struct  PaintState
 
struct  Path
 
struct  Point
 Represents the coordinate of a point. More...
 
struct  Primitive
 
class  PS2ControllerClass
 The PS2 device controller class. More...
 
class  QuadTree
 
struct  QuadTreeObject
 
struct  RawData
 Represents a region of raw screen buffer. More...
 
struct  Rect
 Represents a rectangle. More...
 
struct  RGB
 Represents an RGB color. More...
 
class  Scene
 Scene is an abstract class useful to encapsulate functionalities of a scene (sprites, collision detector and updates). More...
 
struct  Size
 Represents a bidimensional size. More...
 
struct  Sprite
 Represents a sprite. More...
 
class  SquareWaveGeneratorClass
 This is a square wave generator that uses APLL internal Audio PLL clock. More...
 
class  TerminalClass
 An ANSI-VT100 compatible display terminal. More...
 
struct  TerminalCursorState
 
struct  Timings
 Specifies the VGA timings. This is a modeline decoded. More...
 
class  VGAControllerClass
 Represents the VGA controller. More...
 
struct  VirtualKeyDef
 Associates scancode to virtualkey. More...
 

Typedefs

typedef void(* CollisionDetectionCallback) (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint)
 

Enumerations

enum  QuadTreeQuadrant {
  TopLeft, TopRight, BottomLeft, BottomRight,
  None
}
 
enum  PS2Device {
  UnknownPS2Device, OldATKeyboard, MouseStandard, MouseWithScrollWheel,
  Mouse5Buttons, MF2KeyboardWithTranslation, M2Keyboard
}
 Represents the type of device attached to PS/2 port. More...
 
enum  VirtualKey {
  VK_NONE, VK_SPACE, VK_0, VK_1,
  VK_2, VK_3, VK_4, VK_5,
  VK_6, VK_7, VK_8, VK_9,
  VK_KP_0, VK_KP_1, VK_KP_2, VK_KP_3,
  VK_KP_4, VK_KP_5, VK_KP_6, VK_KP_7,
  VK_KP_8, VK_KP_9, VK_a, VK_b,
  VK_c, VK_d, VK_e, VK_f,
  VK_g, VK_h, VK_i, VK_j,
  VK_k, VK_l, VK_m, VK_n,
  VK_o, VK_p, VK_q, VK_r,
  VK_s, VK_t, VK_u, VK_v,
  VK_w, VK_x, VK_y, VK_z,
  VK_A, VK_B, VK_C, VK_D,
  VK_E, VK_F, VK_G, VK_H,
  VK_I, VK_J, VK_K, VK_L,
  VK_M, VK_N, VK_O, VK_P,
  VK_Q, VK_R, VK_S, VK_T,
  VK_U, VK_V, VK_W, VK_X,
  VK_Y, VK_Z, VK_GRAVEACCENT, VK_ACUTEACCENT,
  VK_QUOTE, VK_QUOTEDBL, VK_EQUALS, VK_MINUS,
  VK_KP_MINUS, VK_PLUS, VK_KP_PLUS, VK_KP_MULTIPLY,
  VK_ASTERISK, VK_BACKSLASH, VK_KP_DIVIDE, VK_SLASH,
  VK_KP_PERIOD, VK_PERIOD, VK_COLON, VK_COMMA,
  VK_SEMICOLON, VK_AMPERSAND, VK_VERTICALBAR, VK_HASH,
  VK_AT, VK_CARET, VK_DOLLAR, VK_POUND,
  VK_EURO, VK_PERCENT, VK_EXCLAIM, VK_QUESTION,
  VK_LEFTBRACE, VK_RIGHTBRACE, VK_LEFTBRACKET, VK_RIGHTBRACKET,
  VK_LEFTPAREN, VK_RIGHTPAREN, VK_LESS, VK_GREATER,
  VK_UNDERSCORE, VK_DEGREE, VK_SECTION, VK_TILDE,
  VK_NEGATION, VK_LSHIFT, VK_RSHIFT, VK_LALT,
  VK_RALT, VK_LCTRL, VK_RCTRL, VK_LGUI,
  VK_RGUI, VK_ESCAPE, VK_PRINTSCREEN1, VK_PRINTSCREEN2,
  VK_SYSREQ, VK_INSERT, VK_KP_INSERT, VK_DELETE,
  VK_KP_DELETE, VK_BACKSPACE, VK_HOME, VK_KP_HOME,
  VK_END, VK_KP_END, VK_PAUSE, VK_BREAK,
  VK_SCROLLLOCK, VK_NUMLOCK, VK_CAPSLOCK, VK_TAB,
  VK_RETURN, VK_KP_ENTER, VK_APPLICATION, VK_PAGEUP,
  VK_KP_PAGEUP, VK_PAGEDOWN, VK_KP_PAGEDOWN, VK_UP,
  VK_KP_UP, VK_DOWN, VK_KP_DOWN, VK_LEFT,
  VK_KP_LEFT, VK_RIGHT, VK_KP_RIGHT, VK_KP_CENTER,
  VK_F1, VK_F2, VK_F3, VK_F4,
  VK_F5, VK_F6, VK_F7, VK_F8,
  VK_F9, VK_F10, VK_F11, VK_F12,
  VK_GRAVE_a, VK_GRAVE_e, VK_ACUTE_e, VK_GRAVE_i,
  VK_GRAVE_o, VK_GRAVE_u, VK_CEDILLA_c, VK_ESZETT,
  VK_UMLAUT_u, VK_UMLAUT_o, VK_UMLAUT_a, VK_LAST
}
 Represents each possible real or derived (SHIFT + real) key. More...
 
enum  KeypadMode { KeypadMode::Application, KeypadMode::Numeric }
 
enum  ScreenBlock { FrontPorch, Sync, BackPorch, VisibleArea }
 Represents one of the four blocks of horizontal or vertical line. More...
 
enum  PrimitiveCmd {
  PrimitiveCmd::SetPenColor, PrimitiveCmd::SetBrushColor, PrimitiveCmd::SetPixel, PrimitiveCmd::MoveTo,
  PrimitiveCmd::LineTo, PrimitiveCmd::FillRect, PrimitiveCmd::FillEllipse, PrimitiveCmd::DrawEllipse,
  PrimitiveCmd::Clear, PrimitiveCmd::VScroll, PrimitiveCmd::HScroll, PrimitiveCmd::DrawGlyph,
  PrimitiveCmd::SetGlyphOptions, PrimitiveCmd::SetPaintOptions, PrimitiveCmd::CopyRect, PrimitiveCmd::SetScrollingRegion,
  PrimitiveCmd::SwapFGBG, PrimitiveCmd::RenderGlyphsBuffer, PrimitiveCmd::DrawBitmap, PrimitiveCmd::RefreshSprites,
  PrimitiveCmd::SwapBuffers, PrimitiveCmd::FillPath, PrimitiveCmd::DrawPath
}
 
enum  Color {
  Black, Red, Green, Yellow,
  Blue, Magenta, Cyan, White,
  BrightBlack, BrightRed, BrightGreen, BrightYellow,
  BrightBlue, BrightMagenta, BrightCyan, BrightWhite
}
 This enum defines named colors. More...
 

Functions

void replace_placeholders (uint32_t prg_start, int size, gpio_num_t clkGPIO, gpio_num_t datGPIO)
 
void collisionDetectionCallback (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint)
 
template<typename T >
const T & max (const T &a, const T &b)
 
template<typename T >
const T & min (const T &a, const T &b)
 
template<typename T >
const T & clamp (const T &v, const T &lo, const T &hi)
 
template<typename T >
const T & wrap (const T &v, const T &lo, const T &hi)
 
template<typename T >
void swap (T &v1, T &v2)
 
bool calcParity (uint8_t v)
 
bool operator== (RGB const &lhs, RGB const &rhs)
 
bool operator!= (RGB const &lhs, RGB const &rhs)
 
uint8_t glyphMapItem_getIndex (uint32_t const volatile *mapItem)
 
Color glyphMapItem_getBGColor (uint32_t const volatile *mapItem)
 
Color glyphMapItem_getFGColor (uint32_t const volatile *mapItem)
 
GlyphOptions glyphMapItem_getOptions (uint32_t const volatile *mapItem)
 
void glyphMapItem_setOptions (uint32_t volatile *mapItem, GlyphOptions const &options)
 

Variables

const KeyboardLayout USLayout
 Predefined US layout. Often used as inherited layout for other layouts. More...
 
const KeyboardLayout UKLayout
 UK keyboard layout. More...
 
const KeyboardLayout GermanLayout
 German keyboard layout. More...
 
const KeyboardLayout ItalianLayout
 Italian keyboard layout. More...
 
const int16_t REPEATRATES [32]
 
const ulp_insn_t ULPCode []
 
const char TERMID [] = "?64;1;6;22c"
 
const char CSI_7BIT [] = "\e["
 
const char CSI_8BIT [] = "\x9B"
 
const char DCS_7BIT [] = "\eP"
 
const char DCS_8BIT [] = "\x90"
 
const char SS2_7BIT [] = "\eN"
 
const char SS2_8BIT [] = "\x8E"
 
const char SS3_7BIT [] = "\eO"
 
const char SS3_8BIT [] = "\x8F"
 
const char ST_7BIT [] = "\e\\"
 
const char ST_8BIT [] = "\x9C"
 
const char OSC_7BIT [] = "\e]"
 
const char OSC_8BIT [] = "\x9D"
 
const char * CTRLCHAR_TO_STR []
 
RGB COLOR2RGB [16]
 

Typedef Documentation

◆ CollisionDetectionCallback

typedef void(* fabgl::CollisionDetectionCallback) (void *callbackObj, Sprite *spriteA, Sprite *spriteB, Point collisionPoint)

Enumeration Type Documentation

◆ Color

This enum defines named colors.

First eight full implement all available colors when 1 bit per channel mode is used (having 8 colors).

Enumerator
Black 

Equivalent to R = 0, G = 0, B = 0

Red 

Equivalent to R = 1, G = 0, B = 0

Green 

Equivalent to R = 0, G = 1, B = 0

Yellow 

Equivalent to R = 1, G = 1, B = 0

Blue 

Equivalent to R = 0, G = 0, B = 1

Magenta 

Equivalent to R = 1, G = 0, B = 1

Cyan 

Equivalent to R = 0, G = 1, B = 1

White 

Equivalent to R = 1, G = 1, B = 1

BrightBlack 

Equivalent to R = 1, G = 1, B = 1

BrightRed 

Equivalent to R = 3, G = 0, B = 0

BrightGreen 

Equivalent to R = 0, G = 3, B = 0

BrightYellow 

Equivalent to R = 3, G = 3, B = 0

BrightBlue 

Equivalent to R = 0, G = 0, B = 3

BrightMagenta 

Equivalent to R = 3, G = 0, B = 3

BrightCyan 

Equivalent to R = 0, G = 3, B = 3

BrightWhite 

Equivalent to R = 3, G = 3, B = 3

◆ KeypadMode

enum fabgl::KeypadMode
strong
Enumerator
Application 
Numeric 

◆ PrimitiveCmd

enum fabgl::PrimitiveCmd
strong
Enumerator
SetPenColor 
SetBrushColor 
SetPixel 
MoveTo 
LineTo 
FillRect 
FillEllipse 
DrawEllipse 
Clear 
VScroll 
HScroll 
DrawGlyph 
SetGlyphOptions 
SetPaintOptions 
CopyRect 
SetScrollingRegion 
SwapFGBG 
RenderGlyphsBuffer 
DrawBitmap 
RefreshSprites 
SwapBuffers 
FillPath 
DrawPath 

◆ PS2Device

Represents the type of device attached to PS/2 port.

Enumerator
UnknownPS2Device 

Unknown device or unable to connect to the device

OldATKeyboard 

Old AT keyboard

MouseStandard 

Standard mouse

MouseWithScrollWheel 

Mouse with Scroll Wheel

Mouse5Buttons 

Mouse with 5 buttons

MF2KeyboardWithTranslation 

Standard MF2 keyboard with translation

M2Keyboard 

Standard MF2 keyboard. This is the most common value returned by USB/PS2 modern keyboards

◆ QuadTreeQuadrant

Enumerator
TopLeft 
TopRight 
BottomLeft 
BottomRight 
None 

◆ ScreenBlock

Represents one of the four blocks of horizontal or vertical line.

Enumerator
FrontPorch 

Horizontal line sequence is: FRONTPORCH -> SYNC -> BACKPORCH -> VISIBLEAREA

Sync 

Horizontal line sequence is: SYNC -> BACKPORCH -> VISIBLEAREA -> FRONTPORCH

BackPorch 

Horizontal line sequence is: BACKPORCH -> VISIBLEAREA -> FRONTPORCH -> SYNC

VisibleArea 

Horizontal line sequence is: VISIBLEAREA -> FRONTPORCH -> SYNC -> BACKPORCH

◆ VirtualKey

Represents each possible real or derived (SHIFT + real) key.

Enumerator
VK_NONE 

No character (marks the first virtual key)

VK_SPACE 

Space

VK_0 

Number 0

VK_1 

Number 1

VK_2 

Number 2

VK_3 

Number 3

VK_4 

Number 4

VK_5 

Number 5

VK_6 

Number 6

VK_7 

Number 7

VK_8 

Number 8

VK_9 

Number 9

VK_KP_0 

Keypad number 0

VK_KP_1 

Keypad number 1

VK_KP_2 

Keypad number 2

VK_KP_3 

Keypad number 3

VK_KP_4 

Keypad number 4

VK_KP_5 

Keypad number 5

VK_KP_6 

Keypad number 6

VK_KP_7 

Keypad number 7

VK_KP_8 

Keypad number 8

VK_KP_9 

Keypad number 9

VK_a 

Lower case letter 'a'

VK_b 

Lower case letter 'b'

VK_c 

Lower case letter 'c'

VK_d 

Lower case letter 'd'

VK_e 

Lower case letter 'e'

VK_f 

Lower case letter 'f'

VK_g 

Lower case letter 'g'

VK_h 

Lower case letter 'h'

VK_i 

Lower case letter 'i'

VK_j 

Lower case letter 'j'

VK_k 

Lower case letter 'k'

VK_l 

Lower case letter 'l'

VK_m 

Lower case letter 'm'

VK_n 

Lower case letter 'n'

VK_o 

Lower case letter 'o'

VK_p 

Lower case letter 'p'

VK_q 

Lower case letter 'q'

VK_r 

Lower case letter 'r'

VK_s 

Lower case letter 's'

VK_t 

Lower case letter 't'

VK_u 

Lower case letter 'u'

VK_v 

Lower case letter 'v'

VK_w 

Lower case letter 'w'

VK_x 

Lower case letter 'x'

VK_y 

Lower case letter 'y'

VK_z 

Lower case letter 'z'

VK_A 

Upper case letter 'A'

VK_B 

Upper case letter 'B'

VK_C 

Upper case letter 'C'

VK_D 

Upper case letter 'D'

VK_E 

Upper case letter 'E'

VK_F 

Upper case letter 'F'

VK_G 

Upper case letter 'G'

VK_H 

Upper case letter 'H'

VK_I 

Upper case letter 'I'

VK_J 

Upper case letter 'J'

VK_K 

Upper case letter 'K'

VK_L 

Upper case letter 'L'

VK_M 

Upper case letter 'M'

VK_N 

Upper case letter 'N'

VK_O 

Upper case letter 'O'

VK_P 

Upper case letter 'P'

VK_Q 

Upper case letter 'Q'

VK_R 

Upper case letter 'R'

VK_S 

Upper case letter 'S'

VK_T 

Upper case letter 'T'

VK_U 

Upper case letter 'U'

VK_V 

Upper case letter 'V'

VK_W 

Upper case letter 'W'

VK_X 

Upper case letter 'X'

VK_Y 

Upper case letter 'Y'

VK_Z 

Upper case letter 'Z'

VK_GRAVEACCENT 

Grave accent: `

VK_ACUTEACCENT 

Acute accent: ´

VK_QUOTE 

Quote: '

VK_QUOTEDBL 

Double quote: "

VK_EQUALS 

Equals: =

VK_MINUS 

Minus: -

VK_KP_MINUS 

Keypad minus: -

VK_PLUS 

Plus: +

VK_KP_PLUS 

Keypad plus: +

VK_KP_MULTIPLY 

Keypad multiply: *

VK_ASTERISK 

Asterisk: *

VK_BACKSLASH 

Backslash: \

VK_KP_DIVIDE 

Keypad divide: /

VK_SLASH 

Slash: /

VK_KP_PERIOD 

Keypad period: .

VK_PERIOD 

Period: .

VK_COLON 

Colon: :

VK_COMMA 

Comma: ,

VK_SEMICOLON 

Semicolon: ;

VK_AMPERSAND 

Ampersand: &

VK_VERTICALBAR 

Vertical bar: |

VK_HASH 

Hash: #

VK_AT 

At: @

VK_CARET 

Caret: ^

VK_DOLLAR 

Dollar: $

VK_POUND 

Pound: £

VK_EURO 

Euro: €

VK_PERCENT 

Percent: %

VK_EXCLAIM 

Exclamation mark: !

VK_QUESTION 

Question mark: ?

VK_LEFTBRACE 

Left brace: {

VK_RIGHTBRACE 

Right brace: }

VK_LEFTBRACKET 

Left bracket: [

VK_RIGHTBRACKET 

Right bracket: ]

VK_LEFTPAREN 

Left parenthesis: (

VK_RIGHTPAREN 

Right parenthesis: )

VK_LESS 

Less: <

VK_GREATER 

Greater: >

VK_UNDERSCORE 

Underscore: _

VK_DEGREE 

Degree: °

VK_SECTION 

Section: §

VK_TILDE 

Tilde: ~

VK_NEGATION 

Negation: ¬

VK_LSHIFT 

Left SHIFT

VK_RSHIFT 

Right SHIFT

VK_LALT 

Left ALT

VK_RALT 

Right ALT

VK_LCTRL 

Left CTRL

VK_RCTRL 

Right CTRL

VK_LGUI 

Left GUI

VK_RGUI 

Right GUI

VK_ESCAPE 

ESC

VK_PRINTSCREEN1 

PRINTSCREEN is translated as separated VK_PRINTSCREEN1 and VK_PRINTSCREEN2. VK_PRINTSCREEN2 is also generated by CTRL or SHIFT + PRINTSCREEN. So pressing PRINTSCREEN both VK_PRINTSCREEN1 and VK_PRINTSCREEN2 are generated, while pressing CTRL+PRINTSCREEN or SHIFT+PRINTSCREEN only VK_PRINTSCREEN2 is generated.

VK_PRINTSCREEN2 

PRINTSCREEN. See VK_PRINTSCREEN1

VK_SYSREQ 

SYSREQ

VK_INSERT 

INS

VK_KP_INSERT 

Keypad INS

VK_DELETE 

DEL

VK_KP_DELETE 

Keypad DEL

VK_BACKSPACE 

Backspace

VK_HOME 

HOME

VK_KP_HOME 

Keypad HOME

VK_END 

END

VK_KP_END 

Keypad END

VK_PAUSE 

PAUSE

VK_BREAK 

CTRL + PAUSE

VK_SCROLLLOCK 

SCROLLLOCK

VK_NUMLOCK 

NUMLOCK

VK_CAPSLOCK 

CAPSLOCK

VK_TAB 

TAB

VK_RETURN 

RETURN

VK_KP_ENTER 

Keypad ENTER

VK_APPLICATION 

APPLICATION / MENU key

VK_PAGEUP 

PAGEUP

VK_KP_PAGEUP 

Keypad PAGEUP

VK_PAGEDOWN 

PAGEDOWN

VK_KP_PAGEDOWN 

Keypad PAGEDOWN

VK_UP 

Cursor UP

VK_KP_UP 

Keypad cursor UP

VK_DOWN 

Cursor DOWN

VK_KP_DOWN 

Keypad cursor DOWN

VK_LEFT 

Cursor LEFT

VK_KP_LEFT 

Keypad cursor LEFT

VK_RIGHT 

Cursor RIGHT

VK_KP_RIGHT 

Keypad cursor RIGHT

VK_KP_CENTER 

Keypad CENTER key

VK_F1 

F1 function key

VK_F2 

F2 function key

VK_F3 

F3 function key

VK_F4 

F4 function key

VK_F5 

F5 function key

VK_F6 

F6 function key

VK_F7 

F7 function key

VK_F8 

F8 function key

VK_F9 

F9 function key

VK_F10 

F10 function key

VK_F11 

F11 function key

VK_F12 

F12 function key

VK_GRAVE_a 

Grave 'a': à

VK_GRAVE_e 

Grave 'e': è

VK_ACUTE_e 

Acute 'e': é

VK_GRAVE_i 

Grave 'i': ì

VK_GRAVE_o 

Grave 'o': ò

VK_GRAVE_u 

Grave 'u': ù

VK_CEDILLA_c 

Cedilla 'c': ç

VK_ESZETT 

Eszett: ß

VK_UMLAUT_u 

Umlaut 'u': ü

VK_UMLAUT_o 

Umlaut 'o': ö

VK_UMLAUT_a 

Umlaut 'a': ä

VK_LAST 

Function Documentation

◆ calcParity()

bool fabgl::calcParity ( uint8_t  v)
inline

◆ clamp()

template<typename T >
const T& fabgl::clamp ( const T &  v,
const T &  lo,
const T &  hi 
)

◆ collisionDetectionCallback()

void fabgl::collisionDetectionCallback ( void *  callbackObj,
Sprite spriteA,
Sprite spriteB,
Point  collisionPoint 
)

◆ glyphMapItem_getBGColor()

Color fabgl::glyphMapItem_getBGColor ( uint32_t const volatile *  mapItem)
inline

◆ glyphMapItem_getFGColor()

Color fabgl::glyphMapItem_getFGColor ( uint32_t const volatile *  mapItem)
inline

◆ glyphMapItem_getIndex()

uint8_t fabgl::glyphMapItem_getIndex ( uint32_t const volatile *  mapItem)
inline

◆ glyphMapItem_getOptions()

GlyphOptions fabgl::glyphMapItem_getOptions ( uint32_t const volatile *  mapItem)
inline

◆ glyphMapItem_setOptions()

void fabgl::glyphMapItem_setOptions ( uint32_t volatile *  mapItem,
GlyphOptions const &  options 
)
inline

◆ max()

template<typename T >
const T& fabgl::max ( const T &  a,
const T &  b 
)

◆ min()

template<typename T >
const T& fabgl::min ( const T &  a,
const T &  b 
)

◆ operator!=()

bool fabgl::operator!= ( RGB const &  lhs,
RGB const &  rhs 
)
inline

◆ operator==()

bool fabgl::operator== ( RGB const &  lhs,
RGB const &  rhs 
)
inline

◆ replace_placeholders()

void fabgl::replace_placeholders ( uint32_t  prg_start,
int  size,
gpio_num_t  clkGPIO,
gpio_num_t  datGPIO 
)

◆ swap()

template<typename T >
void fabgl::swap ( T &  v1,
T &  v2 
)

◆ wrap()

template<typename T >
const T& fabgl::wrap ( const T &  v,
const T &  lo,
const T &  hi 
)

Variable Documentation

◆ COLOR2RGB

RGB fabgl::COLOR2RGB[16]
Initial value:
= {
{0, 0, 0},
{1, 0, 0},
{0, 1, 0},
{1, 1, 0},
{0, 0, 1},
{1, 0, 1},
{0, 1, 1},
{1, 1, 1},
{1, 1, 1},
{3, 0, 0},
{0, 3, 0},
{3, 3, 0},
{0, 0, 3},
{3, 0, 3},
{0, 3, 3},
{3, 3, 3},
}

◆ CSI_7BIT

const char fabgl::CSI_7BIT[] = "\e["

◆ CSI_8BIT

const char fabgl::CSI_8BIT[] = "\x9B"

◆ CTRLCHAR_TO_STR

const char* fabgl::CTRLCHAR_TO_STR[]
Initial value:
= {"NUL", "SOH", "STX", "ETX", "EOT", "ENQ", "ACK", "BELL", "BS", "HT", "LF", "VT", "FF", "CR", "SO", "SI", "DLE", "XON", "DC2",
"XOFF", "DC4", "NAK", "SYN", "ETB", "CAN", "EM", "SUB", "ESC", "FS", "GS", "RS", "US", "SPC"}

◆ DCS_7BIT

const char fabgl::DCS_7BIT[] = "\eP"

◆ DCS_8BIT

const char fabgl::DCS_8BIT[] = "\x90"

◆ GermanLayout

const KeyboardLayout fabgl::GermanLayout

German keyboard layout.

◆ ItalianLayout

const KeyboardLayout fabgl::ItalianLayout

Italian keyboard layout.

◆ OSC_7BIT

const char fabgl::OSC_7BIT[] = "\e]"

◆ OSC_8BIT

const char fabgl::OSC_8BIT[] = "\x9D"

◆ REPEATRATES

const int16_t fabgl::REPEATRATES[32]
Initial value:
= { 33, 37, 41, 45, 50, 54, 58, 62, 66, 75, 83, 91,
100, 108, 125, 125, 133, 149, 166, 181, 200, 217, 232, 250,
270, 303, 333, 370, 400, 434, 476, 500}

◆ SS2_7BIT

const char fabgl::SS2_7BIT[] = "\eN"

◆ SS2_8BIT

const char fabgl::SS2_8BIT[] = "\x8E"

◆ SS3_7BIT

const char fabgl::SS3_7BIT[] = "\eO"

◆ SS3_8BIT

const char fabgl::SS3_8BIT[] = "\x8F"

◆ ST_7BIT

const char fabgl::ST_7BIT[] = "\e\\"

◆ ST_8BIT

const char fabgl::ST_8BIT[] = "\x9C"

◆ TERMID

const char fabgl::TERMID[] = "?64;1;6;22c"

◆ UKLayout

const KeyboardLayout fabgl::UKLayout
Initial value:
{
"UK",
{
{ 0x5D, VK_HASH },
{ 0x61, VK_BACKSLASH },
},
{
},
{
{ VK_GRAVEACCENT, { 0, 0, 1, 0, 0 }, VK_NEGATION },
{ VK_2, { 0, 0, 1, 0, 0 }, VK_QUOTEDBL },
{ VK_3, { 0, 0, 1, 0, 0 }, VK_POUND },
{ VK_QUOTE, { 0, 0, 1, 0, 0 }, VK_AT },
{ VK_HASH, { 0, 0, 1, 0, 0 }, VK_TILDE },
{ VK_BACKSLASH, { 0, 0, 1, 0, 0 }, VK_VERTICALBAR },
}
}
Definition: keyboard.h:186
Definition: keyboard.h:200
const KeyboardLayout USLayout
Predefined US layout. Often used as inherited layout for other layouts.
Definition: keyboard.cpp:69
Definition: keyboard.h:196
Definition: keyboard.h:106
Definition: keyboard.h:177
Definition: keyboard.h:217
Definition: keyboard.h:216
Definition: keyboard.h:105
Definition: keyboard.h:178
Definition: keyboard.h:175
Definition: keyboard.h:195
Definition: keyboard.h:197

UK keyboard layout.

◆ ULPCode

const ulp_insn_t fabgl::ULPCode[]

◆ USLayout

const KeyboardLayout fabgl::USLayout

Predefined US layout. Often used as inherited layout for other layouts.