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
80bba3bd
Commit
80bba3bd
authored
Sep 01, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved keyboard.c to dlls/user/kbd16.c.
Keyboard, mouse and display drivers are 16-bit only.
parent
9f331f48
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
24 deletions
+29
-24
Makefile.in
dlls/user/Makefile.in
+3
-3
kbd16.c
dlls/user/kbd16.c
+4
-20
keyboard.drv.spec
dlls/user/keyboard.drv.spec
+1
-1
message.c
dlls/user/message.c
+12
-0
mouse16.c
dlls/user/mouse16.c
+0
-0
input.c
windows/input.c
+9
-0
No files found.
dlls/user/Makefile.in
View file @
80bba3bd
...
...
@@ -24,7 +24,6 @@ C_SRCS = \
$(TOPOBJDIR)
/windows/dialog.c
\
$(TOPOBJDIR)
/windows/driver.c
\
$(TOPOBJDIR)
/windows/input.c
\
$(TOPOBJDIR)
/windows/keyboard.c
\
$(TOPOBJDIR)
/windows/mdi.c
\
$(TOPOBJDIR)
/windows/message.c
\
$(TOPOBJDIR)
/windows/msgbox.c
\
...
...
@@ -53,7 +52,6 @@ C_SRCS = \
dde/server.c
\
desktop.c
\
dialog16.c
\
display.c
\
edit.c
\
exticon.c
\
focus.c
\
...
...
@@ -64,7 +62,6 @@ C_SRCS = \
menu.c
\
message.c
\
misc.c
\
mouse.c
\
msg16.c
\
painting.c
\
property.c
\
...
...
@@ -79,7 +76,10 @@ C_SRCS = \
C_SRCS16
=
\
bidi16.c
\
comm16.c
\
display.c
\
hook16.c
\
kbd16.c
\
mouse16.c
\
network.c
\
user16.c
\
wnd16.c
...
...
windows/keyboard
.c
→
dlls/user/kbd16
.c
View file @
80bba3bd
...
...
@@ -31,11 +31,9 @@
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "win.h"
#include "user.h"
#include "message.h"
#include "wine/debug.h"
#include "winerror.h"
#include "wine/winuser16.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
keyboard
);
...
...
@@ -107,13 +105,10 @@ VOID WINAPI ScreenSwitchEnable16(WORD unused)
/**********************************************************************
* OemKeyScan (KEYBOARD.128)
* OemKeyScan (USER32.@)
*/
DWORD
WINAPI
OemKeyScan
(
WORD
wOemChar
)
DWORD
WINAPI
OemKeyScan
16
(
WORD
wOemChar
)
{
TRACE
(
"(%d)
\n
"
,
wOemChar
);
return
wOemChar
;
return
OemKeyScan
(
wOemChar
);
}
/**********************************************************************
...
...
@@ -189,14 +184,3 @@ void WINAPI MessageBeep16( UINT16 i )
{
MessageBeep
(
i
);
}
/***********************************************************************
* MessageBeep (USER32.@)
*/
BOOL
WINAPI
MessageBeep
(
UINT
i
)
{
BOOL
active
=
TRUE
;
SystemParametersInfoA
(
SPI_GETBEEP
,
0
,
&
active
,
FALSE
);
if
(
active
)
USER_Driver
.
pBeep
();
return
TRUE
;
}
dlls/user/keyboard.drv.spec
View file @
80bba3bd
...
...
@@ -16,7 +16,7 @@
100 pascal ScreenSwitchEnable(word) ScreenSwitchEnable16
#126 pascal GetTableSeg
#127 pascal NewTable
128 pascal
OemKeyScan(word) OemKeyScan
128 pascal
OemKeyScan(word) OemKeyScan16
129 pascal -ret16 VkKeyScan(word) VkKeyScan16
130 pascal -ret16 GetKeyboardType(word) GetKeyboardType16
131 pascal -ret16 MapVirtualKey(word word) MapVirtualKey16
...
...
dlls/user/message.c
View file @
80bba3bd
...
...
@@ -2413,6 +2413,18 @@ BOOL WINAPI SetMessageQueue( INT size )
}
/***********************************************************************
* MessageBeep (USER32.@)
*/
BOOL
WINAPI
MessageBeep
(
UINT
i
)
{
BOOL
active
=
TRUE
;
SystemParametersInfoA
(
SPI_GETBEEP
,
0
,
&
active
,
FALSE
);
if
(
active
)
USER_Driver
.
pBeep
();
return
TRUE
;
}
/**********************************************************************
* AttachThreadInput (USER32.@)
*
...
...
dlls/user/mouse.c
→
dlls/user/mouse
16
.c
View file @
80bba3bd
File moved
windows/input.c
View file @
80bba3bd
...
...
@@ -689,6 +689,15 @@ WORD WINAPI VkKeyScanExW(WCHAR cChar, HKL dwhkl)
return
-
1
;
}
/**********************************************************************
* OemKeyScan (USER32.@)
*/
DWORD
WINAPI
OemKeyScan
(
WORD
wOemChar
)
{
TRACE
(
"(%d)
\n
"
,
wOemChar
);
return
wOemChar
;
}
/******************************************************************************
* GetKeyboardType (USER32.@)
*/
...
...
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