Keyboard Input

  #include <vv_key.h>
   
UCHAR * key_getlabel (int keycode)

Gets the keycap label for a keycode (UNIX and VMS only)

int ki ( )

Obtains a keycode from the keyboard

int ki_chk ( )

Checks the keyboard for an available keycode and returns the value

int ki_isextend (int key)

Determines if a key is an extended key

int ki_isselect (int key)

Determines if the entered character is eligible to be a selection key

int ki_last ( )

Returns the last keycode read from the keyboard

int ki_same (UINT *found_keyqp)

Reads successive, identical keycodes from the keyboard buffer

int ki_stat ( )

Determines the status of Shift, Ctrl, and Alt keys and keyboard toggles (PCDOS and OS/2 only)

void se_abortfp (ISVRP abort_fp ( ))

Sets the function to be called on receipt of abort key

void se_keyfilter (int (*filter_fp ( ))

Installs a key filter function

void se_keyloop (int (*keyloop_fp ( ))

Installs a keyloop function

void se_samekeymax (int q)

Sets the maximum number of identical keycodes to collect in a call to ki_same ( )



Home Contents Previous Next