Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
5c982c90
Commit
5c982c90
authored
May 22, 1999
by
Ulrich Weigand
Committed by
Alexandre Julliard
May 22, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adapted to EVENT_ driver changes.
parent
8c2dc8b1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
53 deletions
+6
-53
ttydrv.h
include/ttydrv.h
+2
-7
event.c
windows/ttydrv/event.c
+3
-40
init.c
windows/ttydrv/init.c
+1
-6
No files found.
include/ttydrv.h
View file @
5c982c90
...
...
@@ -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 */
...
...
windows/ttydrv/event.c
View file @
5c982c90
...
...
@@ -15,31 +15,9 @@ BOOL TTYDRV_EVENT_Init(void)
}
/***********************************************************************
* 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
*/
BOOL
TTYDRV_EVENT_Pending
(
void
)
{
return
FALSE
;
}
/***********************************************************************
* TTYDRV_EVENT_IsUserIdle
* TTYDRV_EVENT_UserRepaintDisable
*/
BOOL16
TTYDRV_EVENT_IsUserIdle
(
void
)
void
TTYDRV_EVENT_UserRepaintDisable
(
BOOL
bDisable
)
{
return
TRUE
;
}
/**********************************************************************
* TTYDRV_EVENT_WakeUp
*/
void
TTYDRV_EVENT_WakeUp
(
void
)
{
}
windows/ttydrv/init.c
View file @
5c982c90
...
...
@@ -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
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment