Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 559 Bytes

kbdcalls.c

File metadata and controls

24 lines (19 loc) · 559 Bytes
 
Feb 26, 2018
Feb 26, 2018
1
2
3
4
5
6
7
8
/**
* 2ine; an OS/2 emulator for Linux.
*
* Please see the file LICENSE.txt in the source's root directory.
*
* This file written by Ryan C. Gordon.
*/
Oct 27, 2016
Oct 27, 2016
9
#include "os2native16.h"
Sep 30, 2016
Sep 30, 2016
10
#include "kbdcalls.h"
Sep 30, 2016
Sep 30, 2016
11
Feb 27, 2018
Feb 27, 2018
12
13
#include "kbdcalls-lx.h"
Oct 27, 2016
Oct 27, 2016
14
15
16
17
APIRET16 KbdCharIn(PKBDKEYINFO pkbci, USHORT fWait, HKBD hkbd)
{
TRACE_NATIVE("KbdCharIn(%p, %u, %u)", pkbci, fWait, hkbd);
FIXME("this is just enough to survive 'press any key'");
Jan 4, 2018
Jan 4, 2018
18
19
memset(pkbci, '\0', sizeof (*pkbci));
pkbci->chChar = getchar();
Oct 27, 2016
Oct 27, 2016
20
21
22
return NO_ERROR;
} // kbdCharIn
23
// end of kbdcalls.c ...