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
4caa2a11
Commit
4caa2a11
authored
Dec 24, 1998
by
Rein Klazes
Committed by
Alexandre Julliard
Dec 24, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Lowest scan code seems to be 1, not zero.
parent
7a8431ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
keyboard.c
windows/x11drv/keyboard.c
+2
-1
No files found.
windows/x11drv/keyboard.c
View file @
4caa2a11
...
@@ -314,7 +314,8 @@ void KEYBOARD_HandleEvent( WND *pWnd, XKeyEvent *event )
...
@@ -314,7 +314,8 @@ void KEYBOARD_HandleEvent( WND *pWnd, XKeyEvent *event )
bScan
=
event
->
keycode
;
bScan
=
event
->
keycode
;
break
;
break
;
}
}
bScan
-=
min_keycode
;
/* Windows starts from 0, X from min_keycode (8 usually) */
bScan
-=
min_keycode
-
1
;
/* Windows starts from 1,
X from min_keycode (8 usually) */
TRACE
(
key
,
"bScan = 0x%02x.
\n
"
,
bScan
);
TRACE
(
key
,
"bScan = 0x%02x.
\n
"
,
bScan
);
dwFlags
=
0
;
dwFlags
=
0
;
...
...
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