need a key pressed event handler

need a key pressed event handler

Post by Gabi Reis » Thu, 04 Jan 1996 04:00:00



Hi,
I am in a great need for a function like kbhit() of miscrosoft's
visual c++.
I need a (unix) function that returns 1 if a key was pressed since the
last time the function was called (otherwise 0).

Can anyone help me??

--

        Gabi Reish
--------------------------------------------------------
             Development, Vocaltec Ltd.

Fax: 972 9 561867              
--------------------------------------------------------

 
 
 

need a key pressed event handler

Post by Mike D. Ka » Fri, 05 Jan 1996 04:00:00


:> Hi,
:> I am in a great need for a function like kbhit() of miscrosoft's
:> visual c++.
:> I need a (unix) function that returns 1 if a key was pressed since the
:> last time the function was called (otherwise 0).

:> Can anyone help me??

Read the FAQ for comp.unix.programmer
--
/*----------------------------------------------------------*/
/*  Mike D. Kail                 |  voice:  (619) 793-3359  */
/*  System Administrator         |  fax:    (619) 793-2950  */

/*----------------------------------------------------------*/