Defines | |
#define | BRLCOMMANDS 0 |
#define | BRLKEYCODES 1 |
Functions | |
int | brlapi_getTty (int tty, int how) |
int | brlapi_leaveTty (void) |
int | brlapi_setFocus (int tty) |
The application must also specify how braille keys will be delivered to it. Two ways are possible: KEYCODES and COMMANDS
|
ask for brltty commands |
|
ask for raw driver keycodes |
|
ask for some tty, with some key mechanism
CONTROLVT="$(grep "using VT number" "/var/log/XFree86.$(echo "$DISPLAY" | sed -e "s/^.*::*\([0-9]*\).*$/\1/").log" | sed -e "s/^.*using VT number \([0-9]*\).*$/\1/")" CONTROLVT should also be propagated when running remote applications via ssh, for instance, along with BRLAPI_HOSTNAME and the authentication key.
|
|
stop controlling the tty
|
|
tell the current tty to brltty This is intended for focus tellers, such as brltty, xbrlapi, screen, ... brlapi_getTty() must have been called beforewards to tell where this focus applies in the tty tree.
|