Adapted to EVENT_ driver changes.
This commit is contained in:
parent
8c2dc8b1b8
commit
5c982c90d2
|
@ -91,16 +91,11 @@ extern int TTYDRV_DESKTOP_GetScreenDepth(struct tagDESKTOP *pDesktop);
|
|||
extern struct tagEVENT_DRIVER TTYDRV_EVENT_Driver;
|
||||
|
||||
extern BOOL TTYDRV_EVENT_Init(void);
|
||||
extern void TTYDRV_EVENT_AddIO(int fd, unsigned flag);
|
||||
extern void TTYDRV_EVENT_DeleteIO(int fd, unsigned flag);
|
||||
extern BOOL TTYDRV_EVENT_WaitNetEvent(BOOL sleep, BOOL peek);
|
||||
extern void TTYDRV_EVENT_Synchronize(void);
|
||||
extern void TTYDRV_EVENT_Synchronize(BOOL bProcessEvents);
|
||||
extern BOOL TTYDRV_EVENT_CheckFocus(void);
|
||||
extern BOOL TTYDRV_EVENT_QueryPointer(DWORD *posX, DWORD *posY, DWORD *state);
|
||||
extern void TTYDRV_EVENT_DummyMotionNotify(void);
|
||||
extern BOOL TTYDRV_EVENT_Pending(void);
|
||||
extern BOOL16 TTYDRV_EVENT_IsUserIdle(void);
|
||||
extern void TTYDRV_EVENT_WakeUp(void);
|
||||
extern void TTYDRV_EVENT_UserRepaintDisable(BOOL bDisable);
|
||||
|
||||
/* TTY keyboard driver */
|
||||
|
||||
|
|
|
@ -14,32 +14,10 @@ BOOL 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
|
||||
*/
|
||||
BOOL TTYDRV_EVENT_WaitNetEvent(BOOL sleep, BOOL peek)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* TTYDRV_EVENT_Synchronize
|
||||
*/
|
||||
void TTYDRV_EVENT_Synchronize(void)
|
||||
void TTYDRV_EVENT_Synchronize( BOOL bProcessEvents )
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -76,24 +54,9 @@ void TTYDRV_EVENT_DummyMotionNotify(void)
|
|||
}
|
||||
|
||||
/***********************************************************************
|
||||
* TTYDRV_EVENT_Pending
|
||||
* TTYDRV_EVENT_UserRepaintDisable
|
||||
*/
|
||||
BOOL TTYDRV_EVENT_Pending(void)
|
||||
void TTYDRV_EVENT_UserRepaintDisable( BOOL bDisable )
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/***********************************************************************
|
||||
* TTYDRV_EVENT_IsUserIdle
|
||||
*/
|
||||
BOOL16 TTYDRV_EVENT_IsUserIdle(void)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
/**********************************************************************
|
||||
* TTYDRV_EVENT_WakeUp
|
||||
*/
|
||||
void TTYDRV_EVENT_WakeUp(void)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -39,16 +39,11 @@ DESKTOP_DRIVER TTYDRV_DESKTOP_Driver =
|
|||
EVENT_DRIVER TTYDRV_EVENT_Driver =
|
||||
{
|
||||
TTYDRV_EVENT_Init,
|
||||
TTYDRV_EVENT_AddIO,
|
||||
TTYDRV_EVENT_DeleteIO,
|
||||
TTYDRV_EVENT_WaitNetEvent,
|
||||
TTYDRV_EVENT_Synchronize,
|
||||
TTYDRV_EVENT_CheckFocus,
|
||||
TTYDRV_EVENT_QueryPointer,
|
||||
TTYDRV_EVENT_DummyMotionNotify,
|
||||
TTYDRV_EVENT_Pending,
|
||||
TTYDRV_EVENT_IsUserIdle,
|
||||
TTYDRV_EVENT_WakeUp
|
||||
TTYDRV_EVENT_UserRepaintDisable
|
||||
};
|
||||
|
||||
KEYBOARD_DRIVER TTYDRV_KEYBOARD_Driver =
|
||||
|
|
Loading…
Reference in New Issue