1998-12-07 10:36:13 +01:00
|
|
|
/*
|
|
|
|
* TTY event driver
|
|
|
|
*
|
1999-02-04 14:14:42 +01:00
|
|
|
* Copyright 1998-1999 Patrik Stridvall
|
1998-12-07 10:36:13 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "ttydrv.h"
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_Init
|
|
|
|
*/
|
|
|
|
BOOL32 TTYDRV_EVENT_Init(void)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_AddIO
|
|
|
|
*/
|
|
|
|
void TTYDRV_EVENT_AddIO(int fd, unsigned flag)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_DeleteIO
|
|
|
|
*/
|
|
|
|
void TTYDRV_EVENT_DeleteIO(int fd, unsigned flag)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_WaitNetEvent
|
|
|
|
*/
|
|
|
|
BOOL32 TTYDRV_EVENT_WaitNetEvent(BOOL32 sleep, BOOL32 peek)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_Synchronize
|
|
|
|
*/
|
|
|
|
void TTYDRV_EVENT_Synchronize(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_CheckFocus
|
|
|
|
*/
|
|
|
|
BOOL32 TTYDRV_EVENT_CheckFocus(void)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_QueryPointer
|
|
|
|
*/
|
|
|
|
BOOL32 TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state)
|
|
|
|
{
|
|
|
|
if(posX)
|
|
|
|
*posX = 0;
|
|
|
|
|
|
|
|
if(posY)
|
|
|
|
*posY = 0;
|
|
|
|
|
|
|
|
if(state)
|
|
|
|
*state = 0;
|
1998-12-26 13:00:43 +01:00
|
|
|
|
|
|
|
return TRUE;
|
1998-12-07 10:36:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_DummyMotionNotify
|
|
|
|
*/
|
|
|
|
void TTYDRV_EVENT_DummyMotionNotify(void)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_Pending
|
|
|
|
*/
|
|
|
|
BOOL32 TTYDRV_EVENT_Pending(void)
|
|
|
|
{
|
|
|
|
return FALSE;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* TTYDRV_EVENT_IsUserIdle
|
|
|
|
*/
|
|
|
|
BOOL16 TTYDRV_EVENT_IsUserIdle(void)
|
|
|
|
{
|
|
|
|
return TRUE;
|
|
|
|
}
|
|
|
|
|
1999-02-21 19:15:26 +01:00
|
|
|
/**********************************************************************
|
|
|
|
* TTYDRV_EVENT_WakeUp
|
|
|
|
*/
|
|
|
|
void TTYDRV_EVENT_WakeUp(void)
|
|
|
|
{
|
|
|
|
}
|