Changeset 49 for mppenc/branches/zorg/src/keyboard.c
- Timestamp:
- 09/23/06 18:24:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mppenc/branches/zorg/src/keyboard.c
r46 r49 26 26 WaitKey ( void ) 27 27 { 28 return _getch ();28 return getch (); 29 29 } 30 30 … … 34 34 int ch; 35 35 36 if ( ! _kbhit () )36 if ( !kbhit () ) 37 37 return -1; 38 38 39 ch = _getch ();40 _ungetch (ch);39 ch = getch (); 40 ungetch (ch); 41 41 return ch; 42 42 } … … 45 45 CheckKey ( void ) 46 46 { 47 if ( ! _kbhit () )47 if ( !kbhit () ) 48 48 return -1; 49 49 50 return _getch ();50 return getch (); 51 51 } 52 52
Note: See TracChangeset
for help on using the changeset viewer.