Getting Terminal information(3)

NAME
Getting Terminal information - How to get information about the connected Terminal. More...

  Functions
char * brlapi_getDriverId (void)
char * brlapi_getDriverName (void)
int brlapi_getDisplaySize (unsigned int *x, unsigned int *y)

DETAILED DESCRIPTION

Before using Raw mode or key codes, the application should always check the type of the connected terminal, to be sure it is really the one it expects.

One should also check for display size, so as to adjust further displaying on it.

FUNCTION DOCUMENTATION

  int brlapi_getDisplaySize (unsigned int * x, unsigned int * y)

return the size of the braille display

  char* brlapi_getDriverId (void)

Identify the driver used by brltty

This function will return the brltty 2-chars code of the driver currently in use.

Note:
The returned string is static, so that further calls will modify it

  char* brlapi_getDriverName (void)

return the complete name of the driver used by brltty

This function will return the whole name of the braille terminal, if available.

Note:
The returned string is static, so that further calls will modify it