input test\r
*/\r
#include "src/lib/16_in.h"\r
-\r
+
void\r
main(int argc, char *argv[])\r
{
{
IN_ReadControl(0,&player);
//printf("%u\n", IN_KeyDown(sc_Escape));
- //printf("%u\n", IN_qb(sc_Escape));\r
+ //printf("%u\n", IN_qb(sc_Escape));
+ clockdw++;
}
IN_Shutdown();
//printf("%u\n", in.Keyboard[sc_Escape]);\r
#define KEY_MENU (0x75)
*/
-static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
+//static dword far* clockdw= (dword far*) 0x046C; /* 18.2hz clock */
+static dword clockdw=0;
#define nil ((void *)0)
{\r
word x,y;\r
dword time;\r
- dword TimeCount = *clockdw;\r
+ dword TimeCount = /***/clockdw;\r
JoystickDef *def;\r
static dword lasttime;\r
\r
word\r
IN_GetJoyButtonsDB(word joy)\r
{\r
- dword TimeCount = *clockdw;\r
+ dword TimeCount = /***/clockdw;\r
dword lasttime;\r
word result1,result2;\r
\r
boolean\r
IN_UserInput(dword delay,boolean clear)\r
{\r
- dword TimeCount = *clockdw;\r
+ dword TimeCount = /***/clockdw;\r
dword lasttime;\r
\r
lasttime = TimeCount;\r
static word DemoOffset,DemoSize;\r
#endif\r
\r
-extern dword far* clockdw;\r
+extern dword /*far**/ clockdw;\r
\r
// Internal routines\r
extern void interrupt INL_KeyService();\r