1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
/* automatically generated by rust-bindgen 0.69.4 */

#![allow(non_upper_case_globals)]
#![allow(non_camel_case_types)]
#![allow(non_snake_case)]

#[link(name = "ace_ndk.z")]
extern "C" {}
pub const OH_NATIVE_XCOMPONENT_OBJ: &[u8; 26] = b"__NATIVE_XCOMPONENT_OBJ__\0";
impl OH_NativeXComponent_KeyCode {
    pub const KEY_UNKNOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(-1);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(0);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HOME: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(1);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BACK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_PLAY_PAUSE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(10);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_STOP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(11);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_NEXT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(12);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_PREVIOUS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(13);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_REWIND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(14);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_FAST_FORWARD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(15);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VOLUME_UP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(16);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VOLUME_DOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(17);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_POWER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(18);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CAMERA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(19);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VOLUME_MUTE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(22);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MUTE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(23);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_UP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(40);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_DOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(41);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_0: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2000);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_1: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2001);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2002);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_3: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2003);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_4: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2004);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_5: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2005);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_6: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2006);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_7: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2007);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_8: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2008);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_9: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2009);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_STAR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2010);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_POUND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2011);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DPAD_UP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2012);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DPAD_DOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2013);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DPAD_LEFT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2014);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DPAD_RIGHT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2015);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DPAD_CENTER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2016);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_A: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2017);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_B: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2018);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_C: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2019);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_D: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2020);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_E: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2021);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2022);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_G: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2023);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_H: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2024);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_I: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2025);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_J: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2026);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_K: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2027);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_L: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2028);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_M: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2029);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_N: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2030);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_O: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2031);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_P: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2032);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_Q: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2033);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_R: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2034);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_S: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2035);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_T: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2036);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_U: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2037);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_V: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2038);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_W: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2039);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_X: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2040);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_Y: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2041);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_Z: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2042);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_COMMA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2043);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PERIOD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2044);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ALT_LEFT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2045);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ALT_RIGHT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2046);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SHIFT_LEFT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2047);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SHIFT_RIGHT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2048);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TAB: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2049);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SPACE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2050);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SYM: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2051);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EXPLORER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2052);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ENVELOPE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2053);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ENTER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2054);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2055);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_GRAVE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2056);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MINUS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2057);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EQUALS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2058);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_LEFT_BRACKET: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2059);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_RIGHT_BRACKET: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2060);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BACKSLASH: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2061);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SEMICOLON: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2062);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_APOSTROPHE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2063);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SLASH: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2064);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_AT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2065);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PLUS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2066);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MENU: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2067);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PAGE_UP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2068);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PAGE_DOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2069);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ESCAPE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2070);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FORWARD_DEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2071);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CTRL_LEFT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2072);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CTRL_RIGHT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2073);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CAPS_LOCK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2074);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCROLL_LOCK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2075);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_META_LEFT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2076);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_META_RIGHT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2077);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FUNCTION: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2078);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SYSRQ: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2079);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BREAK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2080);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MOVE_HOME: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2081);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MOVE_END: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2082);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_INSERT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2083);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FORWARD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2084);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_PLAY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2085);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_PAUSE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2086);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_CLOSE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2087);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_EJECT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2088);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_RECORD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2089);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F1: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2090);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2091);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F3: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2092);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F4: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2093);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F5: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2094);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F6: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2095);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F7: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2096);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F8: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2097);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F9: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2098);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F10: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2099);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F11: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2100);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F12: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2101);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUM_LOCK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2102);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_0: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2103);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_1: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2104);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2105);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_3: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2106);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_4: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2107);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_5: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2108);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_6: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2109);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_7: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2110);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_8: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2111);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_9: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2112);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_DIVIDE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2113);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_MULTIPLY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2114);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_SUBTRACT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2115);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_ADD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2116);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_DOT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2117);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_COMMA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2118);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_ENTER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2119);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_EQUALS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2120);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_LEFT_PAREN: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2121);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_RIGHT_PAREN: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2122);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VIRTUAL_MULTITASK: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2210);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SLEEP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2600);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ZENKAKU_HANKAKU: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2601);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_102ND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2602);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_RO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2603);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KATAKANA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2604);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HIRAGANA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2605);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HENKAN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2606);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KATAKANA_HIRAGANA: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2607);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MUHENKAN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2608);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_LINEFEED: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2609);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MACRO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2610);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NUMPAD_PLUSMINUS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2611);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCALE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2612);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HANGUEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2613);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HANJA: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2614);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_YEN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2615);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_STOP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2616);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_AGAIN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2617);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROPS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2618);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_UNDO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2619);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_COPY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2620);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_OPEN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2621);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PASTE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2622);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FIND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2623);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CUT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2624);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HELP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2625);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CALC: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2626);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FILE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2627);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BOOKMARKS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2628);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NEXT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2629);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PLAYPAUSE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2630);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PREVIOUS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2631);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_STOPCD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2632);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CONFIG: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2634);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_REFRESH: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2635);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EXIT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2636);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EDIT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2637);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCROLLUP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2638);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCROLLDOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2639);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NEW: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2640);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_REDO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2641);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CLOSE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2642);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PLAY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2643);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BASSBOOST: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2644);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PRINT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2645);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CHAT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2646);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FINANCE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2647);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CANCEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2648);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDILLUM_TOGGLE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2649);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDILLUM_DOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2650);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDILLUM_UP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2651);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SEND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2652);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_REPLY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2653);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FORWARDMAIL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2654);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SAVE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2655);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DOCUMENTS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2656);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VIDEO_NEXT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2657);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VIDEO_PREV: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2658);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_CYCLE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2659);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_ZERO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2660);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DISPLAY_OFF: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2661);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_MISC: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2662);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_GOTO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2663);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_INFO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2664);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROGRAM: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2665);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PVR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2666);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SUBTITLE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2667);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FULL_SCREEN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2668);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KEYBOARD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2669);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ASPECT_RATIO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2670);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PC: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2671);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TV: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2672);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TV2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2673);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VCR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2674);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VCR2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2675);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SAT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2676);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2677);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TAPE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2678);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TUNER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2679);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PLAYER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2680);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DVD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2681);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_AUDIO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2682);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VIDEO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2683);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEMO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2684);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CALENDAR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2685);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_RED: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2686);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_GREEN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2687);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_YELLOW: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2688);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BLUE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2689);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CHANNELUP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2690);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CHANNELDOWN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2691);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_LAST: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2692);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_RESTART: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2693);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SLOW: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2694);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SHUFFLE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2695);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VIDEOPHONE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2696);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_GAMES: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2697);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ZOOMIN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2698);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ZOOMOUT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2699);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ZOOMRESET: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2700);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_WORDPROCESSOR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2701);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EDITOR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2702);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SPREADSHEET: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2703);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_GRAPHICSEDITOR: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2704);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PRESENTATION: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2705);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DATABASE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2706);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_NEWS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2707);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_VOICEMAIL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2708);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ADDRESSBOOK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2709);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MESSENGER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2710);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_TOGGLE: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2711);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SPELLCHECK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2712);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_COFFEE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2713);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MEDIA_REPEAT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2714);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_IMAGES: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2715);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BUTTONCONFIG: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2716);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_TASKMANAGER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2717);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_JOURNAL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2718);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CONTROLPANEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2719);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_APPSELECT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2720);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCREENSAVER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2721);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ASSISTANT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2722);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBD_LAYOUT_NEXT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2723);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_MIN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2724);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BRIGHTNESS_MAX: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2725);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_PREV: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2726);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_NEXT: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2727);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_PREVGROUP: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2728);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_NEXTGROUP: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2729);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_ACCEPT: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2730);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_KBDINPUTASSIST_CANCEL: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2731);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_FRONT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2800);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SETUP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2801);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_WAKEUP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2802);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SENDFILE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2803);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DELETEFILE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2804);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_XFER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2805);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROG1: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2806);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROG2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2807);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MSDOS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2808);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SCREENLOCK: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2809);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DIRECTION_ROTATE_DISPLAY: OH_NativeXComponent_KeyCode =
        OH_NativeXComponent_KeyCode(2810);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CYCLEWINDOWS: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2811);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_COMPUTER: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2812);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_EJECTCLOSECD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2813);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ISO: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2814);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_MOVE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2815);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F13: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2816);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F14: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2817);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F15: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2818);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F16: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2819);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F17: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2820);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F18: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2821);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F19: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2822);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F20: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2823);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F21: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2824);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F22: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2825);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F23: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2826);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_F24: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2827);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROG3: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2828);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_PROG4: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2829);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_DASHBOARD: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2830);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SUSPEND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2831);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_HP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2832);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SOUND: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2833);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_QUESTION: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2834);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CONNECT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2836);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SPORT: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2837);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SHOP: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2838);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_ALTERASE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2839);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_SWITCHVIDEOMODE: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2841);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BATTERY: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2842);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BLUETOOTH: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2843);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_WLAN: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2844);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_UWB: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2845);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_WWAN_WIMAX: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2846);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_RFKILL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(2847);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_CHANNEL: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3001);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_0: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3100);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_1: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3101);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_2: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3102);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_3: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3103);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_4: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3104);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_5: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3105);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_6: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3106);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_7: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3107);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_8: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3108);
}
impl OH_NativeXComponent_KeyCode {
    pub const KEY_BTN_9: OH_NativeXComponent_KeyCode = OH_NativeXComponent_KeyCode(3109);
}
#[repr(transparent)]
/** @brief Represents the key event code.

@since 10
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_KeyCode(pub ::core::ffi::c_int);
impl OH_NativeXComponent_KeyAction {
    pub const OH_NATIVEXCOMPONENT_KEY_ACTION_UNKNOWN: OH_NativeXComponent_KeyAction =
        OH_NativeXComponent_KeyAction(-1);
}
impl OH_NativeXComponent_KeyAction {
    pub const OH_NATIVEXCOMPONENT_KEY_ACTION_DOWN: OH_NativeXComponent_KeyAction =
        OH_NativeXComponent_KeyAction(0);
}
impl OH_NativeXComponent_KeyAction {
    pub const OH_NATIVEXCOMPONENT_KEY_ACTION_UP: OH_NativeXComponent_KeyAction =
        OH_NativeXComponent_KeyAction(1);
}
#[repr(transparent)]
/** @brief Represents the key event action.

@since 10
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_KeyAction(pub ::core::ffi::c_int);
pub const OH_XCOMPONENT_ID_LEN_MAX: u32 = 128;
pub const OH_MAX_TOUCH_POINTS_NUMBER: u32 = 10;
/// Successful.
pub const OH_NATIVEXCOMPONENT_RESULT_SUCCESS: _bindgen_ty_1 = _bindgen_ty_1(0);
/// Failed.
pub const OH_NATIVEXCOMPONENT_RESULT_FAILED: _bindgen_ty_1 = _bindgen_ty_1(-1);
/// Invalid parameters.
pub const OH_NATIVEXCOMPONENT_RESULT_BAD_PARAMETER: _bindgen_ty_1 = _bindgen_ty_1(-2);
#[repr(transparent)]
/** @brief Enumerates the API access states.

@since 8
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct _bindgen_ty_1(pub ::core::ffi::c_int);
impl OH_NativeXComponent_TouchEventType {
    /// Trigger a touch event when a finger is pressed.
    pub const OH_NATIVEXCOMPONENT_DOWN: OH_NativeXComponent_TouchEventType =
        OH_NativeXComponent_TouchEventType(0);
}
impl OH_NativeXComponent_TouchEventType {
    /// Trigger a touch event when a finger is lifted.
    pub const OH_NATIVEXCOMPONENT_UP: OH_NativeXComponent_TouchEventType =
        OH_NativeXComponent_TouchEventType(1);
}
impl OH_NativeXComponent_TouchEventType {
    /// Trigger a touch event when a finger moves on the screen in pressed state.
    pub const OH_NATIVEXCOMPONENT_MOVE: OH_NativeXComponent_TouchEventType =
        OH_NativeXComponent_TouchEventType(2);
}
impl OH_NativeXComponent_TouchEventType {
    /// Trigger an event when a touch event is canceled.
    pub const OH_NATIVEXCOMPONENT_CANCEL: OH_NativeXComponent_TouchEventType =
        OH_NativeXComponent_TouchEventType(3);
}
impl OH_NativeXComponent_TouchEventType {
    /// Invalid touch type.
    pub const OH_NATIVEXCOMPONENT_UNKNOWN: OH_NativeXComponent_TouchEventType =
        OH_NativeXComponent_TouchEventType(4);
}
#[repr(transparent)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_TouchEventType(pub ::core::ffi::c_uint);
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates invalid tool type.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_UNKNOWN: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(0);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a finger.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_FINGER: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(1);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a stylus.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PEN: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(2);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a eraser.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_RUBBER: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(3);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a brush.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_BRUSH: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(4);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a pencil.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_PENCIL: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(5);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a brush.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_AIRBRUSH: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(6);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a mouse.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_MOUSE: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(7);
}
impl OH_NativeXComponent_TouchPointToolType {
    /// Indicates a lens.
    pub const OH_NATIVEXCOMPONENT_TOOL_TYPE_LENS: OH_NativeXComponent_TouchPointToolType =
        OH_NativeXComponent_TouchPointToolType(8);
}
#[repr(transparent)]
/** @brief Represents the touch point tool type.

@since 9
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_TouchPointToolType(pub ::core::ffi::c_uint);
impl OH_NativeXComponent_EventSourceType {
    /// Indicates an unknown input source type.
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_UNKNOWN: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(0);
}
impl OH_NativeXComponent_EventSourceType {
    /// Indicates that the input source generates a mouse multi-touch event.
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_MOUSE: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(1);
}
impl OH_NativeXComponent_EventSourceType {
    /// Indicates that the input source generates a touchscreen multi-touch event.
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHSCREEN: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(2);
}
impl OH_NativeXComponent_EventSourceType {
    /// Indicates that the input source generates a touchpad multi-touch event.
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_TOUCHPAD: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(3);
}
impl OH_NativeXComponent_EventSourceType {
    /// Indicates that the input source generates a joystick multi-touch event.
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_JOYSTICK: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(4);
}
impl OH_NativeXComponent_EventSourceType {
    /** @brief Indicates that the input source generates a keyboard event.

    @since 10
    @version 1.0*/
    pub const OH_NATIVEXCOMPONENT_SOURCE_TYPE_KEYBOARD: OH_NativeXComponent_EventSourceType =
        OH_NativeXComponent_EventSourceType(5);
}
#[repr(transparent)]
/** @brief Represents the touch event source type.

@since 9
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_EventSourceType(pub ::core::ffi::c_uint);
impl OH_NativeXComponent_MouseEventAction {
    pub const OH_NATIVEXCOMPONENT_MOUSE_NONE: OH_NativeXComponent_MouseEventAction =
        OH_NativeXComponent_MouseEventAction(0);
}
impl OH_NativeXComponent_MouseEventAction {
    pub const OH_NATIVEXCOMPONENT_MOUSE_PRESS: OH_NativeXComponent_MouseEventAction =
        OH_NativeXComponent_MouseEventAction(1);
}
impl OH_NativeXComponent_MouseEventAction {
    pub const OH_NATIVEXCOMPONENT_MOUSE_RELEASE: OH_NativeXComponent_MouseEventAction =
        OH_NativeXComponent_MouseEventAction(2);
}
impl OH_NativeXComponent_MouseEventAction {
    pub const OH_NATIVEXCOMPONENT_MOUSE_MOVE: OH_NativeXComponent_MouseEventAction =
        OH_NativeXComponent_MouseEventAction(3);
}
#[repr(transparent)]
/** @brief Represents the mouse event action.

@since 9
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_MouseEventAction(pub ::core::ffi::c_uint);
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_NONE_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(0);
}
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_LEFT_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(1);
}
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_RIGHT_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(2);
}
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_MIDDLE_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(4);
}
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_BACK_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(8);
}
impl OH_NativeXComponent_MouseEventButton {
    pub const OH_NATIVEXCOMPONENT_FORWARD_BUTTON: OH_NativeXComponent_MouseEventButton =
        OH_NativeXComponent_MouseEventButton(16);
}
#[repr(transparent)]
/** @brief Represents the mouse event button.

@since 9
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_MouseEventButton(pub ::core::ffi::c_uint);
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_UNKNOWN: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(0);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_FINGER: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(1);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_PEN: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(2);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_RUBBER: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(3);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_BRUSH: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(4);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_PENCIL: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(5);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_AIRBRUSH: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(6);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_MOUSE: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(7);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_LENS: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(8);
}
impl OH_NativeXComponent_TouchEvent_SourceTool {
    pub const OH_NATIVEXCOMPONENT_SOURCETOOL_TOUCHPAD: OH_NativeXComponent_TouchEvent_SourceTool =
        OH_NativeXComponent_TouchEvent_SourceTool(9);
}
#[repr(transparent)]
/** @brief Represents the source tool type of TouchEvent

@since 10
@version 1.0*/
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct OH_NativeXComponent_TouchEvent_SourceTool(pub ::core::ffi::c_uint);
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_HistoricalPoint {
    /// Unique identifier of a finger.
    pub id: i32,
    /// X coordinate of the touch point relative to the left edge of the screen.
    pub screenX: f32,
    /// Y coordinate of the touch point relative to the upper edge of the screen.
    pub screenY: f32,
    /// X coordinate of the touch point relative to the left edge of the element to touch.
    pub x: f32,
    /// Y coordinate of the touch point relative to the upper edge of the element to touch.
    pub y: f32,
    /// Touch type of the touch event.
    pub type_: OH_NativeXComponent_TouchEventType,
    /// Contact area between the finger pad and the screen.
    pub size: f64,
    /// Pressure of the current touch event.
    pub force: f32,
    /// Timestamp of the current touch event.
    pub timeStamp: i64,
    /// The angle betweenprojection on plane-X-Y and axis-Z of the current touch event.
    pub titlX: f32,
    /// The angle betweenprojection on plane-Y-Z and axis-Z of the current touch event.
    pub titlY: f32,
    /// The sourceTool of the current touch event.
    pub sourceTool: OH_NativeXComponent_TouchEvent_SourceTool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_TouchPoint {
    /// Unique identifier of a finger.
    pub id: i32,
    /// X coordinate of the touch point relative to the left edge of the screen.
    pub screenX: f32,
    /// Y coordinate of the touch point relative to the upper edge of the screen.
    pub screenY: f32,
    /// X coordinate of the touch point relative to the left edge of the element to touch.
    pub x: f32,
    /// Y coordinate of the touch point relative to the upper edge of the element to touch.
    pub y: f32,
    /// Touch type of the touch event.
    pub type_: OH_NativeXComponent_TouchEventType,
    /// Contact area between the finger pad and the screen.
    pub size: f64,
    /// Pressure of the current touch event.
    pub force: f32,
    /// Timestamp of the current touch event.
    pub timeStamp: i64,
    /// Whether the current point is pressed.
    pub isPressed: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_TouchEvent {
    /// Unique identifier of a finger.
    pub id: i32,
    /// X coordinate of the touch point relative to the left edge of the screen.
    pub screenX: f32,
    /// Y coordinate of the touch point relative to the upper edge of the screen.
    pub screenY: f32,
    /// X coordinate of the touch point relative to the left edge of the element to touch.
    pub x: f32,
    /// Y coordinate of the touch point relative to the upper edge of the element to touch.
    pub y: f32,
    /// Touch type of the touch event.
    pub type_: OH_NativeXComponent_TouchEventType,
    /// Contact area between the finger pad and the screen.
    pub size: f64,
    /// Pressure of the current touch event.
    pub force: f32,
    /// ID of the device where the current touch event is generated.
    pub deviceId: i64,
    /// Timestamp of the current touch event.
    pub timeStamp: i64,
    /// Array of the current touch points.
    pub touchPoints: [OH_NativeXComponent_TouchPoint; 10usize],
    /// Number of current touch points.
    pub numPoints: u32,
}
/** @brief Represents the mouse event information.

@since 9
@version 1.0*/
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_MouseEvent {
    /// X coordinate of the mouse point relative to the left edge of the element to mouse.
    pub x: f32,
    /// Y coordinate of the mouse point relative to the upper edge of the element to mouse.
    pub y: f32,
    /// X coordinate of the mouse point relative to the left edge of the screen.
    pub screenX: f32,
    /// Y coordinate of the mouse point relative to the upper edge of the screen.
    pub screenY: f32,
    /// Timestamp of the current mouse event.
    pub timestamp: i64,
    /// Mouse event action.
    pub action: OH_NativeXComponent_MouseEventAction,
    /// Mouse event button.
    pub button: OH_NativeXComponent_MouseEventButton,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent {
    _unused: [u8; 0],
}
/** @brief Registers the surface lifecycle and touch event callbacks.

@since 8
@version 1.0*/
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_Callback {
    /// Called when the surface is created.
    pub OnSurfaceCreated: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, window: *mut ::core::ffi::c_void),
    >,
    /// Called when the surface is changed.
    pub OnSurfaceChanged: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, window: *mut ::core::ffi::c_void),
    >,
    /// Called when the surface is destroyed.
    pub OnSurfaceDestroyed: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, window: *mut ::core::ffi::c_void),
    >,
    /// Called when a touch event is triggered.
    pub DispatchTouchEvent: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, window: *mut ::core::ffi::c_void),
    >,
}
/** @brief Registers the mouse event callbacks.

@since 9
@version 1.0*/
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_MouseEvent_Callback {
    /// Called when a mouse event is triggered.
    pub DispatchMouseEvent: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, window: *mut ::core::ffi::c_void),
    >,
    /// Called when a hover event is triggered.
    pub DispatchHoverEvent: ::core::option::Option<
        unsafe extern "C" fn(component: *mut OH_NativeXComponent, isHover: bool),
    >,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct OH_NativeXComponent_KeyEvent {
    _unused: [u8; 0],
}
extern "C" {
    /** @brief Obtains the ID of the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param id Indicates the char buffer to keep the ID of this <b>OH_NativeXComponent</b> instance.\n
           Notice that a null-terminator will be appended to the char buffer, so the size of the\n
           char buffer should be at least as large as the size of the real id length plus 1.\n
           It is recommended that the size of the char buffer be [OH_XCOMPONENT_ID_LEN_MAX + 1].
    @param size Indicates the pointer to the length of <b>id</b>, which you can set and receive.
    @return Returns the status code of the execution.
    @since 8
    @version 1.0*/
    pub fn OH_NativeXComponent_GetXComponentId(
        component: *mut OH_NativeXComponent,
        id: *mut ::core::ffi::c_char,
        size: *mut u64,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the size of the surface held by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param window Indicates the native window handler.
    @param width Indicates the pointer to the width of the current surface.
    @param height Indicates the pointer to the height of the current surface.
    @return Returns the status code of the execution.
    @since 8
    @version 1.0*/
    pub fn OH_NativeXComponent_GetXComponentSize(
        component: *mut OH_NativeXComponent,
        window: *const ::core::ffi::c_void,
        width: *mut u64,
        height: *mut u64,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the offset of the surface held by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param window Indicates the native window handler.
    @param x Indicates the pointer to the x coordinate of the current surface.
    @param y Indicates the pointer to the y coordinate of the current surface.
    @return Returns the status code of the execution.
    @since 8
    @version 1.0*/
    pub fn OH_NativeXComponent_GetXComponentOffset(
        component: *mut OH_NativeXComponent,
        window: *const ::core::ffi::c_void,
        x: *mut f64,
        y: *mut f64,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the touch event dispatched by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param window Indicates the native window handler.
    @param touchEvent Indicates the pointer to the current touch event.
    @return Returns the status code of the execution.
    @since 8
    @version 1.0*/
    pub fn OH_NativeXComponent_GetTouchEvent(
        component: *mut OH_NativeXComponent,
        window: *const ::core::ffi::c_void,
        touchEvent: *mut OH_NativeXComponent_TouchEvent,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the touch pointer tool type by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param pointIndex Indicates the pointer index in the touchPoints.
    @param toolType Indicates the tool Type of the pointer.
    @return Returns the status code of the execution.
    @since 9
    @version 1.0*/
    pub fn OH_NativeXComponent_GetTouchPointToolType(
        component: *mut OH_NativeXComponent,
        pointIndex: u32,
        toolType: *mut OH_NativeXComponent_TouchPointToolType,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the touch pointer tiltX by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param pointIndex Indicates the pointer index in the touchPoints.
    @param tiltX Indicates the x tilt of the pointer.
    @return Returns the status code of the execution.
    @since 9
    @version 1.0*/
    pub fn OH_NativeXComponent_GetTouchPointTiltX(
        component: *mut OH_NativeXComponent,
        pointIndex: u32,
        tiltX: *mut f32,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the touch pointer tiltX by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param pointIndex Indicates the pointer index in the touchPoints.
    @param tiltY Indicates the y tilt of the pointer.
    @return Returns the status code of the execution.
    @since 9
    @version 1.0*/
    pub fn OH_NativeXComponent_GetTouchPointTiltY(
        component: *mut OH_NativeXComponent,
        pointIndex: u32,
        tiltY: *mut f32,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the touch event dispatched by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param window Indicates the native window handler.
    @param historicalPoints Indicates the pointer to the current historicalPoints.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetHistoricalPoints(
        component: *mut OH_NativeXComponent,
        window: *const ::core::ffi::c_void,
        size: *mut i32,
        historicalPoints: *mut *mut OH_NativeXComponent_HistoricalPoint,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the mouse event dispatched by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param window Indicates the native window handler.
    @param mouseEvent Indicates the pointer to the current mouse event.
    @return Returns the status code of the execution.
    @since 9
    @version 1.0*/
    pub fn OH_NativeXComponent_GetMouseEvent(
        component: *mut OH_NativeXComponent,
        window: *const ::core::ffi::c_void,
        mouseEvent: *mut OH_NativeXComponent_MouseEvent,
    ) -> i32;
}
extern "C" {
    /** @brief Registers a callback for this <b>OH_NativeXComponent</b> instance.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param callback Indicates the pointer to a surface lifecycle and touch event callback.
    @return Returns the status code of the execution.
    @since 8
    @version 1.0*/
    pub fn OH_NativeXComponent_RegisterCallback(
        component: *mut OH_NativeXComponent,
        callback: *mut OH_NativeXComponent_Callback,
    ) -> i32;
}
extern "C" {
    /** @brief Registers a callback for this <b>OH_NativeXComponent</b> instance.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param callback Indicates the pointer to a mouse event callback.
    @return Returns the status code of the execution.
    @since 9
    @version 1.0*/
    pub fn OH_NativeXComponent_RegisterMouseEventCallback(
        component: *mut OH_NativeXComponent,
        callback: *mut OH_NativeXComponent_MouseEvent_Callback,
    ) -> i32;
}
extern "C" {
    /** @brief Registers a callback for this <b>OH_NativeXComponent</b> instance.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param callback Indicates the pointer to a focus event callback.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_RegisterFocusEventCallback(
        component: *mut OH_NativeXComponent,
        callback: ::core::option::Option<
            unsafe extern "C" fn(
                component: *mut OH_NativeXComponent,
                window: *mut ::core::ffi::c_void,
            ),
        >,
    ) -> i32;
}
extern "C" {
    /** @brief Registers a callback for this <b>OH_NativeXComponent</b> instance.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param callback Indicates the pointer to a key event callback.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_RegisterKeyEventCallback(
        component: *mut OH_NativeXComponent,
        callback: ::core::option::Option<
            unsafe extern "C" fn(
                component: *mut OH_NativeXComponent,
                window: *mut ::core::ffi::c_void,
            ),
        >,
    ) -> i32;
}
extern "C" {
    /** @brief Registers a callback for this <b>OH_NativeXComponent</b> instance.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param callback Indicates the pointer to a blur event callback.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_RegisterBlurEventCallback(
        component: *mut OH_NativeXComponent,
        callback: ::core::option::Option<
            unsafe extern "C" fn(
                component: *mut OH_NativeXComponent,
                window: *mut ::core::ffi::c_void,
            ),
        >,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the key event dispatched by the ArkUI XComponent.

    @param component Indicates the pointer to this <b>OH_NativeXComponent</b> instance.
    @param keyEvent Indicates the pointer to pointer of <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEvent(
        component: *mut OH_NativeXComponent,
        keyEvent: *mut *mut OH_NativeXComponent_KeyEvent,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the action of the key event.

    @param keyEvent Indicates the pointer to this <b>OH_NativeXComponent_KeyEvent</b> instance.
    @param action Indicates the action of the <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEventAction(
        keyEvent: *mut OH_NativeXComponent_KeyEvent,
        action: *mut OH_NativeXComponent_KeyAction,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the keyCode of the key event.

    @param keyEvent Indicates the pointer to this <b>OH_NativeXComponent_KeyEvent</b> instance.
    @param code Indicates the keyCode of the <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEventCode(
        keyEvent: *mut OH_NativeXComponent_KeyEvent,
        code: *mut OH_NativeXComponent_KeyCode,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the sourceType of the key event.

    @param keyEvent Indicates the pointer to this <b>OH_NativeXComponent_KeyEvent</b> instance.
    @param sourceType Indicates the sourceType of the <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEventSourceType(
        keyEvent: *mut OH_NativeXComponent_KeyEvent,
        sourceType: *mut OH_NativeXComponent_EventSourceType,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the deviceId of the key event.

    @param keyEvent Indicates the pointer to this <b>OH_NativeXComponent_KeyEvent</b> instance.
    @param deviceId Indicates the deviceId of the <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEventDeviceId(
        keyEvent: *mut OH_NativeXComponent_KeyEvent,
        deviceId: *mut i64,
    ) -> i32;
}
extern "C" {
    /** @brief Obtains the timestamp of the key event.

    @param keyEvent Indicates the pointer to this <b>OH_NativeXComponent_KeyEvent</b> instance.
    @param timestamp Indicates the timestamp of the <b>OH_NativeXComponent_KeyEvent</b> instance.
    @return Returns the status code of the execution.
    @since 10
    @version 1.0*/
    pub fn OH_NativeXComponent_GetKeyEventTimestamp(
        keyEvent: *mut OH_NativeXComponent_KeyEvent,
        timestamp: *mut i64,
    ) -> i32;
}