VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Functions
vrfVlKeyboard.h File Reference

Go to the source code of this file.

Functions

DT_DLL_vrfutil charDtGetInputLine ()
 
DT_DLL_vrfutil int DtCharWaiting ()
 
DT_DLL_vrfutil char DtReadChar ()
 

Function Documentation

DT_DLL_vrfutil char* DtGetInputLine ( )

This file should be moved into VR-Link's vlutil.

A non-blocking read for a line of console input. If user has not hit return, the function returns NULL immediately. When return is hit, the function returns the line of input

DT_DLL_vrfutil int DtCharWaiting ( )

Returns 1 if there is input to be read from the keyboard, 0 otherwise.

DT_DLL_vrfutil char DtReadChar ( )

A blocking read for keyboard input, returning a single character DtGetInputLine uses DtCharWaiting to find out if this will block before calling it.


Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)