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
054678aa
Commit
054678aa
authored
Jan 18, 2024
by
Daniel Hill
Committed by
Alexandre Julliard
Jan 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winex11.drv: Add Dvorak with phantom keys layout.
Signed-off-by:
Daniel Hill
<
daniel@gluo.nz
>
parent
b5359b7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
keyboard.c
dlls/winex11.drv/keyboard.c
+11
-0
No files found.
dlls/winex11.drv/keyboard.c
View file @
054678aa
...
...
@@ -226,6 +226,16 @@ static const char main_key_US_dvorak[MAIN_LEN][4] =
";:"
,
"qQ"
,
"jJ"
,
"kK"
,
"xX"
,
"bB"
,
"mM"
,
"wW"
,
"vV"
,
"zZ"
};
/*** United States keyboard layout (dvorak phantom key version) */
static
const
char
main_key_US_dvorak_phantom
[
MAIN_LEN
][
4
]
=
{
"`~"
,
"1!"
,
"2@"
,
"3#"
,
"4$"
,
"5%"
,
"6^"
,
"7&"
,
"8*"
,
"9("
,
"0)"
,
"[{"
,
"]}"
,
"'
\"
"
,
",<"
,
".>"
,
"pP"
,
"yY"
,
"fF"
,
"gG"
,
"cC"
,
"rR"
,
"lL"
,
"/?"
,
"=+"
,
"aA"
,
"oO"
,
"eE"
,
"uU"
,
"iI"
,
"dD"
,
"hH"
,
"tT"
,
"nN"
,
"sS"
,
"-_"
,
"
\\
|"
,
";:"
,
"qQ"
,
"jJ"
,
"kK"
,
"xX"
,
"bB"
,
"mM"
,
"wW"
,
"vV"
,
"zZ"
,
"<>"
};
/*** British keyboard layout */
static
const
char
main_key_UK
[
MAIN_LEN
][
4
]
=
{
...
...
@@ -855,6 +865,7 @@ static const struct {
{
0x0409
,
"United States keyboard layout (phantom key version)"
,
&
main_key_US_phantom
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
/* Dvorak users tend to run QWERTY keyboards and rely on Windows/X11/Wayland to translate to the correct keysyms */
{
0x0409
,
"United States keyboard layout (dvorak)"
,
&
main_key_US_dvorak
,
&
main_key_scan_qwerty
,
&
main_key_vkey_dvorak
},
{
0x0409
,
"United States keyboard layout (dvorak with phantom key)"
,
&
main_key_US_dvorak_phantom
,
&
main_key_scan_qwerty
,
&
main_key_vkey_dvorak
},
{
0x0409
,
"United States International keyboard layout"
,
&
main_key_US_intl
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
0x0809
,
"British keyboard layout"
,
&
main_key_UK
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
0x0407
,
"German keyboard layout"
,
&
main_key_DE
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwertz
},
...
...
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