Main Page   Modules   Data Structures   File List   Data Fields   Globals  

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


Generated on Fri Aug 1 22:36:44 2003 for BrlAPI by doxygen1.2.18