winemac.drv: Add Mac virtual key code information to the German layout.

This commit is contained in:
Marc-Aurel Zent 2024-10-31 11:03:43 -05:00 committed by Alexandre Julliard
parent 1125bb8f71
commit 484c43c9e9
Notes: Alexandre Julliard 2024-11-13 22:29:14 +01:00
Approved-by: Rémi Bernon (@rbernon)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/wine/merge_requests/6754

View file

@ -715,10 +715,10 @@ void macdrv_compute_keyboard_layout(struct macdrv_thread_data *thread_data)
{ '`', VK_OEM_3, -1 },
{ '[', VK_OEM_4, -1 },
{ '~', VK_OEM_3, -1 },
{ 0x00DF, VK_OEM_4, -1 }, /* 0x00DF is ESZETT */
{ 0x00FC, VK_OEM_1, -1 }, /* 0x00FC is German U Umlaut */
{ 0x00F6, VK_OEM_3, -1 }, /* 0x00F6 is German O Umlaut */
{ 0x00E4, VK_OEM_7, -1 }, /* 0x00B4 is German A Umlaut */
{ 0x00DF, VK_OEM_4, kVK_ANSI_Minus }, /* 0x00DF is ESZETT */
{ 0x00FC, VK_OEM_1, kVK_ANSI_LeftBracket }, /* 0x00FC is German U Umlaut */
{ 0x00F6, VK_OEM_3, kVK_ANSI_Semicolon }, /* 0x00F6 is German O Umlaut */
{ 0x00E4, VK_OEM_7, kVK_ANSI_Quote }, /* 0x00B4 is German A Umlaut */
{ '?', VK_OEM_2, -1 },
{ ']', VK_OEM_6, -1 },
{ '/', VK_OEM_2, -1 },
@ -730,7 +730,7 @@ void macdrv_compute_keyboard_layout(struct macdrv_thread_data *thread_data)
{ ':', VK_OEM_PERIOD, -1 },
{ ';', VK_OEM_COMMA, -1 },
{ '"', VK_OEM_7, -1 },
{ 0x00B4, VK_OEM_4, -1 }, /* 0x00B4 is ACUTE ACCENT */
{ 0x00B4, VK_OEM_4, kVK_ANSI_Equal }, /* 0x00B4 is ACUTE ACCENT */
{ '\'', VK_OEM_2, -1 },
{ 0x00A7, VK_OEM_5, -1 }, /* 0x00A7 is SECTION SIGN */
{ '*', VK_OEM_PLUS, -1 },