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
ed9f1d07
Commit
ed9f1d07
authored
Oct 15, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Nov 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
win32u: Allow KBDTABLES conversion from CTRL + ALT to WCHAR.
parent
027f73fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
input.c
dlls/win32u/input.c
+1
-1
kbd.h
include/kbd.h
+4
-0
No files found.
dlls/win32u/input.c
View file @
ed9f1d07
...
...
@@ -514,7 +514,7 @@ static WCHAR kbd_tables_vkey_to_wchar( const KBDTABLES *tables, UINT vkey, const
ctrl
=
state
[
VK_CONTROL
]
&
0x80
;
caps
=
state
[
VK_CAPITAL
]
&
1
;
if
(
ctrl
&&
alt
)
return
WCH_NONE
;
if
(
ctrl
&&
alt
&&
!
(
tables
->
fLocaleFlags
&
KLLF_ALTGR
)
)
return
WCH_NONE
;
if
(
!
ctrl
&&
vkey
==
VK_ESCAPE
)
return
VK_ESCAPE
;
if
(
ctrl
&&
!
alt
)
{
...
...
include/kbd.h
View file @
ed9f1d07
...
...
@@ -40,6 +40,10 @@
#define KANALOK 0x08
#define GRPSELTAP 0x80
#define KLLF_ALTGR 0x0001
#define KLLF_SHIFTLOCK 0x0002
#define KLLF_LRM_RLM 0x0004
typedef
struct
{
BYTE
Vk
;
...
...
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