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
ff81f938
Commit
ff81f938
authored
Oct 19, 2000
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Oct 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added support for AZERTY keyboard layout.
parent
95105908
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
+15
-4
winuser.h
include/winuser.h
+2
-1
keyboard.c
windows/x11drv/keyboard.c
+13
-3
No files found.
include/winuser.h
View file @
ff81f938
...
@@ -2911,7 +2911,8 @@ typedef struct
...
@@ -2911,7 +2911,8 @@ typedef struct
#define VK_OEM_5 0xDC
#define VK_OEM_5 0xDC
#define VK_OEM_6 0xDD
#define VK_OEM_6 0xDD
#define VK_OEM_7 0xDE
#define VK_OEM_7 0xDE
/* 0xDF-0xE0 OEM specific */
#define VK_OEM_8 0xDF
/* 0xE0 OEM specific */
#define VK_OEM_AX 0xE1
/* "AX" key on Japanese AX keyboard */
#define VK_OEM_AX 0xE1
/* "AX" key on Japanese AX keyboard */
#define VK_OEM_102 0xE2
/* "<>" or "\|" on RT 102-key keyboard */
#define VK_OEM_102 0xE2
/* "<>" or "\|" on RT 102-key keyboard */
#define VK_ICO_HELP 0xE3
/* Help key on ICO */
#define VK_ICO_HELP 0xE3
/* Help key on ICO */
...
...
windows/x11drv/keyboard.c
View file @
ff81f938
...
@@ -63,7 +63,7 @@ static const WORD main_key_scan_qwerty[MAIN_LEN] =
...
@@ -63,7 +63,7 @@ static const WORD main_key_scan_qwerty[MAIN_LEN] =
static
const
WORD
main_key_vkey_qwerty
[
MAIN_LEN
]
=
static
const
WORD
main_key_vkey_qwerty
[
MAIN_LEN
]
=
{
{
/* NOTE: this layout must
be identical to the above on
e */
/* NOTE: this layout must
concur with the scan codes layout abov
e */
VK_OEM_3
,
VK_1
,
VK_2
,
VK_3
,
VK_4
,
VK_5
,
VK_6
,
VK_7
,
VK_8
,
VK_9
,
VK_0
,
VK_OEM_MINUS
,
VK_OEM_PLUS
,
VK_OEM_3
,
VK_1
,
VK_2
,
VK_3
,
VK_4
,
VK_5
,
VK_6
,
VK_7
,
VK_8
,
VK_9
,
VK_0
,
VK_OEM_MINUS
,
VK_OEM_PLUS
,
VK_Q
,
VK_W
,
VK_E
,
VK_R
,
VK_T
,
VK_Y
,
VK_U
,
VK_I
,
VK_O
,
VK_P
,
VK_OEM_4
,
VK_OEM_6
,
VK_Q
,
VK_W
,
VK_E
,
VK_R
,
VK_T
,
VK_Y
,
VK_U
,
VK_I
,
VK_O
,
VK_P
,
VK_OEM_4
,
VK_OEM_6
,
VK_A
,
VK_S
,
VK_D
,
VK_F
,
VK_G
,
VK_H
,
VK_J
,
VK_K
,
VK_L
,
VK_OEM_1
,
VK_OEM_7
,
VK_OEM_5
,
VK_A
,
VK_S
,
VK_D
,
VK_F
,
VK_G
,
VK_H
,
VK_J
,
VK_K
,
VK_L
,
VK_OEM_1
,
VK_OEM_7
,
VK_OEM_5
,
...
@@ -71,6 +71,16 @@ static const WORD main_key_vkey_qwerty[MAIN_LEN] =
...
@@ -71,6 +71,16 @@ static const WORD main_key_vkey_qwerty[MAIN_LEN] =
VK_OEM_102
/* the 102nd key (actually to the right of l-shift) */
VK_OEM_102
/* the 102nd key (actually to the right of l-shift) */
};
};
static
const
WORD
main_key_vkey_azerty
[
MAIN_LEN
]
=
{
/* NOTE: this layout must concur with the scan codes layout above */
VK_OEM_7
,
VK_1
,
VK_2
,
VK_3
,
VK_4
,
VK_5
,
VK_6
,
VK_7
,
VK_8
,
VK_9
,
VK_0
,
VK_OEM_4
,
VK_OEM_PLUS
,
VK_A
,
VK_Z
,
VK_E
,
VK_R
,
VK_T
,
VK_Y
,
VK_U
,
VK_I
,
VK_O
,
VK_P
,
VK_OEM_6
,
VK_OEM_1
,
VK_Q
,
VK_S
,
VK_D
,
VK_F
,
VK_G
,
VK_H
,
VK_J
,
VK_K
,
VK_L
,
VK_M
,
VK_OEM_3
,
VK_OEM_5
,
VK_W
,
VK_X
,
VK_C
,
VK_V
,
VK_B
,
VK_N
,
VK_OEM_COMMA
,
VK_OEM_PERIOD
,
VK_OEM_2
,
VK_OEM_8
,
VK_OEM_102
/* the 102nd key (actually to the right of l-shift) */
};
/* FIXME: add other layouts, such as DVORAK and German QWERTZ */
/* FIXME: add other layouts, such as DVORAK and German QWERTZ */
/*** DEFINE YOUR NEW LANGUAGE-SPECIFIC MAPPINGS BELOW, SEE EXISTING TABLES */
/*** DEFINE YOUR NEW LANGUAGE-SPECIFIC MAPPINGS BELOW, SEE EXISTING TABLES */
...
@@ -372,9 +382,9 @@ static const struct {
...
@@ -372,9 +382,9 @@ static const struct {
{
"Swedish keyboard layout"
,
28591
,
&
main_key_SE
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Swedish keyboard layout"
,
28591
,
&
main_key_SE
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Norwegian keyboard layout"
,
28591
,
&
main_key_NO
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Norwegian keyboard layout"
,
28591
,
&
main_key_NO
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Danish keyboard layout"
,
28591
,
&
main_key_DA
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Danish keyboard layout"
,
28591
,
&
main_key_DA
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"French keyboard layout"
,
28591
,
&
main_key_FR
,
&
main_key_scan_qwerty
,
&
main_key_vkey_
qw
erty
},
{
"French keyboard layout"
,
28591
,
&
main_key_FR
,
&
main_key_scan_qwerty
,
&
main_key_vkey_
az
erty
},
{
"Canadian French keyboard layout"
,
28591
,
&
main_key_CF
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Canadian French keyboard layout"
,
28591
,
&
main_key_CF
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Belgian keyboard layout"
,
28591
,
&
main_key_BE
,
&
main_key_scan_qwerty
,
&
main_key_vkey_
qw
erty
},
{
"Belgian keyboard layout"
,
28591
,
&
main_key_BE
,
&
main_key_scan_qwerty
,
&
main_key_vkey_
az
erty
},
{
"Swiss French keyboard layout"
,
28591
,
&
main_key_SF
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Swiss French keyboard layout"
,
28591
,
&
main_key_SF
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Portuguese keyboard layout"
,
28591
,
&
main_key_PT
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Portuguese keyboard layout"
,
28591
,
&
main_key_PT
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Brazilian ABNT-2 keyboard layout"
,
28591
,
&
main_key_PT_br
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
{
"Brazilian ABNT-2 keyboard layout"
,
28591
,
&
main_key_PT_br
,
&
main_key_scan_qwerty
,
&
main_key_vkey_qwerty
},
...
...
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