Main Page   File List   Globals  

FBkeyb.c File Reference

Keyboard handling through ncurses. More...

Go to the source code of this file.

Functions

int FB_kb_init ()
int FB_get_key ()
void FB_kb_end ()


Detailed Description

ncurses is used to get over all the complexity of the Linux console layer, this way we don't need keymaps for different keyboard layouts or low level ioctls.
begin : Fri Feb 8 2002
copyright : (C) 2001 by Daniele Venzano
email : venza@users.sf.net

Definition in file FBkeyb.c.


Function Documentation

int FB_kb_init  
 

Initialize keyboard handling, don't call if you don't need it

Definition at line 37 of file FBkeyb.c.

int FB_get_key  
 

Look at input buffer if there is some event not handled.

Return values:
NO_KEY  There are no keypresses unhandled
-anything  else- Keypress (look at ncurses.h and keys.h

Definition at line 76 of file FBkeyb.c.

void FB_kb_end  
 

Ends keyboard usage, is called, if necessary by FB_end()

Definition at line 88 of file FBkeyb.c.

Referenced by FB_exit().


Generated on Sat Jul 5 09:04:52 2003 for LibFB by doxygen1.2.18