Skip to content

Commit a4c3a65

Browse files
authored
Merge pull request #1773 from CBATeam/220dik
Keybinding - Use DIK codes from 2.20 hotfix
2 parents ce766cf + 7d04cef commit a4c3a65

File tree

3 files changed

+19
-28
lines changed

3 files changed

+19
-28
lines changed

addons/keybinding/XEH_preStart.sqf

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
11
#include "script_component.hpp"
22

3-
#ifndef DIK_F16
4-
#define DIK_F16 0x67
5-
#endif
6-
#ifndef DIK_F17
7-
#define DIK_F17 0x68
8-
#endif
9-
#ifndef DIK_F18
10-
#define DIK_F18 0x69
11-
#endif
12-
#ifndef DIK_F19
13-
#define DIK_F19 0x6a
14-
#endif
15-
#ifndef DIK_F20
16-
#define DIK_F20 0x6b
17-
#endif
18-
#ifndef DIK_F21
19-
#define DIK_F21 0x6c
20-
#endif
21-
#ifndef DIK_F22
22-
#define DIK_F22 0x6d
23-
#endif
24-
#ifndef DIK_F23
25-
#define DIK_F23 0x6e
26-
#endif
27-
#ifndef DIK_F24
28-
#define DIK_F24 0x76
29-
#endif
30-
313
if (!hasInterface) exitWith {};
324

335
#include "XEH_PREP.hpp"

include/a3/ui_f/hpp/defineDIKCodes.inc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,16 @@
9797
#define DIK_F14 0x65 /* (NEC PC98) */
9898
#define DIK_F15 0x66 /* (NEC PC98) */
9999

100+
#define DIK_F16 0x67
101+
#define DIK_F17 0x68
102+
#define DIK_F18 0x69
103+
#define DIK_F19 0x6A
104+
#define DIK_F20 0x6B
105+
#define DIK_F21 0x6C
106+
#define DIK_F22 0x6D
107+
#define DIK_F23 0x6E
108+
#define DIK_F24 0x76
109+
100110
#define DIK_KANA 0x70 /* (Japanese keyboard) */
101111
#define DIK_ABNT_C1 0x73 /* / ? on Portugese (Brazilian) keyboards */
102112
#define DIK_CONVERT 0x79 /* (Japanese keyboard) */

include/a3/ui_f/hpp/defineResincl.inc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,8 @@ enum
315315
#define CT_ITEMSLOT 103
316316
#define CT_CHECKBOX 77
317317
#define CT_VEHICLE_DIRECTION 105
318+
#define CT_WEBBROWSER 106
319+
#define CT_EXTENSION 107
318320

319321
// Static styles
320322
#define ST_POS 0x0F
@@ -410,6 +412,8 @@ enum
410412
#define IDC_RESTART 5
411413
#define IDC_USER_BUTTON 6
412414
#define IDC_EXIT_TO_MAIN 7
415+
#define IDC_EXIT_QUIT 8
416+
#define IDC_USER_BUTTON2 9
413417

414418
// my own control window for tests
415419
#define IDC_MY_FIRST_LISTBOX 110
@@ -1024,6 +1028,9 @@ enum
10241028
#define IDC_MAIN_QUICKPLAY 154
10251029
#define IDC_MAIN_UNIT 155
10261030

1031+
#define IDC_MAIN_INFO_BRANCH 156
1032+
#define IDC_MAIN_BRANCH_NAME 160
1033+
10271034
#define IDC_MAIN_CARDAS_CUDL 199 // muj vlastni cudl
10281035

10291036
#define IDC_MAIN_VIDEOCONTROL 3335
@@ -1380,6 +1387,7 @@ enum
13801387
#define IDC_OPTIONS_PP_DOF_SLIDER 1317
13811388
#define IDC_OPTIONS_PP_DOF_VALUE 1318
13821389
#define IDC_OPTIONS_PP_CAUSTICS 1319
1390+
#define IDC_OPTIONS_PP_HAZE 1329
13831391
#define IDC_OPTIONS_PP_SHARPEN_SLIDER 1320
13841392
#define IDC_OPTIONS_PP_SHARPEN_VALUE 1321
13851393
#define IDC_OPTIONS_PP_COLOR_CORRECTIONS 1322
@@ -1415,6 +1423,7 @@ enum
14151423
#define IDC_OPTIONS_WIND_INFLUENCE_DYN_RTD 149
14161424
#define IDC_OPTIONS_AUTO_TRIM_RTD 150
14171425
#define IDC_OPTIONS_STRESS_DAMAGE_RTD 151
1426+
#define IDC_OPTIONS_WEBBROWSER 152
14181427

14191428
#define IDC_PARTICLES_EFFECTS 143
14201429
#define IDC_OPTIONS_DYNAMIC_LIGHTS 144

0 commit comments

Comments
 (0)