objc2-io-kit 0.3.2

Bindings to the IOKit framework
Documentation
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
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
//! This file has been automatically generated by `objc2`'s `header-translator`.
//! DO NOT EDIT
use core::cell::UnsafeCell;
use core::ffi::*;
use core::marker::{PhantomData, PhantomPinned};
use core::ptr::NonNull;
#[cfg(feature = "dispatch2")]
use dispatch2::*;
#[cfg(feature = "objc2")]
use objc2::__framework_prelude::*;
use objc2_core_foundation::*;

use crate::*;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationkey?language=objc)
pub const kIOHIDPointerAccelerationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtrackpadscrollaccelerationkey?language=objc)
pub const kIOHIDTrackpadScrollAccelerationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDTrackpadScrollAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtrackpadaccelerationtype?language=objc)
pub const kIOHIDTrackpadAccelerationType: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDTrackpadAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationtypekey?language=objc)
pub const kIOHIDPointerAccelerationTypeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerAccelerationType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmousescrollaccelerationkey?language=objc)
pub const kIOHIDMouseScrollAccelerationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDMouseScrollAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmouseaccelerationtypekey?language=objc)
pub const kIOHIDMouseAccelerationTypeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDMouseAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollaccelerationkey?language=objc)
pub const kIOHIDScrollAccelerationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollaccelerationtypekey?language=objc)
pub const kIOHIDScrollAccelerationTypeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollAccelerationType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddigitizertipthresholdkey?language=objc)
pub const kIOHIDDigitizerTipThresholdKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DigitizerTipThreshold\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsurfacedimensionskey?language=objc)
pub const kIOHIDSurfaceDimensionsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"SurfaceDimensions\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidwidthkey?language=objc)
pub const kIOHIDWidthKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Width\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidheightkey?language=objc)
pub const kIOHIDHeightKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Height\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohideventdriverhandlesreport?language=objc)
pub const kIOHIDEventDriverHandlesReport: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOHIDEventDriverHandlesReport\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidserviceaccelerationproperties?language=objc)
pub const kIOHIDServiceAccelerationProperties: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOHIDSetAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationmultiplierkey?language=objc)
pub const kIOHIDPointerAccelerationMultiplierKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerAccelerationMultiplier\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpointerreportratekey?language=objc)
pub const kHIDPointerReportRateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerReportRate\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollreportratekey?language=objc)
pub const kIOHIDScrollReportRateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollReportRate\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidaccelparametriccurveskey?language=objc)
pub const kHIDAccelParametricCurvesKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDAccelCurves\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidscrollaccelparametriccurveskey?language=objc)
pub const kHIDScrollAccelParametricCurvesKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollAccelCurves\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollresolutionkey?language=objc)
pub const kIOHIDScrollResolutionKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollResolution\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddropaccelpropertyeventskey?language=objc)
pub const kIOHIDDropAccelPropertyEventsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DropAccelPropertyEvents\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollresolutionxkey?language=objc)
pub const kIOHIDScrollResolutionXKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollResolutionX\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollresolutionykey?language=objc)
pub const kIOHIDScrollResolutionYKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollResolutionY\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollresolutionzkey?language=objc)
pub const kIOHIDScrollResolutionZKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollResolutionZ\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiduselinearscalingmouseaccelerationkey?language=objc)
pub const kIOHIDUseLinearScalingMouseAccelerationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDUseLinearScalingMouseAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationsupportkey?language=objc)
pub const kIOHIDPointerAccelerationSupportKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDSupportsPointerAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollaccelerationsupportkey?language=objc)
pub const kIOHIDScrollAccelerationSupportKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDSupportsScrollAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohideventservicesensorcontroloptionskey?language=objc)
pub const kIOHIDEventServiceSensorControlOptionsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDDefaultSensorControlOptions\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmouseaccelerationtype?language=objc)
pub const kIOHIDMouseAccelerationType: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDMouseAcceleration\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointerbuttonmode?language=objc)
pub const kIOHIDPointerButtonMode: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerButtonMode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointerbuttonmodekey?language=objc)
pub const kIOHIDPointerButtonModeKey: &CStr = kIOHIDPointerButtonMode;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiduserkeyusagemapkey?language=objc)
pub const kIOHIDUserKeyUsageMapKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UserKeyMapping\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardcapslockdelayoverride?language=objc)
pub const kIOHIDKeyboardCapsLockDelayOverride: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CapsLockDelayOverride\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardcapslockdelayoverridekey?language=objc)
pub const kIOHIDKeyboardCapsLockDelayOverrideKey: &CStr = kIOHIDKeyboardCapsLockDelayOverride;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidserviceejectdelaykey?language=objc)
pub const kIOHIDServiceEjectDelayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"EjectDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidservicelockkeydelaykey?language=objc)
pub const kIOHIDServiceLockKeyDelayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"LockKeyDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidserviceinitialkeyrepeatdelaykey?language=objc)
pub const kIOHIDServiceInitialKeyRepeatDelayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDInitialKeyRepeat\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidservicekeyrepeatdelaykey?language=objc)
pub const kIOHIDServiceKeyRepeatDelayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDKeyRepeat\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohididletimemicrosecondskey?language=objc)
pub const kIOHIDIdleTimeMicrosecondsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDIdleTimeMicroseconds\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidservicecapslockstatekey?language=objc)
pub const kIOHIDServiceCapsLockStateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDCapsLockState\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddevicedefaultasyncrequesttimeout?language=objc)
pub const kIOHIDDeviceDefaultAsyncRequestTimeout: c_uint = 1000;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceminasyncrequesttimeout?language=objc)
pub const kIOHIDDeviceMinAsyncRequestTimeout: c_uint = 50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddevicemaxasyncrequesttimeout?language=objc)
pub const kIOHIDDeviceMaxAsyncRequestTimeout: c_uint = 1200000;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportkey?language=objc)
pub const kIOHIDTransportKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Transport\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvendoridkey?language=objc)
pub const kIOHIDVendorIDKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"VendorID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidproductidkey?language=objc)
pub const kIOHIDProductIDKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ProductID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidversionnumberkey?language=objc)
pub const kIOHIDVersionNumberKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"VersionNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmanufacturerkey?language=objc)
pub const kIOHIDManufacturerKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Manufacturer\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidproductkey?language=objc)
pub const kIOHIDProductKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Product\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidserialnumberkey?language=objc)
pub const kIOHIDSerialNumberKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"SerialNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidcountrycodekey?language=objc)
pub const kIOHIDCountryCodeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CountryCode\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidlocationidkey?language=objc)
pub const kIOHIDLocationIDKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"LocationID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceusagepairskey?language=objc)
pub const kIOHIDDeviceUsagePairsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DeviceUsagePairs\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceusagekey?language=objc)
pub const kIOHIDDeviceUsageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DeviceUsage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceusagepagekey?language=objc)
pub const kIOHIDDeviceUsagePageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DeviceUsagePage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidprimaryusagekey?language=objc)
pub const kIOHIDPrimaryUsageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"PrimaryUsage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidprimaryusagepagekey?language=objc)
pub const kIOHIDPrimaryUsagePageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"PrimaryUsagePage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmaxinputreportsizekey?language=objc)
pub const kIOHIDMaxInputReportSizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxInputReportSize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmaxoutputreportsizekey?language=objc)
pub const kIOHIDMaxOutputReportSizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxOutputReportSize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmaxfeaturereportsizekey?language=objc)
pub const kIOHIDMaxFeatureReportSizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxFeatureReportSize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidreportintervalkey?language=objc)
pub const kIOHIDReportIntervalKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportInterval\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidbatchintervalkey?language=objc)
pub const kIOHIDBatchIntervalKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"BatchInterval\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidrequesttimeoutkey?language=objc)
pub const kIOHIDRequestTimeoutKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"RequestTimeout\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidreportdescriptorkey?language=objc)
pub const kIOHIDReportDescriptorKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportDescriptor\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidbuiltinkey?language=objc)
pub const kIOHIDBuiltInKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Built-In\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidphysicaldeviceuniqueidkey?language=objc)
pub const kIOHIDPhysicalDeviceUniqueIDKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"PhysicalDeviceUniqueID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceaccessentitlementkey?language=objc)
pub const kIOHIDDeviceAccessEntitlementKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDDeviceAccessEntitlement\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddevicekey?language=objc)
pub const kIOHIDDeviceKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"IOHIDDevice\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvendoridsourcekey?language=objc)
pub const kIOHIDVendorIDSourceKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"VendorIDSource\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidstandardtypekey?language=objc)
pub const kIOHIDStandardTypeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"StandardType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsampleintervalkey?language=objc)
pub const kIOHIDSampleIntervalKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"SampleInterval\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidresetkey?language=objc)
pub const kIOHIDResetKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Reset\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardlanguagekey?language=objc)
pub const kIOHIDKeyboardLanguageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"KeyboardLanguage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidalthandleridkey?language=objc)
pub const kIOHIDAltHandlerIdKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"alt_handler_id\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddisplayintegratedkey?language=objc)
pub const kIOHIDDisplayIntegratedKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DisplayIntegrated\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidproductidmaskkey?language=objc)
pub const kIOHIDProductIDMaskKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ProductIDMask\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidproductidarraykey?language=objc)
pub const kIOHIDProductIDArrayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ProductIDArray\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpowerondelaynskey?language=objc)
pub const kIOHIDPowerOnDelayNSKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPowerOnDelayNS\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidcategorykey?language=objc)
pub const kIOHIDCategoryKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Category\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmaxresponselatencykey?language=objc)
pub const kIOHIDMaxResponseLatencyKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxResponseLatency\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiduniqueidkey?language=objc)
pub const kIOHIDUniqueIDKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"UniqueID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmodelnumberkey?language=objc)
pub const kIOHIDModelNumberKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ModelNumber\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportusbvalue?language=objc)
pub const kIOHIDTransportUSBValue: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"USB\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportbluetoothvalue?language=objc)
pub const kIOHIDTransportBluetoothValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Bluetooth\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportbluetoothlowenergyvalue?language=objc)
pub const kIOHIDTransportBluetoothLowEnergyValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"BluetoothLowEnergy\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportaidbvalue?language=objc)
pub const kIOHIDTransportAIDBValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransporti2cvalue?language=objc)
pub const kIOHIDTransportI2CValue: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"I2C\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportspivalue?language=objc)
pub const kIOHIDTransportSPIValue: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"SPI\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportserialvalue?language=objc)
pub const kIOHIDTransportSerialValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Serial\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportiapvalue?language=objc)
pub const kIOHIDTransportIAPValue: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"iAP\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportairplayvalue?language=objc)
pub const kIOHIDTransportAirPlayValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"AirPlay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportspuvalue?language=objc)
pub const kIOHIDTransportSPUValue: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"SPU\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportbtaacpvalue?language=objc)
pub const kIOHIDTransportBTAACPValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"BT-AACP\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportfifovalue?language=objc)
pub const kIOHIDTransportFIFOValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"FIFO\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportvirtualvalue?language=objc)
pub const kIOHIDTransportVirtualValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Virtual\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransportinductiveinbandvalue?language=objc)
pub const kIOHIDTransportInductiveInBandValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Inductive In-Band\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidcategoryautomotivevalue?language=objc)
pub const kIOHIDCategoryAutomotiveValue: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"Automotive\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementkey?language=objc)
pub const kIOHIDElementKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Elements\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcookiekey?language=objc)
pub const kIOHIDElementCookieKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ElementCookie\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementtypekey?language=objc)
pub const kIOHIDElementTypeKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Type\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcollectiontypekey?language=objc)
pub const kIOHIDElementCollectionTypeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CollectionType\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementusagekey?language=objc)
pub const kIOHIDElementUsageKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Usage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementusagepagekey?language=objc)
pub const kIOHIDElementUsagePageKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsagePage\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementminkey?language=objc)
pub const kIOHIDElementMinKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Min\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementmaxkey?language=objc)
pub const kIOHIDElementMaxKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Max\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementscaledminkey?language=objc)
pub const kIOHIDElementScaledMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ScaledMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementscaledmaxkey?language=objc)
pub const kIOHIDElementScaledMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ScaledMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementsizekey?language=objc)
pub const kIOHIDElementSizeKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Size\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementreportsizekey?language=objc)
pub const kIOHIDElementReportSizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportSize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementreportcountkey?language=objc)
pub const kIOHIDElementReportCountKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportCount\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementreportidkey?language=objc)
pub const kIOHIDElementReportIDKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportID\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementisarraykey?language=objc)
pub const kIOHIDElementIsArrayKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IsArray\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementisrelativekey?language=objc)
pub const kIOHIDElementIsRelativeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IsRelative\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementiswrappingkey?language=objc)
pub const kIOHIDElementIsWrappingKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IsWrapping\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementisnonlinearkey?language=objc)
pub const kIOHIDElementIsNonLinearKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IsNonLinear\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementhaspreferredstatekey?language=objc)
pub const kIOHIDElementHasPreferredStateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HasPreferredState\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementhasnullstatekey?language=objc)
pub const kIOHIDElementHasNullStateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HasNullState\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagskey?language=objc)
pub const kIOHIDElementFlagsKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Flags\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementunitkey?language=objc)
pub const kIOHIDElementUnitKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Unit\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementunitexponentkey?language=objc)
pub const kIOHIDElementUnitExponentKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UnitExponent\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementnamekey?language=objc)
pub const kIOHIDElementNameKey: &CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"Name\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementvaluelocationkey?language=objc)
pub const kIOHIDElementValueLocationKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ValueLocation\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementduplicateindexkey?language=objc)
pub const kIOHIDElementDuplicateIndexKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DuplicateIndex\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementparentcollectionkey?language=objc)
pub const kIOHIDElementParentCollectionKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ParentCollection\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementvariablesizekey?language=objc)
pub const kIOHIDElementVariableSizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"VariableSize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementvendorspecifickey?language=objc)
pub const kIOHIDElementVendorSpecificKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"VendorSpecific\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcookieminkey?language=objc)
pub const kIOHIDElementCookieMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ElementCookieMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcookiemaxkey?language=objc)
pub const kIOHIDElementCookieMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ElementCookieMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementusageminkey?language=objc)
pub const kIOHIDElementUsageMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsageMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementusagemaxkey?language=objc)
pub const kIOHIDElementUsageMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"UsageMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationminkey?language=objc)
pub const kIOHIDElementCalibrationMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationmaxkey?language=objc)
pub const kIOHIDElementCalibrationMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationsaturationminkey?language=objc)
pub const kIOHIDElementCalibrationSaturationMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationSaturationMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationsaturationmaxkey?language=objc)
pub const kIOHIDElementCalibrationSaturationMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationSaturationMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationdeadzoneminkey?language=objc)
pub const kIOHIDElementCalibrationDeadZoneMinKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationDeadZoneMin\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationdeadzonemaxkey?language=objc)
pub const kIOHIDElementCalibrationDeadZoneMaxKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationDeadZoneMax\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementcalibrationgranularitykey?language=objc)
pub const kIOHIDElementCalibrationGranularityKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CalibrationGranularity\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardsupportsesckey?language=objc)
pub const kIOHIDKeyboardSupportsEscKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDKeyboardSupportsEscKey\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardsupportsdonotdisturbkey?language=objc)
pub const kIOHIDKeyboardSupportsDoNotDisturbKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDKeyboardSupportsDoNotDisturbKey\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddigitizergesturecharacterstatekey?language=objc)
pub const kIOHIDDigitizerGestureCharacterStateKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DigitizerCharacterGestureState\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsystembuttonpressedduringdarkboot?language=objc)
pub const kIOHIDSystemButtonPressedDuringDarkBoot: c_uint =
    iokit_family_msg!(sub_iokit_hidsystem, 7);
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardcapslockdelay?language=objc)
pub const kIOHIDKeyboardCapsLockDelay: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"CapsLockDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardejectdelay?language=objc)
pub const kIOHIDKeyboardEjectDelay: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"EjectDelay\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kfnfunctionusagemapkey?language=objc)
pub const kFnFunctionUsageMapKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"FnFunctionUsageMap\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kfnkeyboardusagemapkey?language=objc)
pub const kFnKeyboardUsageMapKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"FnKeyboardUsageMap\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/knumlockkeyboardusagemapkey?language=objc)
pub const kNumLockKeyboardUsageMapKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"NumLockKeyboardUsageMap\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kkeyboardusagemapkey?language=objc)
pub const kKeyboardUsageMapKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"KeyboardUsageMap\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddeviceopenedbyeventsystemkey?language=objc)
pub const kIOHIDDeviceOpenedByEventSystemKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DeviceOpenedByEventSystem\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddevicesuspendkey?language=objc)
pub const kIOHIDDeviceSuspendKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"IOHIDDeviceSuspend\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidmaxreportbuffercountkey?language=objc)
pub const kIOHIDMaxReportBufferCountKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxReportBufferCount\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidreportbufferentrysizekey?language=objc)
pub const kIOHIDReportBufferEntrySizeKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"ReportBufferEntrySize\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsensorpropertyreportintervalkey?language=objc)
pub const kIOHIDSensorPropertyReportIntervalKey: &CStr = kIOHIDReportIntervalKey;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsensorpropertysampleintervalkey?language=objc)
pub const kIOHIDSensorPropertySampleIntervalKey: &CStr = kIOHIDSampleIntervalKey;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsensorpropertybatchintervalkey?language=objc)
pub const kIOHIDSensorPropertyBatchIntervalKey: &CStr = kIOHIDBatchIntervalKey;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsensorpropertyreportlatencykey?language=objc)
pub const kIOHIDSensorPropertyReportLatencyKey: &CStr = kIOHIDSensorPropertyBatchIntervalKey;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidsensorpropertymaxfifoeventskey?language=objc)
pub const kIOHIDSensorPropertyMaxFIFOEventsKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"MaxFIFOEvents\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohiddigitizersurfaceswitchkey?language=objc)
pub const kIOHIDDigitizerSurfaceSwitchKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"DigitizerSurfaceSwitch\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardlayoutvaluekey?language=objc)
pub const kIOHIDKeyboardLayoutValueKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDKeyboardLayoutValue\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationalgorithmkey?language=objc)
pub const kIOHIDPointerAccelerationAlgorithmKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerAccelerationAlgorithm\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidscrollaccelerationalgorithmkey?language=objc)
pub const kIOHIDScrollAccelerationAlgorithmKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDScrollAccelerationAlgorithm\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidpointeraccelerationminimumkey?language=objc)
pub const kIOHIDPointerAccelerationMinimumKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDPointerAccelerationMinimum\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidprimarytrackpadcanbedisabledkey?language=objc)
pub const kIOHIDPrimaryTrackpadCanBeDisabledKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"PrimaryTrackpadCanBeDisabled\0") };
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardfunctionkeycountkey?language=objc)
pub const kIOHIDKeyboardFunctionKeyCountKey: &CStr =
    unsafe { CStr::from_bytes_with_nul_unchecked(b"HIDKeyboardFunctionKeyCount\0") };
/// Describes different type of HID reports.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidreporttype?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDReportType(pub c_uint);
impl IOHIDReportType {
    #[doc(alias = "kIOHIDReportTypeInput")]
    pub const Input: Self = Self(0);
    #[doc(alias = "kIOHIDReportTypeOutput")]
    pub const Output: Self = Self(1);
    #[doc(alias = "kIOHIDReportTypeFeature")]
    pub const Feature: Self = Self(2);
    #[doc(alias = "kIOHIDReportTypeCount")]
    pub const Count: Self = Self(3);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDReportType {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDReportType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Commit direction passed in to the commit() function of an IOHIDElement.
///
/// Field: kIOHIDElementCommitDirectionIn
/// Passing in kIOHIDElementCommitDirectionIn will issue a getReport call to the
/// device, and the element  will be updated with the value retrieved by the
/// device. The value can be accessed via the getValue() or getDataValue()
/// functions.
///
/// Field: kIOHIDElementCommitDirectionOut
/// Passing in kIOHIDElementCommitDirectionOut will issue a setReport call to the
/// device. Before issuing this call, the desired value should be set on the
/// element with the setValue() or setDataValue() functions.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementcommitdirection?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDElementCommitDirection(pub c_uint);
impl IOHIDElementCommitDirection {
    #[doc(alias = "kIOHIDElementCommitDirectionIn")]
    pub const In: Self = Self(0);
    #[doc(alias = "kIOHIDElementCommitDirectionOut")]
    pub const Out: Self = Self(1);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDElementCommitDirection {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDElementCommitDirection {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Abstract data type used as a unique identifier for an element.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementcookie?language=objc)
pub type IOHIDElementCookie = u32;

/// Describes different types of HID elements.
///
///
/// Used by the IOHIDFamily to identify the type of element processed.
/// Represented by the key kIOHIDElementTypeKey in the dictionary describing the
/// element.
///
/// Field: kIOHIDElementTypeInput_Misc
/// Misc input data field or varying size.
///
/// Field: kIOHIDElementTypeInput_Button
/// One bit input data field.
///
/// Field: kIOHIDElementTypeInput_Axis
/// Input data field used to represent an axis.
///
/// Field: kIOHIDElementTypeInput_ScanCodes
/// Input data field used to represent a scan code or usage selector.
///
/// Field: kIOHIDElementTypeInput_NULL
/// Input data field used to represent the end of an input report when receiving
/// input elements.
///
/// Field: kIOHIDElementTypeOutput
/// Used to represent an output data field in a report.
///
/// Field: kIOHIDElementTypeFeature
/// Describes input and output elements not intended for consumption by the end
/// user.
///
/// Field: kIOHIDElementTypeCollection
/// Element used to identify a relationship between two or more elements.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementtype?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDElementType(pub c_uint);
impl IOHIDElementType {
    #[doc(alias = "kIOHIDElementTypeInput_Misc")]
    pub const Input_Misc: Self = Self(1);
    #[doc(alias = "kIOHIDElementTypeInput_Button")]
    pub const Input_Button: Self = Self(2);
    #[doc(alias = "kIOHIDElementTypeInput_Axis")]
    pub const Input_Axis: Self = Self(3);
    #[doc(alias = "kIOHIDElementTypeInput_ScanCodes")]
    pub const Input_ScanCodes: Self = Self(4);
    #[doc(alias = "kIOHIDElementTypeInput_NULL")]
    pub const Input_NULL: Self = Self(5);
    #[doc(alias = "kIOHIDElementTypeOutput")]
    pub const Output: Self = Self(129);
    #[doc(alias = "kIOHIDElementTypeFeature")]
    pub const Feature: Self = Self(257);
    #[doc(alias = "kIOHIDElementTypeCollection")]
    pub const Collection: Self = Self(513);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDElementType {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDElementType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsconstantmask?language=objc)
pub const kIOHIDElementFlagsConstantMask: c_uint = 0x0001;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsvariablemask?language=objc)
pub const kIOHIDElementFlagsVariableMask: c_uint = 0x0002;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsrelativemask?language=objc)
pub const kIOHIDElementFlagsRelativeMask: c_uint = 0x0004;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagswrapmask?language=objc)
pub const kIOHIDElementFlagsWrapMask: c_uint = 0x0008;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsnonlinearmask?language=objc)
pub const kIOHIDElementFlagsNonLinearMask: c_uint = 0x0010;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsnopreferredmask?language=objc)
pub const kIOHIDElementFlagsNoPreferredMask: c_uint = 0x0020;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsnullstatemask?language=objc)
pub const kIOHIDElementFlagsNullStateMask: c_uint = 0x0040;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsvolativemask?language=objc)
pub const kIOHIDElementFlagsVolativeMask: c_uint = 0x0080;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidelementflagsbufferedbytemask?language=objc)
pub const kIOHIDElementFlagsBufferedByteMask: c_uint = 0x0100;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementflags?language=objc)
pub type IOHIDElementFlags = u32;

/// Describes different types of HID collections.
///
///
/// Collections identify a relationship between two or more elements.
///
/// Field: kIOHIDElementCollectionTypePhysical
/// Used for a set of data items that represent data points collected at one
/// geometric point.
///
/// Field: kIOHIDElementCollectionTypeApplication
/// Identifies item groups serving different purposes in a single device.
///
/// Field: kIOHIDElementCollectionTypeLogical
/// Used when a set of data items form a composite data structure.
///
/// Field: kIOHIDElementCollectionTypeReport
/// Wraps all the fields in a report.
///
/// Field: kIOHIDElementCollectionTypeNamedArray
/// Contains an array of selector usages.
///
/// Field: kIOHIDElementCollectionTypeUsageSwitch
/// Modifies the meaning of the usage it contains.
///
/// Field: kIOHIDElementCollectionTypeUsageModifier
/// Modifies the meaning of the usage attached to the encompassing collection.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementcollectiontype?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDElementCollectionType(pub c_uint);
impl IOHIDElementCollectionType {
    #[doc(alias = "kIOHIDElementCollectionTypePhysical")]
    pub const Physical: Self = Self(0x00);
    #[doc(alias = "kIOHIDElementCollectionTypeApplication")]
    pub const Application: Self = Self(1);
    #[doc(alias = "kIOHIDElementCollectionTypeLogical")]
    pub const Logical: Self = Self(2);
    #[doc(alias = "kIOHIDElementCollectionTypeReport")]
    pub const Report: Self = Self(3);
    #[doc(alias = "kIOHIDElementCollectionTypeNamedArray")]
    pub const NamedArray: Self = Self(4);
    #[doc(alias = "kIOHIDElementCollectionTypeUsageSwitch")]
    pub const UsageSwitch: Self = Self(5);
    #[doc(alias = "kIOHIDElementCollectionTypeUsageModifier")]
    pub const UsageModifier: Self = Self(6);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDElementCollectionType {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDElementCollectionType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvaluescaletypecalibrated?language=objc)
pub const kIOHIDValueScaleTypeCalibrated: c_uint = 0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvaluescaletypephysical?language=objc)
pub const kIOHIDValueScaleTypePhysical: c_uint = 1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvaluescaletypeexponent?language=objc)
pub const kIOHIDValueScaleTypeExponent: c_uint = 2;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidvaluescaletype?language=objc)
pub type IOHIDValueScaleType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvalueoptionsflagrelativesimple?language=objc)
pub const kIOHIDValueOptionsFlagRelativeSimple: c_uint = 1 << 0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvalueoptionsflagprevious?language=objc)
pub const kIOHIDValueOptionsFlagPrevious: c_uint = 1 << 1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidvalueoptionsupdateelementvalues?language=objc)
pub const kIOHIDValueOptionsUpdateElementValues: c_uint = 1 << 2;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidvalueoptions?language=objc)
pub type IOHIDValueOptions = u32;

/// Function called when set/get report completes
///
///
/// Parameter `target`: The target specified in the IOHIDCompletion struct.
///
///
/// Parameter `parameter`: The parameter specified in the IOHIDCompletion struct.
///
///
/// Parameter `status`: Completion status
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidcompletionaction?language=objc)
pub type IOHIDCompletionAction =
    Option<unsafe extern "C-unwind" fn(*mut c_void, *mut c_void, IOReturn, u32)>;

/// Struct specifying action to perform when set/get report completes.
///
///
/// The target to pass to the action function.
///
///
/// The function to call.
///
///
/// The parameter to pass to the action function.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidcompletion?language=objc)
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDCompletion {
    pub target: *mut c_void,
    pub action: IOHIDCompletionAction,
    pub parameter: *mut c_void,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDCompletion {
    const ENCODING: Encoding = Encoding::Struct(
        "IOHIDCompletion",
        &[
            <*mut c_void>::ENCODING,
            <IOHIDCompletionAction>::ENCODING,
            <*mut c_void>::ENCODING,
        ],
    );
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDCompletion {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidreportoptionnotinterrupt?language=objc)
pub const kIOHIDReportOptionNotInterrupt: c_uint = 0x100;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidreportoptionvariablesize?language=objc)
pub const kIOHIDReportOptionVariableSize: c_uint = 0x200;

/// Type of the report command for DriverKit driver
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/hidreportcommandtype?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct HIDReportCommandType(pub c_uint);
impl HIDReportCommandType {
    #[doc(alias = "kIOHIDReportCommandSetReport")]
    pub const IOHIDReportCommandSetReport: Self = Self(0);
    #[doc(alias = "kIOHIDReportCommandGetReport")]
    pub const IOHIDReportCommandGetReport: Self = Self(1);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for HIDReportCommandType {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for HIDReportCommandType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidoptionstypenone?language=objc)
pub const kIOHIDOptionsTypeNone: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidoptionstypeseizedevice?language=objc)
pub const kIOHIDOptionsTypeSeizeDevice: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidoptionstypemaskprivate?language=objc)
pub const kIOHIDOptionsTypeMaskPrivate: c_uint = 0xff0000;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidoptionstype?language=objc)
pub type IOHIDOptionsType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidqueueoptionstypenone?language=objc)
pub const kIOHIDQueueOptionsTypeNone: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidqueueoptionstypeenqueueall?language=objc)
pub const kIOHIDQueueOptionsTypeEnqueueAll: c_uint = 0x01;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidqueueoptionstype?language=objc)
pub type IOHIDQueueOptionsType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidstandardtypeansi?language=objc)
pub const kIOHIDStandardTypeANSI: c_uint = 0x0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidstandardtypeiso?language=objc)
pub const kIOHIDStandardTypeISO: c_uint = 0x1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidstandardtypejis?language=objc)
pub const kIOHIDStandardTypeJIS: c_uint = 0x2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidstandardtypeunspecified?language=objc)
pub const kIOHIDStandardTypeUnspecified: c_uint = 0xFFFFFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidstandardtype?language=objc)
pub type IOHIDStandardType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttypeunknown?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutTypeUnknown: c_uint = 0x0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttype101?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutType101: c_uint = 0x1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttype103?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutType103: c_uint = 0x2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttype102?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutType102: c_uint = 0x3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttype104?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutType104: c_uint = 0x4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttype106?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutType106: c_uint = 0x5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidkeyboardphysicallayouttypevendor?language=objc)
pub const kIOHIDKeyboardPhysicalLayoutTypeVendor: c_uint = 0x6;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidkeyboardphysicallayouttype?language=objc)
pub type IOHIDKeyboardPhysicalLayoutType = u32;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidaccelerationalgorithmtypetable?language=objc)
pub const kIOHIDAccelerationAlgorithmTypeTable: c_uint = 0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidaccelerationalgorithmtypeparametric?language=objc)
pub const kIOHIDAccelerationAlgorithmTypeParametric: c_uint = 1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidaccelerationalgorithmtypedefault?language=objc)
pub const kIOHIDAccelerationAlgorithmTypeDefault: c_uint = 2;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidaccelerationalgorithmtype?language=objc)
pub type IOHIDAccelerationAlgorithmType = u8;

/// This is the type of a reference to the IOHIDDevice.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevice?language=objc)
#[doc(alias = "IOHIDDeviceRef")]
#[repr(C)]
pub struct IOHIDDevice {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDDevice {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDDevice"> for IOHIDDevice {}
);

/// This is the type of a reference to the IOHIDElement.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelement?language=objc)
#[doc(alias = "IOHIDElementRef")]
#[repr(C)]
pub struct IOHIDElement {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDElement {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDElement"> for IOHIDElement {}
);

/// This is the type of a reference to the IOHIDValue.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidvalue?language=objc)
#[doc(alias = "IOHIDValueRef")]
#[repr(C)]
pub struct IOHIDValue {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDValue {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDValue"> for IOHIDValue {}
);

/// Direction for an IOHIDDeviceTransactionInterface.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidtransactiondirectiontype?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDTransactionDirectionType(pub u32);
impl IOHIDTransactionDirectionType {
    #[doc(alias = "kIOHIDTransactionDirectionTypeInput")]
    pub const Input: Self = Self(0);
    #[doc(alias = "kIOHIDTransactionDirectionTypeOutput")]
    pub const Output: Self = Self(1);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDTransactionDirectionType {
    const ENCODING: Encoding = u32::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDTransactionDirectionType {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Options to be used in conjuntion with an IOHIDDeviceTransactionInterface.
///
/// IOHIDDeviceTransactionInterface of direction kIOHIDTransactionDirectionTypeOutput.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/kiohidtransactionoptiondefaultoutputvalue?language=objc)
pub static kIOHIDTransactionOptionDefaultOutputValue: IOOptionBits = 0x0001;

/// Type and arguments of callout C function that is used when a completion routine is called.
///
/// Parameter `context`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidcallback?language=objc)
pub type IOHIDCallback = Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void)>;

/// Type and arguments of callout C function that is used when a HID report completion routine is called.
///
/// Parameter `context`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `type`: The type of the report that was completed.
///
/// Parameter `reportID`: The ID of the report that was completed.
///
/// Parameter `report`: Pointer to the buffer containing the contents of the report.
///
/// Parameter `reportLength`: Size of the buffer received upon completion.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidreportcallback?language=objc)
pub type IOHIDReportCallback = Option<
    unsafe extern "C-unwind" fn(
        *mut c_void,
        IOReturn,
        *mut c_void,
        IOHIDReportType,
        u32,
        NonNull<u8>,
        CFIndex,
    ),
>;

/// Type and arguments of callout C function that is used when a HID report completion routine is called.
///
/// Parameter `context`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `type`: The type of the report that was completed.
///
/// Parameter `reportID`: The ID of the report that was completed.
///
/// Parameter `report`: Pointer to the buffer containing the contents of the report.
///
/// Parameter `reportLength`: Size of the buffer received upon completion.
///
/// Parameter `timeStamp`: The time at which the report arrived.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidreportwithtimestampcallback?language=objc)
pub type IOHIDReportWithTimeStampCallback = Option<
    unsafe extern "C-unwind" fn(
        *mut c_void,
        IOReturn,
        *mut c_void,
        IOHIDReportType,
        u32,
        NonNull<u8>,
        CFIndex,
        u64,
    ),
>;

/// Type and arguments of callout C function that is used when an element value completion routine is called.
///
/// Parameter `context`: void * pointer to more data.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `value`: IOHIDValueRef containing the returned element value.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidvaluecallback?language=objc)
pub type IOHIDValueCallback =
    Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, NonNull<IOHIDValue>)>;

/// Type and arguments of callout C function that is used when an element value completion routine is called.
///
/// Parameter `context`: void * pointer to more data.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `multiple`: CFDictionaryRef containing the returned element key value pairs.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidvaluemultiplecallback?language=objc)
pub type IOHIDValueMultipleCallback =
    Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, NonNull<CFDictionary>)>;

/// Type and arguments of callout C function that is used when a device routine is called.
///
/// Parameter `context`: void * pointer to more data.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `device`: IOHIDDeviceRef containing the sending device.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicecallback?language=objc)
pub type IOHIDDeviceCallback =
    Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, NonNull<IOHIDDevice>)>;

/// This is the type of a reference to the IOHIDQueue.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidqueue?language=objc)
#[doc(alias = "IOHIDQueueRef")]
#[repr(C)]
pub struct IOHIDQueue {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDQueue {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDQueue"> for IOHIDQueue {}
);

unsafe impl ConcreteType for IOHIDQueue {
    /// Returns the type identifier of all IOHIDQueue instances.
    #[doc(alias = "IOHIDQueueGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDQueueGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDQueueGetTypeID() }
    }
}

impl IOHIDQueue {
    /// Creates an IOHIDQueue object for the specified device.
    ///
    /// Take care in specifying an appropriate depth to prevent dropping
    /// events.
    ///
    /// Parameter `allocator`: Allocator to be used during creation.
    ///
    /// Parameter `device`: IOHIDDevice object
    ///
    /// Parameter `depth`: The number of values that can be handled by the queue.
    ///
    /// Parameter `options`: Reserved for future use.
    ///
    /// Returns: Returns a new IOHIDQueueRef.
    #[doc(alias = "IOHIDQueueCreate")]
    #[inline]
    pub fn new(
        allocator: Option<&CFAllocator>,
        device: &IOHIDDevice,
        depth: CFIndex,
        options: IOOptionBits,
    ) -> Option<CFRetained<IOHIDQueue>> {
        extern "C-unwind" {
            fn IOHIDQueueCreate(
                allocator: Option<&CFAllocator>,
                device: &IOHIDDevice,
                depth: CFIndex,
                options: IOOptionBits,
            ) -> Option<NonNull<IOHIDQueue>>;
        }
        let ret = unsafe { IOHIDQueueCreate(allocator, device, depth, options) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Obtain the device associated with the queue.
    ///
    /// Parameter `queue`: IOHIDQueue to be queried.
    ///
    /// Returns: Returns the a reference to the device.
    #[doc(alias = "IOHIDQueueGetDevice")]
    #[inline]
    pub fn device(&self) -> CFRetained<IOHIDDevice> {
        extern "C-unwind" {
            fn IOHIDQueueGetDevice(queue: &IOHIDQueue) -> Option<NonNull<IOHIDDevice>>;
        }
        let ret = unsafe { IOHIDQueueGetDevice(self) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::retain(ret) }
    }

    /// Obtain the depth of the queue.
    ///
    /// Parameter `queue`: IOHIDQueue to be queried.
    ///
    /// Returns: Returns the queue depth.
    #[doc(alias = "IOHIDQueueGetDepth")]
    #[inline]
    pub fn depth(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDQueueGetDepth(queue: &IOHIDQueue) -> CFIndex;
        }
        unsafe { IOHIDQueueGetDepth(self) }
    }

    /// Sets the depth of the queue.
    ///
    /// Set the appropriate depth value based on the number of elements
    /// contained in a queue.
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `depth`: The new queue depth.
    #[doc(alias = "IOHIDQueueSetDepth")]
    #[inline]
    pub fn set_depth(&self, depth: CFIndex) {
        extern "C-unwind" {
            fn IOHIDQueueSetDepth(queue: &IOHIDQueue, depth: CFIndex);
        }
        unsafe { IOHIDQueueSetDepth(self, depth) }
    }

    /// Adds an element to the queue
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `element`: Element to be added to the queue.
    #[doc(alias = "IOHIDQueueAddElement")]
    #[inline]
    pub fn add_element(&self, element: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDQueueAddElement(queue: &IOHIDQueue, element: &IOHIDElement);
        }
        unsafe { IOHIDQueueAddElement(self, element) }
    }

    /// Removes an element from the queue
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `element`: Element to be removed from the queue.
    #[doc(alias = "IOHIDQueueRemoveElement")]
    #[inline]
    pub fn remove_element(&self, element: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDQueueRemoveElement(queue: &IOHIDQueue, element: &IOHIDElement);
        }
        unsafe { IOHIDQueueRemoveElement(self, element) }
    }

    /// Queries the queue to determine if elemement has been added.
    ///
    /// Parameter `queue`: IOHIDQueue object to be queried.
    ///
    /// Parameter `element`: Element to be queried.
    ///
    /// Returns: Returns true or false depending if element is present.
    #[doc(alias = "IOHIDQueueContainsElement")]
    #[inline]
    pub fn contains_element(&self, element: &IOHIDElement) -> bool {
        extern "C-unwind" {
            fn IOHIDQueueContainsElement(queue: &IOHIDQueue, element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDQueueContainsElement(self, element) };
        ret != 0
    }

    /// Starts element value delivery to the queue.
    ///
    /// When a dispatch queue is assocaited with the IOHIDQueue
    /// via IOHIDQueueSetDispatchQueue, the queue does not need
    /// to be explicity started, this will be done during activation
    /// when IOHIDQueueActivate is called.
    ///
    /// Parameter `queue`: IOHIDQueue object to be started.
    #[doc(alias = "IOHIDQueueStart")]
    #[inline]
    pub fn start(&self) {
        extern "C-unwind" {
            fn IOHIDQueueStart(queue: &IOHIDQueue);
        }
        unsafe { IOHIDQueueStart(self) }
    }

    /// Stops element value delivery to the queue.
    ///
    /// When a dispatch queue is assocaited with the IOHIDQueue
    /// via IOHIDQueueSetDispatchQueue, the queue does not need
    /// to be explicity stopped, this will be done during cancellation
    /// when IOHIDQueueCancel is called.
    ///
    /// Parameter `queue`: IOHIDQueue object to be stopped.
    #[doc(alias = "IOHIDQueueStop")]
    #[inline]
    pub fn stop(&self) {
        extern "C-unwind" {
            fn IOHIDQueueStop(queue: &IOHIDQueue);
        }
        unsafe { IOHIDQueueStop(self) }
    }

    /// Schedules queue with run loop.
    ///
    /// Formally associates queue with client's run loop. Scheduling
    /// this queue with the run loop is necessary before making
    /// use of any asynchronous APIs.
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDQueueScheduleWithRunLoop")]
    #[inline]
    pub unsafe fn schedule_with_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDQueueScheduleWithRunLoop(
                queue: &IOHIDQueue,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDQueueScheduleWithRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Unschedules queue with run loop.
    ///
    /// Formally disassociates queue with client's run loop.
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDQueueUnscheduleFromRunLoop")]
    #[inline]
    pub unsafe fn unschedule_from_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDQueueUnscheduleFromRunLoop(
                queue: &IOHIDQueue,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDQueueUnscheduleFromRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Sets the dispatch queue to be associated with the IOHIDQueue.
    /// This is necessary in order to receive asynchronous events from the kernel.
    ///
    ///
    /// An IOHIDQueue should not be associated with both a runloop and
    /// dispatch queue. A call to IOHIDQueueSetDispatchQueue should only be made once.
    ///
    /// After a dispatch queue is set, the IOHIDQueue must make a call to activate
    /// via IOHIDQueueActivate and cancel via IOHIDQueueCancel. All calls to "Register"
    /// functions should be done before activation and not after cancellation.
    ///
    ///
    /// Parameter `queue`: Reference to an IOHIDQueue
    ///
    ///
    /// Parameter `dispatchQueue`: The dispatch queue to which the event handler block will be submitted.
    ///
    /// # Safety
    ///
    /// `dispatch_queue` possibly has additional threading requirements.
    #[doc(alias = "IOHIDQueueSetDispatchQueue")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_dispatch_queue(&self, dispatch_queue: &DispatchQueue) {
        extern "C-unwind" {
            fn IOHIDQueueSetDispatchQueue(queue: &IOHIDQueue, dispatch_queue: &DispatchQueue);
        }
        unsafe { IOHIDQueueSetDispatchQueue(self, dispatch_queue) }
    }

    /// Sets a cancellation handler for the dispatch queue associated with
    /// IOHIDQueueSetDispatchQueue.
    ///
    ///
    /// The cancellation handler (if specified) will be will be submitted to the
    /// queue's dispatch queue in response to a call to IOHIDQueueCancel after all
    /// the events have been handled.
    ///
    /// IOHIDQueueSetCancelHandler should not be used when scheduling with
    /// a run loop.
    ///
    /// The IOHIDQueueRef should only be released after the queue has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    ///
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(queue);
    /// });
    /// IOHIDQueueSetCancelHandler(queue, cancelHandler);
    /// IOHIDQueueActivate(queue);
    /// IOHIDQueueCancel(queue);
    ///
    ///
    /// Parameter `queue`: Reference to an IOHIDQueue.
    ///
    ///
    /// Parameter `handler`: The cancellation handler block to be associated with the dispatch queue.
    ///
    /// # Safety
    ///
    /// `handler` must be a valid pointer.
    #[doc(alias = "IOHIDQueueSetCancelHandler")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_cancel_handler(&self, handler: dispatch_block_t) {
        extern "C-unwind" {
            fn IOHIDQueueSetCancelHandler(queue: &IOHIDQueue, handler: dispatch_block_t);
        }
        unsafe { IOHIDQueueSetCancelHandler(self, handler) }
    }

    /// Activates the IOHIDQueue object.
    ///
    ///
    /// An IOHIDQueue object associated with a dispatch queue is created
    /// in an inactive state. The object must be activated in order to
    /// receive asynchronous events from the kernel.
    ///
    /// A dispatch queue must be set via IOHIDQueueSetDispatchQueue before
    /// activation.
    ///
    /// An activated queue must be cancelled via IOHIDQueueCancel. All calls
    /// to "Register" functions should be done before activation
    /// and not after cancellation.
    ///
    /// Calling IOHIDQueueActivate on an active IOHIDQueue has no effect.
    ///
    ///
    /// Parameter `queue`: Reference to an IOHIDQueue
    #[doc(alias = "IOHIDQueueActivate")]
    #[inline]
    pub fn activate(&self) {
        extern "C-unwind" {
            fn IOHIDQueueActivate(queue: &IOHIDQueue);
        }
        unsafe { IOHIDQueueActivate(self) }
    }

    /// Cancels the IOHIDQueue preventing any further invocation
    /// of its event handler block.
    ///
    ///
    /// Cancelling prevents any further invocation of the event handler block for
    /// the specified dispatch queue, but does not interrupt an event handler
    /// block that is already in progress.
    ///
    /// Explicit cancellation of the IOHIDQueue is required, no implicit
    /// cancellation takes place.
    ///
    /// Calling IOHIDQueueCancel on an already cancelled queue has no effect.
    ///
    /// The IOHIDQueueRef should only be released after the queue has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    ///
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(queue);
    /// });
    /// IOHIDQueueSetCancelHandler(queue, cancelHandler);
    /// IOHIDQueueActivate(queue);
    /// IOHIDQueueCancel(queue);
    ///
    ///
    /// Parameter `queue`: Reference to an IOHIDQueue
    #[doc(alias = "IOHIDQueueCancel")]
    #[inline]
    pub fn cancel(&self) {
        extern "C-unwind" {
            fn IOHIDQueueCancel(queue: &IOHIDQueue);
        }
        unsafe { IOHIDQueueCancel(self) }
    }

    /// Sets callback to be used when the queue transitions to non-empty.
    ///
    /// In order to make use of asynchronous behavior, the queue needs
    /// to be scheduled with the run loop or dispatch queue.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `queue`: IOHIDQueue object to be modified.
    ///
    /// Parameter `callback`: Callback of type IOHIDCallback to be used when data is
    /// placed on the queue.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDQueueRegisterValueAvailableCallback")]
    #[inline]
    pub unsafe fn register_value_available_callback(
        &self,
        callback: IOHIDCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDQueueRegisterValueAvailableCallback(
                queue: &IOHIDQueue,
                callback: IOHIDCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDQueueRegisterValueAvailableCallback(self, callback, context) }
    }

    /// Dequeues a retained copy of an element value from the head of an
    /// IOHIDQueue.
    ///
    /// Because the value is a retained copy, it is up to the caller to
    /// release the value using CFRelease. Use with setValueCallback to
    /// avoid polling the queue for data.
    ///
    /// Parameter `queue`: IOHIDQueue object to be queried.
    ///
    /// Returns: Returns valid IOHIDValueRef if data is available.
    #[doc(alias = "IOHIDQueueCopyNextValue")]
    #[inline]
    pub fn next_value(&self) -> Option<CFRetained<IOHIDValue>> {
        extern "C-unwind" {
            fn IOHIDQueueCopyNextValue(queue: &IOHIDQueue) -> Option<NonNull<IOHIDValue>>;
        }
        let ret = unsafe { IOHIDQueueCopyNextValue(self) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Dequeues a retained copy of an element value from the head of an
    /// IOHIDQueue.  This method will block until either a value is
    /// available or it times out.
    ///
    /// Because the value is a retained copy, it is up to the caller to
    /// release the value using CFRelease. Use with setValueCallback to
    /// avoid polling the queue for data.
    ///
    /// Parameter `queue`: IOHIDQueue object to be queried.
    ///
    /// Parameter `timeout`: Timeout before aborting an attempt to dequeue a value
    /// from the head of a queue.
    ///
    /// Returns: Returns valid IOHIDValueRef if data is available.
    #[doc(alias = "IOHIDQueueCopyNextValueWithTimeout")]
    #[inline]
    pub fn next_value_with_timeout(
        &self,
        timeout: CFTimeInterval,
    ) -> Option<CFRetained<IOHIDValue>> {
        extern "C-unwind" {
            fn IOHIDQueueCopyNextValueWithTimeout(
                queue: &IOHIDQueue,
                timeout: CFTimeInterval,
            ) -> Option<NonNull<IOHIDValue>>;
        }
        let ret = unsafe { IOHIDQueueCopyNextValueWithTimeout(self, timeout) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }
}

unsafe impl ConcreteType for IOHIDDevice {
    /// Returns the type identifier of all IOHIDDevice instances.
    #[doc(alias = "IOHIDDeviceGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDDeviceGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDDeviceGetTypeID() }
    }
}

impl IOHIDDevice {
    /// Creates an element from an io_service_t.
    ///
    /// The io_service_t passed in this method must reference an object
    /// in the kernel of type IOHIDDevice.
    ///
    /// Parameter `allocator`: Allocator to be used during creation.
    ///
    /// Parameter `service`: Reference to service object in the kernel.
    ///
    /// Returns: Returns a new IOHIDDeviceRef.
    #[doc(alias = "IOHIDDeviceCreate")]
    #[cfg(feature = "libc")]
    #[inline]
    pub fn new(
        allocator: Option<&CFAllocator>,
        service: io_service_t,
    ) -> Option<CFRetained<IOHIDDevice>> {
        extern "C-unwind" {
            fn IOHIDDeviceCreate(
                allocator: Option<&CFAllocator>,
                service: io_service_t,
            ) -> Option<NonNull<IOHIDDevice>>;
        }
        let ret = unsafe { IOHIDDeviceCreate(allocator, service) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Returns the io_service_t for an IOHIDDevice, if it has one.
    ///
    /// If the IOHIDDevice references an object in the kernel, this is
    /// used to get the io_service_t for that object.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Returns: Returns the io_service_t if the IOHIDDevice has one, or
    /// MACH_PORT_NULL if it does not.
    #[doc(alias = "IOHIDDeviceGetService")]
    #[cfg(feature = "libc")]
    #[inline]
    pub fn service(&self) -> io_service_t {
        extern "C-unwind" {
            fn IOHIDDeviceGetService(device: &IOHIDDevice) -> io_service_t;
        }
        unsafe { IOHIDDeviceGetService(self) }
    }

    /// Opens a HID device for communication.
    ///
    /// Before the client can issue commands that change the state of
    /// the device, it must have succeeded in opening the device. This
    /// establishes a link between the client's task and the actual
    /// device.  To establish an exclusive link use the
    /// kIOHIDOptionsTypeSeizeDevice option.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `options`: Option bits to be sent down to the device.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    #[doc(alias = "IOHIDDeviceOpen")]
    #[inline]
    pub fn open(&self, options: IOOptionBits) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceOpen(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn;
        }
        unsafe { IOHIDDeviceOpen(self, options) }
    }

    /// Closes communication with a HID device.
    ///
    /// This closes a link between the client's task and the actual
    /// device.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `options`: Option bits to be sent down to the device.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    #[doc(alias = "IOHIDDeviceClose")]
    #[inline]
    pub fn close(&self, options: IOOptionBits) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceClose(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn;
        }
        unsafe { IOHIDDeviceClose(self, options) }
    }

    /// Convenience function that scans the Application Collection
    /// elements to see if it conforms to the provided usagePage
    /// and usage.
    ///
    /// Examples of Application Collection usages pairs are:
    /// <br>
    /// usagePage = kHIDPage_GenericDesktop
    /// <br>
    /// usage = kHIDUsage_GD_Mouse
    /// <br>
    /// <b>
    /// or
    /// </b>
    /// <br>
    /// usagePage = kHIDPage_GenericDesktop
    /// <br>
    /// usage = kHIDUsage_GD_Keyboard
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `usagePage`: Device usage page
    ///
    /// Parameter `usage`: Device usage
    ///
    /// Returns: Returns TRUE if device conforms to provided usage.
    #[doc(alias = "IOHIDDeviceConformsTo")]
    #[inline]
    pub fn conforms_to(&self, usage_page: u32, usage: u32) -> bool {
        extern "C-unwind" {
            fn IOHIDDeviceConformsTo(device: &IOHIDDevice, usage_page: u32, usage: u32) -> Boolean;
        }
        let ret = unsafe { IOHIDDeviceConformsTo(self, usage_page, usage) };
        ret != 0
    }

    /// Obtains a property from an IOHIDDevice.
    ///
    /// Property keys are prefixed by kIOHIDDevice and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `key`: CFStringRef containing key to be used when querying the
    /// device.
    ///
    /// Returns: Returns CFTypeRef containing the property.
    #[doc(alias = "IOHIDDeviceGetProperty")]
    #[inline]
    pub fn property(&self, key: &CFString) -> Option<CFRetained<CFType>> {
        extern "C-unwind" {
            fn IOHIDDeviceGetProperty(
                device: &IOHIDDevice,
                key: &CFString,
            ) -> Option<NonNull<CFType>>;
        }
        let ret = unsafe { IOHIDDeviceGetProperty(self, key) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Sets a property for an IOHIDDevice.
    ///
    /// Property keys are prefixed by kIOHIDDevice and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `key`: CFStringRef containing key to be used when modifiying the
    /// device property.
    ///
    /// Parameter `property`: CFTypeRef containg the property to be set.
    ///
    /// Returns: Returns TRUE if successful.
    ///
    /// # Safety
    ///
    /// `property` should be of the correct type.
    #[doc(alias = "IOHIDDeviceSetProperty")]
    #[inline]
    pub unsafe fn set_property(&self, key: &CFString, property: &CFType) -> bool {
        extern "C-unwind" {
            fn IOHIDDeviceSetProperty(
                device: &IOHIDDevice,
                key: &CFString,
                property: &CFType,
            ) -> Boolean;
        }
        let ret = unsafe { IOHIDDeviceSetProperty(self, key, property) };
        ret != 0
    }

    /// Obtains HID elements that match the criteria contained in the
    /// matching dictionary.
    ///
    /// Matching keys are prefixed by kIOHIDElement and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>. Passing a NULL dictionary will result
    /// in all device elements being returned.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `matching`: CFDictionaryRef containg element matching criteria.
    ///
    /// Parameter `options`: Reserved for future use.
    ///
    /// Returns: Returns CFArrayRef containing multiple IOHIDElement object.
    ///
    /// # Safety
    ///
    /// `matching` generics must be of the correct type.
    #[doc(alias = "IOHIDDeviceCopyMatchingElements")]
    #[inline]
    pub unsafe fn matching_elements(
        &self,
        matching: Option<&CFDictionary>,
        options: IOOptionBits,
    ) -> Option<CFRetained<CFArray>> {
        extern "C-unwind" {
            fn IOHIDDeviceCopyMatchingElements(
                device: &IOHIDDevice,
                matching: Option<&CFDictionary>,
                options: IOOptionBits,
            ) -> Option<NonNull<CFArray>>;
        }
        let ret = unsafe { IOHIDDeviceCopyMatchingElements(self, matching, options) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Schedules HID device with run loop.
    ///
    /// Formally associates device with client's run loop. Scheduling
    /// this device with the run loop is necessary before making use of
    /// any asynchronous APIs.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDDeviceScheduleWithRunLoop")]
    #[inline]
    pub unsafe fn schedule_with_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDDeviceScheduleWithRunLoop(
                device: &IOHIDDevice,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDDeviceScheduleWithRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Unschedules HID device with run loop.
    ///
    /// Formally disassociates device with client's run loop.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `runLoop`: RunLoop to be used when unscheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when unscheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDDeviceUnscheduleFromRunLoop")]
    #[inline]
    pub unsafe fn unschedule_from_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDDeviceUnscheduleFromRunLoop(
                device: &IOHIDDevice,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDDeviceUnscheduleFromRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Sets the dispatch queue to be associated with the IOHIDDevice.
    /// This is necessary in order to receive asynchronous events from the kernel.
    ///
    /// An IOHIDDevice should not be associated with both a runloop and
    /// dispatch queue. A call to IOHIDDeviceSetDispatchQueue should only be made once.
    /// After a dispatch queue is set, the IOHIDDevice must make a call to activate
    /// via IOHIDDeviceActivate and cancel via IOHIDDeviceCancel. All calls to "Register"
    /// functions should be done before activation and not after cancellation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice
    ///
    /// Parameter `queue`: The dispatch queue to which the event handler block will be submitted.
    ///
    /// # Safety
    ///
    /// `queue` possibly has additional threading requirements.
    #[doc(alias = "IOHIDDeviceSetDispatchQueue")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_dispatch_queue(&self, queue: &DispatchQueue) {
        extern "C-unwind" {
            fn IOHIDDeviceSetDispatchQueue(device: &IOHIDDevice, queue: &DispatchQueue);
        }
        unsafe { IOHIDDeviceSetDispatchQueue(self, queue) }
    }

    /// Sets a cancellation handler for the dispatch queue associated with
    /// IOHIDDeviceSetDispatchQueue.
    ///
    /// The cancellation handler (if specified) will be will be submitted to the
    /// device's dispatch queue in response to a call to IOHIDDeviceCancel after
    /// all the events have been handled.
    /// IOHIDDeviceSetCancelHandler should not be used when scheduling with
    /// a run loop.
    /// The IOHIDDeviceRef should only be released after the device has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(device);
    /// });
    /// IOHIDDeviceSetCancelHandler(device, cancelHandler);
    /// IOHIDDeviceActivate(device);
    /// IOHIDDeviceCancel(device);
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `handler`: The cancellation handler block to be associated with the dispatch queue.
    ///
    /// # Safety
    ///
    /// `handler` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceSetCancelHandler")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_cancel_handler(&self, handler: dispatch_block_t) {
        extern "C-unwind" {
            fn IOHIDDeviceSetCancelHandler(device: &IOHIDDevice, handler: dispatch_block_t);
        }
        unsafe { IOHIDDeviceSetCancelHandler(self, handler) }
    }

    /// Activates the IOHIDDevice object.
    ///
    /// An IOHIDDevice object associated with a dispatch queue is created
    /// in an inactive state. The object must be activated in order to
    /// receive asynchronous events from the kernel.
    /// A dispatch queue must be set via IOHIDDeviceSetDispatchQueue before
    /// activation.
    /// An activated device must be cancelled via IOHIDDeviceCancel. All calls
    /// to "Register" functions should be done before activation
    /// and not after cancellation.
    /// Calling IOHIDDeviceActivate on an active IOHIDDevice has no effect.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice
    #[doc(alias = "IOHIDDeviceActivate")]
    #[inline]
    pub fn activate(&self) {
        extern "C-unwind" {
            fn IOHIDDeviceActivate(device: &IOHIDDevice);
        }
        unsafe { IOHIDDeviceActivate(self) }
    }

    /// Cancels the IOHIDDevice preventing any further invocation
    /// of its event handler block.
    ///
    /// Cancelling prevents any further invocation of the event handler block for
    /// the specified dispatch queue, but does not interrupt an event handler
    /// block that is already in progress.
    /// Explicit cancellation of the IOHIDDevice is required, no implicit
    /// cancellation takes place.
    /// Calling IOHIDDeviceCancel on an already cancelled queue has no effect.
    /// The IOHIDDeviceRef should only be released after the device has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(device);
    /// });
    /// IOHIDDeviceSetCancelHandler(device, cancelHandler);
    /// IOHIDDeviceActivate(device);
    /// IOHIDDeviceCancel(device);
    ///
    /// Parameter `device`: Reference to an IOHIDDevice
    #[doc(alias = "IOHIDDeviceCancel")]
    #[inline]
    pub fn cancel(&self) {
        extern "C-unwind" {
            fn IOHIDDeviceCancel(device: &IOHIDDevice);
        }
        unsafe { IOHIDDeviceCancel(self) }
    }

    /// Registers a callback to be used when a IOHIDDevice is removed.
    ///
    /// In most cases this occurs when a device is unplugged.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `callback`: Pointer to a callback method of type IOHIDCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceRegisterRemovalCallback")]
    #[inline]
    pub unsafe fn register_removal_callback(&self, callback: IOHIDCallback, context: *mut c_void) {
        extern "C-unwind" {
            fn IOHIDDeviceRegisterRemovalCallback(
                device: &IOHIDDevice,
                callback: IOHIDCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDDeviceRegisterRemovalCallback(self, callback, context) }
    }

    /// Registers a callback to be used when an input value is issued by
    /// the device.
    ///
    /// An input element refers to any element of type
    /// kIOHIDElementTypeInput and is usually issued by interrupt driven
    /// reports. If more specific element values are desired, you can
    /// specify matching criteria via IOHIDDeviceSetInputValueMatching
    /// and IOHIDDeviceSetInputValueMatchingMultiple.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `callback`: Pointer to a callback method of type IOHIDValueCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceRegisterInputValueCallback")]
    #[inline]
    pub unsafe fn register_input_value_callback(
        &self,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDDeviceRegisterInputValueCallback(
                device: &IOHIDDevice,
                callback: IOHIDValueCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDDeviceRegisterInputValueCallback(self, callback, context) }
    }

    /// Registers a callback to be used when an input report is issued
    /// by the device.
    ///
    /// An input report is an interrupt driver report issued by the
    /// device.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `report`: Pointer to preallocated buffer in which to copy inbound
    /// report data.
    ///
    /// Parameter `reportLength`: Length of preallocated buffer.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDReportCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `report` must be a valid pointer.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceRegisterInputReportCallback")]
    #[inline]
    pub unsafe fn register_input_report_callback(
        &self,
        report: NonNull<u8>,
        report_length: CFIndex,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDDeviceRegisterInputReportCallback(
                device: &IOHIDDevice,
                report: NonNull<u8>,
                report_length: CFIndex,
                callback: IOHIDReportCallback,
                context: *mut c_void,
            );
        }
        unsafe {
            IOHIDDeviceRegisterInputReportCallback(self, report, report_length, callback, context)
        }
    }

    /// Registers a timestamped callback to be used when an input report is issued
    /// by the device.
    ///
    /// An input report is an interrupt driver report issued by the
    /// device.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `report`: Pointer to preallocated buffer in which to copy inbound
    /// report data.
    ///
    /// Parameter `reportLength`: Length of preallocated buffer.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDReportWithTimeStampCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `report` must be a valid pointer.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceRegisterInputReportWithTimeStampCallback")]
    #[inline]
    pub unsafe fn register_input_report_with_time_stamp_callback(
        &self,
        report: NonNull<u8>,
        report_length: CFIndex,
        callback: IOHIDReportWithTimeStampCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDDeviceRegisterInputReportWithTimeStampCallback(
                device: &IOHIDDevice,
                report: NonNull<u8>,
                report_length: CFIndex,
                callback: IOHIDReportWithTimeStampCallback,
                context: *mut c_void,
            );
        }
        unsafe {
            IOHIDDeviceRegisterInputReportWithTimeStampCallback(
                self,
                report,
                report_length,
                callback,
                context,
            )
        }
    }

    /// Sets matching criteria for input values received via
    /// IOHIDDeviceRegisterInputValueCallback.
    ///
    /// Matching keys are prefixed by kIOHIDElement and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>. Passing a NULL dictionary will result
    /// in all devices being enumerated. Any subsequent calls will cause
    /// the hid manager to release previously matched input elements and
    /// restart the matching process using the revised criteria. If
    /// interested in multiple, specific device elements, please defer to
    /// using IOHIDDeviceSetInputValueMatchingMultiple.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `matching`: CFDictionaryRef containg device matching criteria.
    ///
    /// # Safety
    ///
    /// `matching` generics must be of the correct type.
    #[doc(alias = "IOHIDDeviceSetInputValueMatching")]
    #[inline]
    pub unsafe fn set_input_value_matching(&self, matching: Option<&CFDictionary>) {
        extern "C-unwind" {
            fn IOHIDDeviceSetInputValueMatching(
                device: &IOHIDDevice,
                matching: Option<&CFDictionary>,
            );
        }
        unsafe { IOHIDDeviceSetInputValueMatching(self, matching) }
    }

    /// Sets multiple matching criteria for input values received via
    /// IOHIDDeviceRegisterInputValueCallback.
    ///
    /// Matching keys are prefixed by kIOHIDElement and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>. This method is useful if interested
    /// in multiple, specific elements.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `multiple`: CFArrayRef containing multiple CFDictionaryRef objects
    /// containg input element matching criteria.
    ///
    /// # Safety
    ///
    /// `multiple` generic must be of the correct type.
    #[doc(alias = "IOHIDDeviceSetInputValueMatchingMultiple")]
    #[inline]
    pub unsafe fn set_input_value_matching_multiple(&self, multiple: Option<&CFArray>) {
        extern "C-unwind" {
            fn IOHIDDeviceSetInputValueMatchingMultiple(
                device: &IOHIDDevice,
                multiple: Option<&CFArray>,
            );
        }
        unsafe { IOHIDDeviceSetInputValueMatchingMultiple(self, multiple) }
    }

    /// Sets a value for an element.
    ///
    /// This method behaves synchronously and will block until the
    /// report has been issued to the device. It is only relevent for
    /// either output or feature type elements. If setting values for
    /// multiple elements you may want to consider using
    /// IOHIDDeviceSetValueMultiple or IOHIDTransaction.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `element`: IOHIDElementRef whose value is to be modified.
    ///
    /// Parameter `value`: IOHIDValueRef containing value to be set.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    #[doc(alias = "IOHIDDeviceSetValue")]
    #[inline]
    pub fn set_value(&self, element: &IOHIDElement, value: &IOHIDValue) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetValue(
                device: &IOHIDDevice,
                element: &IOHIDElement,
                value: &IOHIDValue,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceSetValue(self, element, value) }
    }

    /// Sets multiple values for multiple elements.
    ///
    /// This method behaves synchronously and will block until the
    /// report has been issued to the device. It is only relevent for
    /// either output or feature type elements.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `multiple`: CFDictionaryRef where key is IOHIDElementRef and
    /// value is IOHIDValueRef.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// `multiple` generics must be of the correct type.
    #[doc(alias = "IOHIDDeviceSetValueMultiple")]
    #[inline]
    pub unsafe fn set_value_multiple(&self, multiple: &CFDictionary) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetValueMultiple(
                device: &IOHIDDevice,
                multiple: &CFDictionary,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceSetValueMultiple(self, multiple) }
    }

    /// Sets a value for an element.
    ///
    /// This method currently only behaves synchronously and will not
    /// invoke the callback. It is only relevent for either output or
    /// feature type elements. If setting values for multiple elements
    /// you may want to consider using
    /// IOHIDDeviceSetValueMultipleWithCallback or IOHIDTransaction.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `element`: IOHIDElementRef whose value is to be modified.
    ///
    /// Parameter `value`: IOHIDValueRef containing value to be set.
    ///
    /// Parameter `timeout`: Currently unused.
    ///
    /// Parameter `callback`: Currently unused.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceSetValueWithCallback")]
    #[inline]
    pub unsafe fn set_value_with_callback(
        &self,
        element: &IOHIDElement,
        value: &IOHIDValue,
        timeout: CFTimeInterval,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetValueWithCallback(
                device: &IOHIDDevice,
                element: &IOHIDElement,
                value: &IOHIDValue,
                timeout: CFTimeInterval,
                callback: IOHIDValueCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceSetValueWithCallback(self, element, value, timeout, callback, context) }
    }

    /// Sets multiple values for multiple elements and returns status
    /// via a completion callback.
    ///
    /// This method behaves asynchronously and will invoke the callback
    /// once the report has been issued to the device. It is only
    /// relevent for either output or feature type elements.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `multiple`: CFDictionaryRef where key is IOHIDElementRef and
    /// value is IOHIDValueRef.
    ///
    /// Parameter `timeout`: CFTimeInterval containing the timeout in milliseconds.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDValueMultipleCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `multiple` generics must be of the correct type.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceSetValueMultipleWithCallback")]
    #[inline]
    pub unsafe fn set_value_multiple_with_callback(
        &self,
        multiple: &CFDictionary,
        timeout: CFTimeInterval,
        callback: IOHIDValueMultipleCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetValueMultipleWithCallback(
                device: &IOHIDDevice,
                multiple: &CFDictionary,
                timeout: CFTimeInterval,
                callback: IOHIDValueMultipleCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe {
            IOHIDDeviceSetValueMultipleWithCallback(self, multiple, timeout, callback, context)
        }
    }

    /// Gets a value for an element.
    ///
    /// This method behaves synchronously and returns immediately
    /// for input type elements. If requesting a value for a feature
    /// element, this will block until the report has been issued to the
    /// device. If obtaining values for multiple elements you may want
    /// to consider using IOHIDDeviceCopyValueMultiple or IOHIDTransaction.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `element`: IOHIDElementRef whose value is to be obtained.
    ///
    /// Parameter `pValue`: Pointer to IOHIDValueRef to be obtained.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// `p_value` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceGetValue")]
    #[inline]
    pub unsafe fn value(
        &self,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceGetValue(
                device: &IOHIDDevice,
                element: &IOHIDElement,
                p_value: NonNull<NonNull<IOHIDValue>>,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceGetValue(self, element, p_value) }
    }
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicegetvalueoptions?language=objc)
// NS_ENUM
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDDeviceGetValueOptions(pub u32);
impl IOHIDDeviceGetValueOptions {
    #[doc(alias = "kIOHIDDeviceGetValueWithUpdate")]
    pub const WithUpdate: Self = Self(0x00020000);
    #[doc(alias = "kIOHIDDeviceGetValueWithoutUpdate")]
    pub const WithoutUpdate: Self = Self(0x00040000);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDDeviceGetValueOptions {
    const ENCODING: Encoding = u32::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDDeviceGetValueOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

impl IOHIDDevice {
    /// Gets a value for an element.
    ///
    /// This method behaves synchronously and returns immediately
    /// for input type elements. If requesting a value for a feature
    /// element, this will block until the report has been issued to the
    /// device. If obtaining values for multiple elements you may want
    /// to consider using IOHIDDeviceCopyValueMultiple or IOHIDTransaction.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `element`: IOHIDElementRef whose value is to be obtained.
    ///
    /// Parameter `pValue`: Pointer to IOHIDValueRef to be obtained.
    ///
    /// Parameter `options`: (see IOHIDDeviceGetValueOptions).
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// `p_value` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceGetValueWithOptions")]
    #[inline]
    pub unsafe fn value_with_options(
        &self,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
        options: u32,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceGetValueWithOptions(
                device: &IOHIDDevice,
                element: &IOHIDElement,
                p_value: NonNull<NonNull<IOHIDValue>>,
                options: u32,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceGetValueWithOptions(self, element, p_value, options) }
    }

    /// Copies a values for multiple elements.
    ///
    /// This method behaves synchronously and returns immediately
    /// for input type elements. If requesting a value for a feature
    /// element, this will block until the report has been issued to the
    /// device.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `elements`: CFArrayRef containing multiple IOHIDElementRefs whose
    /// values are to be obtained.
    ///
    /// Parameter `pMultiple`: Pointer to CFDictionaryRef where the keys are the
    /// provided elements and the values are the requested values.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `elements` generic must be of the correct type.
    /// - `p_multiple` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceCopyValueMultiple")]
    #[inline]
    pub unsafe fn copy_value_multiple(
        &self,
        elements: &CFArray,
        p_multiple: *mut *const CFDictionary,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceCopyValueMultiple(
                device: &IOHIDDevice,
                elements: &CFArray,
                p_multiple: *mut *const CFDictionary,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceCopyValueMultiple(self, elements, p_multiple) }
    }

    /// Gets a value for an element.
    ///
    /// This method currently only behaves synchronously and will not
    /// invoke the callback. It is only relevent for either output or
    /// feature type elements. If setting values for multiple elements
    /// you may want to consider using
    /// IOHIDDeviceCopyValueMultipleWithCallback or IOHIDTransaction.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `element`: IOHIDElementRef whose value is to be obtained.
    ///
    /// Parameter `pValue`: Pointer to IOHIDValueRef to be passedback.
    ///
    /// Parameter `timeout`: Currently unused.
    ///
    /// Parameter `callback`: Currently unused.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `p_value` must be a valid pointer.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceGetValueWithCallback")]
    #[inline]
    pub unsafe fn value_with_callback(
        &self,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
        timeout: CFTimeInterval,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceGetValueWithCallback(
                device: &IOHIDDevice,
                element: &IOHIDElement,
                p_value: NonNull<NonNull<IOHIDValue>>,
                timeout: CFTimeInterval,
                callback: IOHIDValueCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe {
            IOHIDDeviceGetValueWithCallback(self, element, p_value, timeout, callback, context)
        }
    }

    /// Copies a values for multiple elements and returns status via a
    /// completion callback.
    ///
    /// This method behaves asynchronusly and is only relevent for
    /// either output or feature type elements.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `elements`: CFArrayRef containing multiple IOHIDElementRefs whose
    /// values are to be obtained.
    ///
    /// Parameter `pMultiple`: Pointer to CFDictionaryRef where the keys are the
    /// provided elements and the values are the requested values.
    ///
    /// Parameter `timeout`: CFTimeInterval containing the timeout in milliseconds.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDValueMultipleCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `elements` generic must be of the correct type.
    /// - `p_multiple` must be a valid pointer or null.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceCopyValueMultipleWithCallback")]
    #[inline]
    pub unsafe fn copy_value_multiple_with_callback(
        &self,
        elements: &CFArray,
        p_multiple: *mut *const CFDictionary,
        timeout: CFTimeInterval,
        callback: IOHIDValueMultipleCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceCopyValueMultipleWithCallback(
                device: &IOHIDDevice,
                elements: &CFArray,
                p_multiple: *mut *const CFDictionary,
                timeout: CFTimeInterval,
                callback: IOHIDValueMultipleCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe {
            IOHIDDeviceCopyValueMultipleWithCallback(
                self, elements, p_multiple, timeout, callback, context,
            )
        }
    }

    /// Sends a report to the device.
    ///
    /// This method behaves synchronously and will block until the
    /// report has been issued to the device. It is only relevent for
    /// either output or feature type reports.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `reportType`: Type of report being sent.
    ///
    /// Parameter `reportID`: ID of the report being sent.  If the device supports
    /// multiple reports, this should also be set in the first byte of
    /// the report.
    ///
    /// Parameter `report`: The report bytes to be sent to the device.
    ///
    /// Parameter `reportLength`: The length of the report to be sent to the device.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// `report` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceSetReport")]
    #[inline]
    pub unsafe fn set_report(
        &self,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        report_length: CFIndex,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetReport(
                device: &IOHIDDevice,
                report_type: IOHIDReportType,
                report_id: CFIndex,
                report: NonNull<u8>,
                report_length: CFIndex,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceSetReport(self, report_type, report_id, report, report_length) }
    }

    /// Sends a report to the device.
    ///
    /// This method behaves asynchronously. It is only relevent for
    /// either output or feature type reports.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `reportType`: Type of report being sent.
    ///
    /// Parameter `reportID`: ID of the report being sent. If the device supports
    /// multiple reports, this should also be set in the first byte of
    /// the report.
    ///
    /// Parameter `report`: The report bytes to be sent to the device.
    ///
    /// Parameter `reportLength`: The length of the report to be sent to the device.
    ///
    /// Parameter `timeout`: CFTimeInterval containing the timeout in milliseconds.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDReportCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `report` must be a valid pointer.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDDeviceSetReportWithCallback")]
    #[inline]
    pub unsafe fn set_report_with_callback(
        &self,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        report_length: CFIndex,
        timeout: CFTimeInterval,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceSetReportWithCallback(
                device: &IOHIDDevice,
                report_type: IOHIDReportType,
                report_id: CFIndex,
                report: NonNull<u8>,
                report_length: CFIndex,
                timeout: CFTimeInterval,
                callback: IOHIDReportCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe {
            IOHIDDeviceSetReportWithCallback(
                self,
                report_type,
                report_id,
                report,
                report_length,
                timeout,
                callback,
                context,
            )
        }
    }

    /// Obtains a report from the device.
    ///
    /// This method behaves synchronously and will block until the
    /// report has been received from the device. It is only relevent for
    /// either output or feature type reports. Please defer to using
    /// IOHIDDeviceRegisterInputReportCallback for obtaining input
    /// reports.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `reportType`: Type of report being requested.
    ///
    /// Parameter `reportID`: ID of the report being requested.
    ///
    /// Parameter `report`: Pointer to preallocated buffer in which to copy inbound
    /// report data.
    ///
    /// Parameter `pReportLength`: Pointer to length of preallocated buffer.  This
    /// value will be modified to refect the length of the returned
    /// report.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `report` must be a valid pointer.
    /// - `p_report_length` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceGetReport")]
    #[inline]
    pub unsafe fn report(
        &self,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        p_report_length: NonNull<CFIndex>,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceGetReport(
                device: &IOHIDDevice,
                report_type: IOHIDReportType,
                report_id: CFIndex,
                report: NonNull<u8>,
                p_report_length: NonNull<CFIndex>,
            ) -> IOReturn;
        }
        unsafe { IOHIDDeviceGetReport(self, report_type, report_id, report, p_report_length) }
    }

    /// Obtains a report from the device.
    ///
    /// This method behaves asynchronously. It is only relevent for
    /// either output or feature type reports. Please defer to using
    /// IOHIDDeviceRegisterInputReportCallback for obtaining input
    /// reports.
    ///
    /// Parameter `device`: Reference to an IOHIDDevice.
    ///
    /// Parameter `reportType`: Type of report being requested.
    ///
    /// Parameter `reportID`: ID of the report being requested.
    ///
    /// Parameter `report`: Pointer to preallocated buffer in which to copy inbound
    /// report data.
    ///
    /// Parameter `pReportLength`: Pointer to length of preallocated buffer. This
    /// value will be modified to refect the length of the returned
    /// report.
    ///
    /// Parameter `timeout`: CFTimeInterval containing the timeout in milliseconds.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDReportCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    ///
    /// # Safety
    ///
    /// - `report` must be a valid pointer.
    /// - `p_report_length` must be a valid pointer.
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer.
    #[doc(alias = "IOHIDDeviceGetReportWithCallback")]
    #[inline]
    pub unsafe fn report_with_callback(
        &self,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        p_report_length: NonNull<CFIndex>,
        timeout: CFTimeInterval,
        callback: IOHIDReportCallback,
        context: NonNull<c_void>,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDDeviceGetReportWithCallback(
                device: &IOHIDDevice,
                report_type: IOHIDReportType,
                report_id: CFIndex,
                report: NonNull<u8>,
                p_report_length: NonNull<CFIndex>,
                timeout: CFTimeInterval,
                callback: IOHIDReportCallback,
                context: NonNull<c_void>,
            ) -> IOReturn;
        }
        unsafe {
            IOHIDDeviceGetReportWithCallback(
                self,
                report_type,
                report_id,
                report,
                p_report_length,
                timeout,
                callback,
                context,
            )
        }
    }
}

unsafe impl ConcreteType for IOHIDElement {
    /// Returns the type identifier of all IOHIDElement instances.
    #[doc(alias = "IOHIDElementGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDElementGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDElementGetTypeID() }
    }
}

impl IOHIDElement {
    /// Creates an element from a dictionary.
    ///
    /// The dictionary should contain keys defined in IOHIDKeys.h and start with kIOHIDElement.  This call is meant be used by a IOHIDDeviceDeviceInterface object.
    ///
    /// Parameter `allocator`: Allocator to be used during creation.
    ///
    /// Parameter `dictionary`: dictionary containing values in which to create element.
    ///
    /// Returns: Returns a new IOHIDElementRef.
    ///
    /// # Safety
    ///
    /// `dictionary` generics must be of the correct type.
    #[doc(alias = "IOHIDElementCreateWithDictionary")]
    #[inline]
    pub unsafe fn with_dictionary(
        allocator: Option<&CFAllocator>,
        dictionary: &CFDictionary,
    ) -> CFRetained<IOHIDElement> {
        extern "C-unwind" {
            fn IOHIDElementCreateWithDictionary(
                allocator: Option<&CFAllocator>,
                dictionary: &CFDictionary,
            ) -> Option<NonNull<IOHIDElement>>;
        }
        let ret = unsafe { IOHIDElementCreateWithDictionary(allocator, dictionary) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::from_raw(ret) }
    }

    /// Obtain the device associated with the element.
    ///
    /// Parameter `element`: IOHIDElement to be queried.
    ///
    /// Returns: Returns the a reference to the device.
    #[doc(alias = "IOHIDElementGetDevice")]
    #[inline]
    pub fn device(&self) -> CFRetained<IOHIDDevice> {
        extern "C-unwind" {
            fn IOHIDElementGetDevice(element: &IOHIDElement) -> Option<NonNull<IOHIDDevice>>;
        }
        let ret = unsafe { IOHIDElementGetDevice(self) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::retain(ret) }
    }

    /// Returns the parent for the element.
    ///
    /// The parent element can be an element of type kIOHIDElementTypeCollection.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns an IOHIDElementRef referencing the parent element.
    #[doc(alias = "IOHIDElementGetParent")]
    #[inline]
    pub fn parent(&self) -> Option<CFRetained<IOHIDElement>> {
        extern "C-unwind" {
            fn IOHIDElementGetParent(element: &IOHIDElement) -> Option<NonNull<IOHIDElement>>;
        }
        let ret = unsafe { IOHIDElementGetParent(self) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Returns the children for the element.
    ///
    /// An element of type kIOHIDElementTypeCollection usually contains children.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns an CFArrayRef containing element objects of type IOHIDElementRef.
    #[doc(alias = "IOHIDElementGetChildren")]
    #[inline]
    pub fn children(&self) -> Option<CFRetained<CFArray>> {
        extern "C-unwind" {
            fn IOHIDElementGetChildren(element: &IOHIDElement) -> Option<NonNull<CFArray>>;
        }
        let ret = unsafe { IOHIDElementGetChildren(self) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Establish a relationship between one or more elements.
    ///
    /// This is useful for grouping HID elements with related functionality.
    ///
    /// Parameter `element`: The element to be modified. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Parameter `toAttach`: The element to be attached. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    #[doc(alias = "IOHIDElementAttach")]
    #[inline]
    pub fn attach(&self, to_attach: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDElementAttach(element: &IOHIDElement, to_attach: &IOHIDElement);
        }
        unsafe { IOHIDElementAttach(self, to_attach) }
    }

    /// Remove a relationship between one or more elements.
    ///
    /// This is useful for grouping HID elements with related functionality.
    ///
    /// Parameter `element`: The element to be modified. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Parameter `toDetach`: The element to be detached. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    #[doc(alias = "IOHIDElementDetach")]
    #[inline]
    pub fn detach(&self, to_detach: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDElementDetach(element: &IOHIDElement, to_detach: &IOHIDElement);
        }
        unsafe { IOHIDElementDetach(self, to_detach) }
    }

    /// Obtain attached elements.
    ///
    /// Attached elements are those that have been grouped via IOHIDElementAttach.
    ///
    /// Parameter `element`: The element to be modified. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns a copy of the current attached elements.
    #[doc(alias = "IOHIDElementCopyAttached")]
    #[inline]
    pub fn attached(&self) -> Option<CFRetained<CFArray>> {
        extern "C-unwind" {
            fn IOHIDElementCopyAttached(element: &IOHIDElement) -> Option<NonNull<CFArray>>;
        }
        let ret = unsafe { IOHIDElementCopyAttached(self) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Retrieves the cookie for the element.
    ///
    /// The IOHIDElementCookie represent a unique identifier for an element within a device.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the IOHIDElementCookie for the element.
    #[doc(alias = "IOHIDElementGetCookie")]
    #[inline]
    pub fn cookie(&self) -> IOHIDElementCookie {
        extern "C-unwind" {
            fn IOHIDElementGetCookie(element: &IOHIDElement) -> IOHIDElementCookie;
        }
        unsafe { IOHIDElementGetCookie(self) }
    }

    /// Retrieves the type for the element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the IOHIDElementType for the element.
    #[doc(alias = "IOHIDElementGetType")]
    #[inline]
    pub fn r#type(&self) -> IOHIDElementType {
        extern "C-unwind" {
            fn IOHIDElementGetType(element: &IOHIDElement) -> IOHIDElementType;
        }
        unsafe { IOHIDElementGetType(self) }
    }

    /// Retrieves the collection type for the element.
    ///
    /// The value returned by this method only makes sense if the element type is kIOHIDElementTypeCollection.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the IOHIDElementCollectionType for the element.
    #[doc(alias = "IOHIDElementGetCollectionType")]
    #[inline]
    pub fn collection_type(&self) -> IOHIDElementCollectionType {
        extern "C-unwind" {
            fn IOHIDElementGetCollectionType(element: &IOHIDElement) -> IOHIDElementCollectionType;
        }
        unsafe { IOHIDElementGetCollectionType(self) }
    }

    /// Retrieves the usage page for an element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the usage page for the element.
    #[doc(alias = "IOHIDElementGetUsagePage")]
    #[inline]
    pub fn usage_page(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetUsagePage(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetUsagePage(self) }
    }

    /// Retrieves the usage for an element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the usage for the element.
    #[doc(alias = "IOHIDElementGetUsage")]
    #[inline]
    pub fn usage(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetUsage(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetUsage(self) }
    }

    /// Returns the virtual property for the element.
    ///
    /// Indicates whether the element is a virtual element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the TRUE if virtual or FALSE if not.
    #[doc(alias = "IOHIDElementIsVirtual")]
    #[inline]
    pub fn is_virtual(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementIsVirtual(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementIsVirtual(self) };
        ret != 0
    }

    /// Returns the relative property for the element.
    ///
    /// Indicates whether the data is relative (indicating the change in value from the last report) or absolute
    /// (based on a fixed origin).
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if relative or FALSE if absolute.
    #[doc(alias = "IOHIDElementIsRelative")]
    #[inline]
    pub fn is_relative(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementIsRelative(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementIsRelative(self) };
        ret != 0
    }

    /// Returns the wrap property for the element.
    ///
    /// Wrap indicates whether the data "rolls over" when reaching either the extreme high or low value.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if wrapping or FALSE if non-wrapping.
    #[doc(alias = "IOHIDElementIsWrapping")]
    #[inline]
    pub fn is_wrapping(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementIsWrapping(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementIsWrapping(self) };
        ret != 0
    }

    /// Returns the array property for the element.
    ///
    /// Indicates whether the element represents variable or array data values. Variable values represent data from a
    /// physical control.  An array returns an index in each field that corresponds to the pressed button
    /// (like keyboard scan codes).
    /// <br>
    /// <b>
    /// Note:
    /// </b>
    /// The HID Manager will represent most elements as "variable" including the possible usages of an array.
    /// Array indices will remain as "array" elements with a usage of 0xffffffff.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if array or FALSE if variable.
    #[doc(alias = "IOHIDElementIsArray")]
    #[inline]
    pub fn is_array(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementIsArray(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementIsArray(self) };
        ret != 0
    }

    /// Returns the linear property for the element.
    ///
    /// Indicates whether the value for the element has been processed in some way, and no longer represents a linear
    /// relationship between what is measured and the value that is reported.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if non linear or FALSE if linear.
    #[doc(alias = "IOHIDElementIsNonLinear")]
    #[inline]
    pub fn is_non_linear(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementIsNonLinear(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementIsNonLinear(self) };
        ret != 0
    }

    /// Returns the preferred state property for the element.
    ///
    /// Indicates whether the element has a preferred state to which it will return when the user is not physically
    /// interacting with the control.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if preferred state or FALSE if no preferred state.
    #[doc(alias = "IOHIDElementHasPreferredState")]
    #[inline]
    pub fn has_preferred_state(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementHasPreferredState(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementHasPreferredState(self) };
        ret != 0
    }

    /// Returns the null state property for the element.
    ///
    /// Indicates whether the element has a state in which it is not sending meaningful data.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns TRUE if null state or FALSE if no null state.
    #[doc(alias = "IOHIDElementHasNullState")]
    #[inline]
    pub fn has_null_state(&self) -> bool {
        extern "C-unwind" {
            fn IOHIDElementHasNullState(element: &IOHIDElement) -> Boolean;
        }
        let ret = unsafe { IOHIDElementHasNullState(self) };
        ret != 0
    }

    /// Returns the name for the element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns CFStringRef containing the element name.
    #[doc(alias = "IOHIDElementGetName")]
    #[inline]
    pub fn name(&self) -> CFRetained<CFString> {
        extern "C-unwind" {
            fn IOHIDElementGetName(element: &IOHIDElement) -> Option<NonNull<CFString>>;
        }
        let ret = unsafe { IOHIDElementGetName(self) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::retain(ret) }
    }

    /// Returns the report ID for the element.
    ///
    /// The report ID represents what report this particular element belongs to.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the report ID.
    #[doc(alias = "IOHIDElementGetReportID")]
    #[inline]
    pub fn report_id(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetReportID(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetReportID(self) }
    }

    /// Returns the report size in bits for the element.
    ///
    /// If the element is an array type the total number of bit in the element is equal to
    /// IOHIDElementGetReportSize(element) * IOHIDElementGetReportCount(element). Otherwise this size is the
    /// total number of bits in the element.
    ///
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the report size.
    #[doc(alias = "IOHIDElementGetReportSize")]
    #[inline]
    pub fn report_size(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetReportSize(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetReportSize(self) }
    }

    /// Returns the report count for the element.
    ///
    /// If the IOHIDElementGetReportCount(element) is greater than one and the element does not represent an
    /// array then the element represents a repeated set of usages, the size of each usage in the element is
    /// IOHIDElementGetReportSize(element) / IOHIDElementGetReportCount(element).
    ///
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the report count.
    #[doc(alias = "IOHIDElementGetReportCount")]
    #[inline]
    pub fn report_count(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetReportCount(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetReportCount(self) }
    }

    /// Returns the unit property for the element.
    ///
    /// The unit property is described in more detail in Section 6.2.2.7 of the
    /// "Device Class Definition for Human Interface Devices(HID)" Specification, Version 1.11.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the unit.
    #[doc(alias = "IOHIDElementGetUnit")]
    #[inline]
    pub fn unit(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetUnit(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetUnit(self) }
    }

    /// Returns the code associated with the unit exponent as outlined in the HID spec
    ///
    /// The unit exponent property is described in more detail in Section 6.2.2.7 of the
    /// "Device Class Definition for Human Interface Devices(HID)" Specification, Version 1.11.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the unit exponent.
    #[doc(alias = "IOHIDElementGetUnitExponent")]
    #[inline]
    pub fn unit_exponent(&self) -> u32 {
        extern "C-unwind" {
            fn IOHIDElementGetUnitExponent(element: &IOHIDElement) -> u32;
        }
        unsafe { IOHIDElementGetUnitExponent(self) }
    }

    /// Returns the minimum value possible for the element.
    ///
    /// This corresponds to the logical minimun, which indicates the lower bounds of a variable element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the logical minimum.
    #[doc(alias = "IOHIDElementGetLogicalMin")]
    #[inline]
    pub fn logical_min(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDElementGetLogicalMin(element: &IOHIDElement) -> CFIndex;
        }
        unsafe { IOHIDElementGetLogicalMin(self) }
    }

    /// Returns the maximum value possible for the element.
    ///
    /// This corresponds to the logical maximum, which indicates the upper bounds of a variable element.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the logical maximum.
    #[doc(alias = "IOHIDElementGetLogicalMax")]
    #[inline]
    pub fn logical_max(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDElementGetLogicalMax(element: &IOHIDElement) -> CFIndex;
        }
        unsafe { IOHIDElementGetLogicalMax(self) }
    }

    /// Returns the scaled minimum value possible for the element.
    ///
    /// Minimum value for the physical extent of a variable element. This represents the value for the logical minimum with units applied to it.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the physical minimum.
    #[doc(alias = "IOHIDElementGetPhysicalMin")]
    #[inline]
    pub fn physical_min(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDElementGetPhysicalMin(element: &IOHIDElement) -> CFIndex;
        }
        unsafe { IOHIDElementGetPhysicalMin(self) }
    }

    /// Returns the scaled maximum value possible for the element.
    ///
    /// Maximum value for the physical extent of a variable element.  This represents the value for the logical maximum with units applied to it.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Returns: Returns the physical maximum.
    #[doc(alias = "IOHIDElementGetPhysicalMax")]
    #[inline]
    pub fn physical_max(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDElementGetPhysicalMax(element: &IOHIDElement) -> CFIndex;
        }
        unsafe { IOHIDElementGetPhysicalMax(self) }
    }

    /// Returns the an element property.
    ///
    /// Property keys are prefixed by kIOHIDElement and declared in IOHIDKeys.h.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Parameter `key`: The key to be used when querying the element.
    ///
    /// Returns: Returns the property.
    #[doc(alias = "IOHIDElementGetProperty")]
    #[inline]
    pub fn property(&self, key: &CFString) -> Option<CFRetained<CFType>> {
        extern "C-unwind" {
            fn IOHIDElementGetProperty(
                element: &IOHIDElement,
                key: &CFString,
            ) -> Option<NonNull<CFType>>;
        }
        let ret = unsafe { IOHIDElementGetProperty(self, key) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Sets an element property.
    ///
    /// This method can be used to set arbitrary element properties, such as application specific references.
    ///
    /// Parameter `element`: The element to be queried. If this parameter is not a valid IOHIDElementRef, the behavior is undefined.
    ///
    /// Parameter `key`: The key to be used when querying the element.
    ///
    /// Returns: Returns TRUE if successful.
    ///
    /// # Safety
    ///
    /// `property` should be of the correct type.
    #[doc(alias = "IOHIDElementSetProperty")]
    #[inline]
    pub unsafe fn set_property(&self, key: &CFString, property: &CFType) -> bool {
        extern "C-unwind" {
            fn IOHIDElementSetProperty(
                element: &IOHIDElement,
                key: &CFString,
                property: &CFType,
            ) -> Boolean;
        }
        let ret = unsafe { IOHIDElementSetProperty(self, key, property) };
        ret != 0
    }
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohideventstruct?language=objc)
#[repr(C)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDEventStruct {
    pub r#type: IOHIDElementType,
    pub elementCookie: IOHIDElementCookie,
    pub value: i32,
    pub timestamp: AbsoluteTime,
    pub longValueSize: u32,
    pub longValue: *mut c_void,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDEventStruct {
    const ENCODING: Encoding = Encoding::Struct(
        "IOHIDEventStruct",
        &[
            <IOHIDElementType>::ENCODING,
            <IOHIDElementCookie>::ENCODING,
            <i32>::ENCODING,
            <AbsoluteTime>::ENCODING,
            <u32>::ENCODING,
            <*mut c_void>::ENCODING,
        ],
    );
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDEventStruct {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Type and arguments of callout C function that is used when a
/// completion routine is called, see
/// IOHIDLib.h:setRemovalCallback().
///
/// Parameter `target`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `refcon`: void * pointer to more data.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidcallbackfunction?language=objc)
pub type IOHIDCallbackFunction =
    Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, *mut c_void)>;

/// Type and arguments of callout C function that is used when a
/// completion routine is called, see IOHIDLib.h:setElementValue().
///
/// Parameter `target`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `refcon`: void * pointer to more data.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `elementCookie`: Element within interface instance sending completion.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidelementcallbackfunction?language=objc)
pub type IOHIDElementCallbackFunction = Option<
    unsafe extern "C-unwind" fn(
        *mut c_void,
        IOReturn,
        *mut c_void,
        *mut c_void,
        IOHIDElementCookie,
    ),
>;

/// Type and arguments of callout C function that is used when a
/// completion routine is called, see IOHIDLib.h:setReport().
///
/// Parameter `target`: void * pointer to your data, often a pointer to an object.
///
/// Parameter `result`: Completion result of desired operation.
///
/// Parameter `refcon`: void * pointer to more data.
///
/// Parameter `sender`: Interface instance sending the completion routine.
///
/// Parameter `bufferSize`: Size of the buffer received upon completion.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidreportcallbackfunction?language=objc)
pub type IOHIDReportCallbackFunction =
    Option<unsafe extern "C-unwind" fn(*mut c_void, IOReturn, *mut c_void, *mut c_void, u32)>;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddeviceinterface?language=objc)
#[cfg(feature = "libc")]
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub createAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
    pub createAsyncPort:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut libc::mach_port_t) -> IOReturn>,
    pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> libc::mach_port_t>,
    pub open: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub close: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub setRemovalCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub setElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub queryElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub startAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub stopAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub allocQueue:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDQueueInterface>,
    pub allocOutputTransaction: Option<
        unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDOutputTransactionInterface,
    >,
    pub setReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            *mut u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl Encode for IOHIDDeviceInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut CFRunLoopSource,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut CFRunLoopSource>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut libc::mach_port_t,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> libc::mach_port_t>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDQueueInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDOutputTransactionInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,*mut u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl RefEncode for IOHIDDeviceInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddeviceinterface121?language=objc)
#[cfg(feature = "libc")]
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceInterface121 {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub createAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
    pub createAsyncPort:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut libc::mach_port_t) -> IOReturn>,
    pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> libc::mach_port_t>,
    pub open: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub close: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub setRemovalCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub setElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub queryElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub startAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub stopAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub allocQueue:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDQueueInterface>,
    pub allocOutputTransaction: Option<
        unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDOutputTransactionInterface,
    >,
    pub setReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            *mut u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl Encode for IOHIDDeviceInterface121 {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceInterface121", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut CFRunLoopSource,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut CFRunLoopSource>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut libc::mach_port_t,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> libc::mach_port_t>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDQueueInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDOutputTransactionInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,*mut u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl RefEncode for IOHIDDeviceInterface121 {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddeviceinterface122?language=objc)
#[cfg(feature = "libc")]
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceInterface122 {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub createAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
    pub createAsyncPort:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut libc::mach_port_t) -> IOReturn>,
    pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> libc::mach_port_t>,
    pub open: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub close: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub setRemovalCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub setElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub queryElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
            u32,
            IOHIDElementCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub startAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub stopAllQueues: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub allocQueue:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDQueueInterface>,
    pub allocOutputTransaction: Option<
        unsafe extern "C-unwind" fn(*mut c_void) -> *mut *mut IOHIDOutputTransactionInterface,
    >,
    pub setReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut c_void,
            *mut u32,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub copyMatchingElements: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *const CFDictionary,
            *mut *const CFArray,
        ) -> IOReturn,
    >,
    pub setInterruptReportHandlerCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut c_void,
            u32,
            IOHIDReportCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl Encode for IOHIDDeviceInterface122 {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceInterface122", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut CFRunLoopSource,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut CFRunLoopSource>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut libc::mach_port_t,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> libc::mach_port_t>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,u32,IOHIDElementCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDQueueInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut *mut IOHIDOutputTransactionInterface>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut c_void,*mut u32,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFDictionary,*mut *const CFArray,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut c_void,u32,IOHIDReportCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl RefEncode for IOHIDDeviceInterface122 {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidqueueinterface?language=objc)
#[cfg(feature = "libc")]
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDQueueInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub createAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
    pub createAsyncPort:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut libc::mach_port_t) -> IOReturn>,
    pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> libc::mach_port_t>,
    pub create: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, u32) -> IOReturn>,
    pub dispose: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub addElement:
        Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie, u32) -> IOReturn>,
    pub removeElement:
        Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> IOReturn>,
    pub hasElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> Boolean>,
    pub start: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub stop: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub getNextEvent: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDEventStruct,
            AbsoluteTime,
            u32,
        ) -> IOReturn,
    >,
    pub setEventCallout: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub getEventCallout: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDCallbackFunction,
            *mut *mut c_void,
            *mut *mut c_void,
        ) -> IOReturn,
    >,
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl Encode for IOHIDQueueInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDQueueInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut CFRunLoopSource,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut CFRunLoopSource>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut libc::mach_port_t,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> libc::mach_port_t>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,u32,u32,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,u32,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,) -> Boolean>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDEventStruct,AbsoluteTime,u32,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDCallbackFunction,*mut *mut c_void,*mut *mut c_void,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl RefEncode for IOHIDQueueInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidoutputtransactioninterface?language=objc)
#[cfg(feature = "libc")]
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDOutputTransactionInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub createAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *mut CFRunLoopSource) -> IOReturn>,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void) -> *mut CFRunLoopSource>,
    pub createAsyncPort:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut libc::mach_port_t) -> IOReturn>,
    pub getAsyncPort: Option<unsafe extern "C-unwind" fn(*mut c_void) -> libc::mach_port_t>,
    pub create: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub dispose: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
    pub addElement:
        Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> IOReturn>,
    pub removeElement:
        Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> IOReturn>,
    pub hasElement: Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDElementCookie) -> Boolean>,
    pub setElementDefault: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub getElementDefault: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub setElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub getElementValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDElementCookie,
            *mut IOHIDEventStruct,
        ) -> IOReturn,
    >,
    pub commit: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            u32,
            IOHIDCallbackFunction,
            *mut c_void,
            *mut c_void,
        ) -> IOReturn,
    >,
    pub clear: Option<unsafe extern "C-unwind" fn(*mut c_void) -> IOReturn>,
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl Encode for IOHIDOutputTransactionInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDOutputTransactionInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut CFRunLoopSource,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> *mut CFRunLoopSource>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut libc::mach_port_t,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> libc::mach_port_t>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,) -> Boolean>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDElementCookie,*mut IOHIDEventStruct,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,u32,IOHIDCallbackFunction,*mut c_void,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(all(feature = "libc", feature = "objc2"))]
unsafe impl RefEncode for IOHIDOutputTransactionInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Various options that can be supplied to IOHIDManager functions.
///
/// explicit enough.
///
/// supplied to
///
/// ```text
///  IOHIDManagerCreate
/// ```
///
/// to create and/or use a
/// persistent properties store.
///
/// to
///
/// ```text
///  IOHIDManagerCreate when you wish to overwrite the
///             persistent properties store without loading it first.
///  @const     kIOHIDManagerOptionDoNotSaveProperties This constant can be supplied
///             to @link IOHIDManagerCreate
/// ```
///
/// when you want to use the
/// persistent property store but do not want to add to it.
///
/// manager will act independently from calls to the manager.
/// This allows for devices to be scheduled on separate queues, and
/// their lifetime can persist after the manager is gone.
///
/// The following calls will not be propagated to the devices:
/// IOHIDManagerOpen, IOHIDManagerClose, IOHIDManagerScheduleWithRunLoop,
/// IOHIDManagerUnscheduleFromRunLoop, IOHIDManagerSetDispatchQueue,
/// IOHIDManagerSetCancelHandler, IOHIDManagerActivate, IOHIDManagerCancel,
/// IOHIDManagerRegisterInputReportCallback,
/// IOHIDManagerRegisterInputReportWithTimeStampCallback,
/// IOHIDManagerRegisterInputValueCallback, IOHIDManagerSetInputValueMatching,
/// IOHIDManagerSetInputValueMatchingMultiple,
///
/// This also means that the manager will not be able to receive input
/// reports or input values, since the devices may or may not be scheduled.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidmanageroptions?language=objc)
// NS_OPTIONS
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDManagerOptions(pub u32);
bitflags::bitflags! {
    impl IOHIDManagerOptions: u32 {
        #[doc(alias = "kIOHIDManagerOptionNone")]
        const None = 0x0;
        #[doc(alias = "kIOHIDManagerOptionUsePersistentProperties")]
        const UsePersistentProperties = 0x1;
        #[doc(alias = "kIOHIDManagerOptionDoNotLoadProperties")]
        const DoNotLoadProperties = 0x2;
        #[doc(alias = "kIOHIDManagerOptionDoNotSaveProperties")]
        const DoNotSaveProperties = 0x4;
        #[doc(alias = "kIOHIDManagerOptionIndependentDevices")]
        const IndependentDevices = 0x8;
    }
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDManagerOptions {
    const ENCODING: Encoding = u32::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDManagerOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// This is the type of a reference to the IOHIDManager.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidmanager?language=objc)
#[doc(alias = "IOHIDManagerRef")]
#[repr(C)]
pub struct IOHIDManager {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDManager {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDManager"> for IOHIDManager {}
);

unsafe impl ConcreteType for IOHIDManager {
    /// Returns the type identifier of all IOHIDManager instances.
    #[doc(alias = "IOHIDManagerGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDManagerGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDManagerGetTypeID() }
    }
}

impl IOHIDManager {
    /// Creates an IOHIDManager object.
    ///
    /// The IOHIDManager object is meant as a global management system
    /// for communicating with HID devices.
    ///
    /// Parameter `allocator`: Allocator to be used during creation.
    ///
    /// Parameter `options`: Supply
    ///
    /// ```text
    ///  kIOHIDManagerOptionUsePersistentProperties
    /// ```
    ///
    /// to load
    /// properties from the default persistent property store. Otherwise supply
    ///
    /// ```text
    ///  kIOHIDManagerOptionNone
    /// ```
    ///
    /// (or 0).
    ///
    /// Returns: Returns a new IOHIDManagerRef.
    #[doc(alias = "IOHIDManagerCreate")]
    #[inline]
    pub fn new(allocator: Option<&CFAllocator>, options: IOOptionBits) -> CFRetained<IOHIDManager> {
        extern "C-unwind" {
            fn IOHIDManagerCreate(
                allocator: Option<&CFAllocator>,
                options: IOOptionBits,
            ) -> Option<NonNull<IOHIDManager>>;
        }
        let ret = unsafe { IOHIDManagerCreate(allocator, options) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::from_raw(ret) }
    }

    /// Opens the IOHIDManager.
    ///
    /// This will open both current and future devices that are
    /// enumerated. To establish an exclusive link use the
    /// kIOHIDOptionsTypeSeizeDevice option.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `options`: Option bits to be sent down to the manager and device.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    #[doc(alias = "IOHIDManagerOpen")]
    #[inline]
    pub fn open(&self, options: IOOptionBits) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDManagerOpen(manager: &IOHIDManager, options: IOOptionBits) -> IOReturn;
        }
        unsafe { IOHIDManagerOpen(self, options) }
    }

    /// Closes the IOHIDManager.
    ///
    /// This will also close all devices that are currently enumerated.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `options`: Option bits to be sent down to the manager and device.
    ///
    /// Returns: Returns kIOReturnSuccess if successful.
    #[doc(alias = "IOHIDManagerClose")]
    #[inline]
    pub fn close(&self, options: IOOptionBits) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDManagerClose(manager: &IOHIDManager, options: IOOptionBits) -> IOReturn;
        }
        unsafe { IOHIDManagerClose(self, options) }
    }

    /// Obtains a property of an IOHIDManager.
    ///
    /// Property keys are prefixed by kIOHIDDevice and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `key`: CFStringRef containing key to be used when querying the
    /// manager.
    ///
    /// Returns: Returns CFTypeRef containing the property.
    #[doc(alias = "IOHIDManagerGetProperty")]
    #[inline]
    pub fn property(&self, key: &CFString) -> Option<CFRetained<CFType>> {
        extern "C-unwind" {
            fn IOHIDManagerGetProperty(
                manager: &IOHIDManager,
                key: &CFString,
            ) -> Option<NonNull<CFType>>;
        }
        let ret = unsafe { IOHIDManagerGetProperty(self, key) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Sets a property for an IOHIDManager.
    ///
    /// Property keys are prefixed by kIOHIDDevice and kIOHIDManager and
    /// declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>. This method will propagate
    /// any relevent properties to current and future devices that are
    /// enumerated.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `key`: CFStringRef containing key to be used when modifiying the
    /// device property.
    ///
    /// Parameter `value`: CFTypeRef containing the property value to be set.
    ///
    /// Returns: Returns TRUE if successful.
    ///
    /// # Safety
    ///
    /// `value` should be of the correct type.
    #[doc(alias = "IOHIDManagerSetProperty")]
    #[inline]
    pub unsafe fn set_property(&self, key: &CFString, value: &CFType) -> bool {
        extern "C-unwind" {
            fn IOHIDManagerSetProperty(
                manager: &IOHIDManager,
                key: &CFString,
                value: &CFType,
            ) -> Boolean;
        }
        let ret = unsafe { IOHIDManagerSetProperty(self, key, value) };
        ret != 0
    }

    /// Schedules HID manager with run loop.
    ///
    /// Formally associates manager with client's run loop. Scheduling
    /// this device with the run loop is necessary before making use of
    /// any asynchronous APIs.  This will propagate to current and
    /// future devices that are enumerated.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDManagerScheduleWithRunLoop")]
    #[inline]
    pub unsafe fn schedule_with_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDManagerScheduleWithRunLoop(
                manager: &IOHIDManager,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDManagerScheduleWithRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Unschedules HID manager with run loop.
    ///
    /// Formally disassociates device with client's run loop. This will
    /// propagate to current devices that are enumerated.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `runLoop`: RunLoop to be used when unscheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when unscheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDManagerUnscheduleFromRunLoop")]
    #[inline]
    pub unsafe fn unschedule_from_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDManagerUnscheduleFromRunLoop(
                manager: &IOHIDManager,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDManagerUnscheduleFromRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Sets the dispatch queue to be associated with the IOHIDManager.
    /// This is necessary in order to receive asynchronous events from the kernel.
    ///
    ///
    /// An IOHIDManager should not be associated with both a runloop and
    /// dispatch queue. A call to IOHIDManagerSetDispatchQueue should only be made once.
    ///
    /// After a dispatch queue is set, the IOHIDManager must make a call to activate
    /// via IOHIDManagerActivate and cancel via IOHIDManagerCancel. All calls to "Register"
    /// functions should be done before activation and not after cancellation.
    ///
    ///
    /// Parameter `manager`: Reference to an IOHIDManager
    ///
    ///
    /// Parameter `queue`: The dispatch queue to which the event handler block will be submitted.
    ///
    /// # Safety
    ///
    /// `queue` possibly has additional threading requirements.
    #[doc(alias = "IOHIDManagerSetDispatchQueue")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_dispatch_queue(&self, queue: &DispatchQueue) {
        extern "C-unwind" {
            fn IOHIDManagerSetDispatchQueue(manager: &IOHIDManager, queue: &DispatchQueue);
        }
        unsafe { IOHIDManagerSetDispatchQueue(self, queue) }
    }

    /// Sets a cancellation handler for the dispatch queue associated with
    /// IOHIDManagerSetDispatchQueue.
    ///
    ///
    /// The cancellation handler (if specified) will be will be submitted to the
    /// manager's dispatch queue in response to a call to IOHIDManagerCancel after
    /// all the events have been handled.
    ///
    /// IOHIDManagerSetCancelHandler should not be used when scheduling with
    /// a run loop.
    ///
    /// The IOHIDManagerRef should only be released after the manager has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    ///
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(manager);
    /// });
    /// IOHIDManagerSetCancelHandler(manager, cancelHandler);
    /// IOHIDManagerActivate(manager);
    /// IOHIDManageCancel(manager);
    ///
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    ///
    /// Parameter `handler`: The cancellation handler block to be associated with the dispatch queue.
    ///
    /// # Safety
    ///
    /// `handler` must be a valid pointer.
    #[doc(alias = "IOHIDManagerSetCancelHandler")]
    #[cfg(feature = "dispatch2")]
    #[inline]
    pub unsafe fn set_cancel_handler(&self, handler: dispatch_block_t) {
        extern "C-unwind" {
            fn IOHIDManagerSetCancelHandler(manager: &IOHIDManager, handler: dispatch_block_t);
        }
        unsafe { IOHIDManagerSetCancelHandler(self, handler) }
    }

    /// Activates the IOHIDManager object.
    ///
    ///
    /// An IOHIDManager object associated with a dispatch queue is created
    /// in an inactive state. The object must be activated in order to
    /// receive asynchronous events from the kernel.
    ///
    /// A dispatch queue must be set via IOHIDManagerSetDispatchQueue before
    /// activation.
    ///
    /// An activated manager must be cancelled via IOHIDManagerCancel. All calls
    /// to "Register" functions should be done before activation
    /// and not after cancellation.
    ///
    /// Calling IOHIDManagerActivate on an active IOHIDManager has no effect.
    ///
    ///
    /// Parameter `manager`: Reference to an IOHIDManager
    #[doc(alias = "IOHIDManagerActivate")]
    #[inline]
    pub fn activate(&self) {
        extern "C-unwind" {
            fn IOHIDManagerActivate(manager: &IOHIDManager);
        }
        unsafe { IOHIDManagerActivate(self) }
    }

    /// Cancels the IOHIDManager preventing any further invocation
    /// of its event handler block.
    ///
    ///
    /// Cancelling prevents any further invocation of the event handler block for
    /// the specified dispatch queue, but does not interrupt an event handler
    /// block that is already in progress.
    ///
    /// Explicit cancellation of the IOHIDManager is required, no implicit
    /// cancellation takes place.
    ///
    /// Calling IOHIDManagerCancel on an already cancelled queue has no effect.
    ///
    /// The IOHIDManagerRef should only be released after the manager has been
    /// cancelled, and the cancel handler has been called. This is to ensure all
    /// asynchronous objects are released. For example:
    ///
    /// dispatch_block_t cancelHandler = dispatch_block_create(0, ^{
    /// CFRelease(manager);
    /// });
    /// IOHIDManagerSetCancelHandler(manager, cancelHandler);
    /// IOHIDManagerActivate(manager);
    /// IOHIDManageCancel(manager);
    ///
    ///
    /// Parameter `manager`: Reference to an IOHIDManager
    #[doc(alias = "IOHIDManagerCancel")]
    #[inline]
    pub fn cancel(&self) {
        extern "C-unwind" {
            fn IOHIDManagerCancel(manager: &IOHIDManager);
        }
        unsafe { IOHIDManagerCancel(self) }
    }

    /// Sets matching criteria for device enumeration.
    ///
    /// Matching keys are prefixed by kIOHIDDevice and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.  Passing a NULL dictionary will result
    /// in all devices being enumerated. Any subsequent calls will cause
    /// the hid manager to release previously enumerated devices and
    /// restart the enuerate process using the revised criteria.  If
    /// interested in multiple, specific device classes, please defer to
    /// using IOHIDManagerSetDeviceMatchingMultiple.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `matching`: CFDictionaryRef containg device matching criteria.
    ///
    /// # Safety
    ///
    /// `matching` generics must be of the correct type.
    #[doc(alias = "IOHIDManagerSetDeviceMatching")]
    #[inline]
    pub unsafe fn set_device_matching(&self, matching: Option<&CFDictionary>) {
        extern "C-unwind" {
            fn IOHIDManagerSetDeviceMatching(
                manager: &IOHIDManager,
                matching: Option<&CFDictionary>,
            );
        }
        unsafe { IOHIDManagerSetDeviceMatching(self, matching) }
    }

    /// Sets multiple matching criteria for device enumeration.
    ///
    /// Matching keys are prefixed by kIOHIDDevice and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.  This method is useful if interested
    /// in multiple, specific device classes.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `multiple`: CFArrayRef containing multiple CFDictionaryRef objects
    /// containg device matching criteria.
    ///
    /// # Safety
    ///
    /// `multiple` generic must be of the correct type.
    #[doc(alias = "IOHIDManagerSetDeviceMatchingMultiple")]
    #[inline]
    pub unsafe fn set_device_matching_multiple(&self, multiple: Option<&CFArray>) {
        extern "C-unwind" {
            fn IOHIDManagerSetDeviceMatchingMultiple(
                manager: &IOHIDManager,
                multiple: Option<&CFArray>,
            );
        }
        unsafe { IOHIDManagerSetDeviceMatchingMultiple(self, multiple) }
    }

    /// Obtains currently enumerated devices.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Returns: CFSetRef containing IOHIDDeviceRefs.
    #[doc(alias = "IOHIDManagerCopyDevices")]
    #[inline]
    pub fn devices(&self) -> Option<CFRetained<CFSet>> {
        extern "C-unwind" {
            fn IOHIDManagerCopyDevices(manager: &IOHIDManager) -> Option<NonNull<CFSet>>;
        }
        let ret = unsafe { IOHIDManagerCopyDevices(self) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Registers a callback to be used a device is enumerated.
    ///
    /// Only device matching the set criteria will be enumerated.
    /// If a dispatch queue is set, this call must occur before activation.
    /// Devices provided in the callback will be scheduled with the same
    /// runloop/dispatch queue as the IOHIDManagerRef, and should not be
    /// rescheduled.
    ///
    /// Parameter `manager`: Reference to an IOHIDManagerRef.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDDeviceCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDManagerRegisterDeviceMatchingCallback")]
    #[inline]
    pub unsafe fn register_device_matching_callback(
        &self,
        callback: IOHIDDeviceCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerRegisterDeviceMatchingCallback(
                manager: &IOHIDManager,
                callback: IOHIDDeviceCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDManagerRegisterDeviceMatchingCallback(self, callback, context) }
    }

    /// Registers a callback to be used when any enumerated device is
    /// removed.
    ///
    /// In most cases this occurs when a device is unplugged.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManagerRef.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDDeviceCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDManagerRegisterDeviceRemovalCallback")]
    #[inline]
    pub unsafe fn register_device_removal_callback(
        &self,
        callback: IOHIDDeviceCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerRegisterDeviceRemovalCallback(
                manager: &IOHIDManager,
                callback: IOHIDDeviceCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDManagerRegisterDeviceRemovalCallback(self, callback, context) }
    }

    /// Registers a callback to be used when an input report is issued by
    /// any enumerated device.
    ///
    /// An input report is an interrupt driver report issued by a device.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManagerRef.
    ///
    /// Parameter `callback`: Pointer to a callback method of type IOHIDReportCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDManagerRegisterInputReportCallback")]
    #[inline]
    pub unsafe fn register_input_report_callback(
        &self,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerRegisterInputReportCallback(
                manager: &IOHIDManager,
                callback: IOHIDReportCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDManagerRegisterInputReportCallback(self, callback, context) }
    }

    /// Registers a callback to be used when an input report is issued by
    /// any enumerated device.
    ///
    /// An input report is an interrupt driver report issued by a device.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManagerRef.
    ///
    /// Parameter `callback`: Pointer to a callback method of type
    /// IOHIDReportWithTimeStampCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDManagerRegisterInputReportWithTimeStampCallback")]
    #[inline]
    pub unsafe fn register_input_report_with_time_stamp_callback(
        &self,
        callback: IOHIDReportWithTimeStampCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerRegisterInputReportWithTimeStampCallback(
                manager: &IOHIDManager,
                callback: IOHIDReportWithTimeStampCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDManagerRegisterInputReportWithTimeStampCallback(self, callback, context) }
    }

    /// Registers a callback to be used when an input value is issued by
    /// any enumerated device.
    ///
    /// An input element refers to any element of type
    /// kIOHIDElementTypeInput and is usually issued by interrupt driven
    /// reports.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManagerRef.
    ///
    /// Parameter `callback`: Pointer to a callback method of type IOHIDValueCallback.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDManagerRegisterInputValueCallback")]
    #[inline]
    pub unsafe fn register_input_value_callback(
        &self,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerRegisterInputValueCallback(
                manager: &IOHIDManager,
                callback: IOHIDValueCallback,
                context: *mut c_void,
            );
        }
        unsafe { IOHIDManagerRegisterInputValueCallback(self, callback, context) }
    }

    /// Sets matching criteria for input values received via
    /// IOHIDManagerRegisterInputValueCallback.
    ///
    /// Matching keys are prefixed by kIOHIDElement and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.  Passing a NULL dictionary will result
    /// in all devices being enumerated. Any subsequent calls will cause
    /// the hid manager to release previously matched input elements and
    /// restart the matching process using the revised criteria.  If
    /// interested in multiple, specific device elements, please defer to
    /// using IOHIDManagerSetInputValueMatchingMultiple.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `matching`: CFDictionaryRef containg device matching criteria.
    ///
    /// # Safety
    ///
    /// `matching` generics must be of the correct type.
    #[doc(alias = "IOHIDManagerSetInputValueMatching")]
    #[inline]
    pub unsafe fn set_input_value_matching(&self, matching: Option<&CFDictionary>) {
        extern "C-unwind" {
            fn IOHIDManagerSetInputValueMatching(
                manager: &IOHIDManager,
                matching: Option<&CFDictionary>,
            );
        }
        unsafe { IOHIDManagerSetInputValueMatching(self, matching) }
    }

    /// Sets multiple matching criteria for input values received via
    /// IOHIDManagerRegisterInputValueCallback.
    ///
    /// Matching keys are prefixed by kIOHIDElement and declared in
    /// <IOKit
    /// /hid/IOHIDKeys.h>.  This method is useful if interested
    /// in multiple, specific elements.
    /// If a dispatch queue is set, this call must occur before activation.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `multiple`: CFArrayRef containing multiple CFDictionaryRef objects
    /// containing input element matching criteria.
    ///
    /// # Safety
    ///
    /// `multiple` generic must be of the correct type.
    #[doc(alias = "IOHIDManagerSetInputValueMatchingMultiple")]
    #[inline]
    pub unsafe fn set_input_value_matching_multiple(&self, multiple: Option<&CFArray>) {
        extern "C-unwind" {
            fn IOHIDManagerSetInputValueMatchingMultiple(
                manager: &IOHIDManager,
                multiple: Option<&CFArray>,
            );
        }
        unsafe { IOHIDManagerSetInputValueMatchingMultiple(self, multiple) }
    }

    /// Used to write out the current properties to a specific domain.
    ///
    /// Using this function will cause the persistent properties to be saved out
    /// replacing any properties that already existed in the specified domain. All arguments
    /// must be non-NULL except options.
    ///
    /// Parameter `manager`: Reference to an IOHIDManager.
    ///
    /// Parameter `applicationID`: Reference to a CFPreferences applicationID.
    ///
    /// Parameter `userName`: Reference to a CFPreferences userName.
    ///
    /// Parameter `hostName`: Reference to a CFPreferences hostName.
    ///
    /// Parameter `options`: Reserved for future use.
    #[doc(alias = "IOHIDManagerSaveToPropertyDomain")]
    #[inline]
    pub fn save_to_property_domain(
        &self,
        application_id: &CFString,
        user_name: &CFString,
        host_name: &CFString,
        options: IOOptionBits,
    ) {
        extern "C-unwind" {
            fn IOHIDManagerSaveToPropertyDomain(
                manager: &IOHIDManager,
                application_id: &CFString,
                user_name: &CFString,
                host_name: &CFString,
                options: IOOptionBits,
            );
        }
        unsafe {
            IOHIDManagerSaveToPropertyDomain(self, application_id, user_name, host_name, options)
        }
    }
}

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_undefined?language=objc)
pub const kHIDPage_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_genericdesktop?language=objc)
pub const kHIDPage_GenericDesktop: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_simulation?language=objc)
pub const kHIDPage_Simulation: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_vr?language=objc)
pub const kHIDPage_VR: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_sport?language=objc)
pub const kHIDPage_Sport: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_game?language=objc)
pub const kHIDPage_Game: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_genericdevicecontrols?language=objc)
pub const kHIDPage_GenericDeviceControls: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_keyboardorkeypad?language=objc)
pub const kHIDPage_KeyboardOrKeypad: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_leds?language=objc)
pub const kHIDPage_LEDs: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_button?language=objc)
pub const kHIDPage_Button: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_ordinal?language=objc)
pub const kHIDPage_Ordinal: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_telephony?language=objc)
pub const kHIDPage_Telephony: c_uint = 0x0B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_consumer?language=objc)
pub const kHIDPage_Consumer: c_uint = 0x0C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_digitizer?language=objc)
pub const kHIDPage_Digitizer: c_uint = 0x0D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_haptics?language=objc)
pub const kHIDPage_Haptics: c_uint = 0x0E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_pid?language=objc)
pub const kHIDPage_PID: c_uint = 0x0F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_unicode?language=objc)
pub const kHIDPage_Unicode: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_alphanumericdisplay?language=objc)
pub const kHIDPage_AlphanumericDisplay: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_sensor?language=objc)
pub const kHIDPage_Sensor: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_brailledisplay?language=objc)
pub const kHIDPage_BrailleDisplay: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_monitor?language=objc)
pub const kHIDPage_Monitor: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_monitorenumerated?language=objc)
pub const kHIDPage_MonitorEnumerated: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_monitorvirtual?language=objc)
pub const kHIDPage_MonitorVirtual: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_monitorreserved?language=objc)
pub const kHIDPage_MonitorReserved: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_powerdevice?language=objc)
pub const kHIDPage_PowerDevice: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_batterysystem?language=objc)
pub const kHIDPage_BatterySystem: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_powerreserved?language=objc)
pub const kHIDPage_PowerReserved: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_powerreserved2?language=objc)
pub const kHIDPage_PowerReserved2: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_barcodescanner?language=objc)
pub const kHIDPage_BarCodeScanner: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_weighingdevice?language=objc)
pub const kHIDPage_WeighingDevice: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_scale?language=objc)
pub const kHIDPage_Scale: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_magneticstripereader?language=objc)
pub const kHIDPage_MagneticStripeReader: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_cameracontrol?language=objc)
pub const kHIDPage_CameraControl: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_arcade?language=objc)
pub const kHIDPage_Arcade: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_fido?language=objc)
pub const kHIDPage_FIDO: c_uint = 0xF1D0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidpage_vendordefinedstart?language=objc)
pub const kHIDPage_VendorDefinedStart: c_uint = 0xFF00;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_undefined?language=objc)
pub const kHIDUsage_Undefined: c_uint = 0x00;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_pointer?language=objc)
pub const kHIDUsage_GD_Pointer: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_mouse?language=objc)
pub const kHIDUsage_GD_Mouse: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_joystick?language=objc)
pub const kHIDUsage_GD_Joystick: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_gamepad?language=objc)
pub const kHIDUsage_GD_GamePad: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_keyboard?language=objc)
pub const kHIDUsage_GD_Keyboard: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_keypad?language=objc)
pub const kHIDUsage_GD_Keypad: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_multiaxiscontroller?language=objc)
pub const kHIDUsage_GD_MultiAxisController: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_tabletpcsystemcontrols?language=objc)
pub const kHIDUsage_GD_TabletPCSystemControls: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_assistivecontrol?language=objc)
pub const kHIDUsage_GD_AssistiveControl: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmultiaxiscontroller?language=objc)
pub const kHIDUsage_GD_SystemMultiAxisController: c_uint = 0x0E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_spatialcontroller?language=objc)
pub const kHIDUsage_GD_SpatialController: c_uint = 0x0F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_assistivecontrolcompatible?language=objc)
pub const kHIDUsage_GD_AssistiveControlCompatible: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_x?language=objc)
pub const kHIDUsage_GD_X: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_y?language=objc)
pub const kHIDUsage_GD_Y: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_z?language=objc)
pub const kHIDUsage_GD_Z: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_rx?language=objc)
pub const kHIDUsage_GD_Rx: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_ry?language=objc)
pub const kHIDUsage_GD_Ry: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_rz?language=objc)
pub const kHIDUsage_GD_Rz: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_slider?language=objc)
pub const kHIDUsage_GD_Slider: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dial?language=objc)
pub const kHIDUsage_GD_Dial: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_wheel?language=objc)
pub const kHIDUsage_GD_Wheel: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_hatswitch?language=objc)
pub const kHIDUsage_GD_Hatswitch: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_countedbuffer?language=objc)
pub const kHIDUsage_GD_CountedBuffer: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_bytecount?language=objc)
pub const kHIDUsage_GD_ByteCount: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_motionwakeup?language=objc)
pub const kHIDUsage_GD_MotionWakeup: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_start?language=objc)
pub const kHIDUsage_GD_Start: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_select?language=objc)
pub const kHIDUsage_GD_Select: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vx?language=objc)
pub const kHIDUsage_GD_Vx: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vy?language=objc)
pub const kHIDUsage_GD_Vy: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vz?language=objc)
pub const kHIDUsage_GD_Vz: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vbrx?language=objc)
pub const kHIDUsage_GD_Vbrx: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vbry?language=objc)
pub const kHIDUsage_GD_Vbry: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vbrz?language=objc)
pub const kHIDUsage_GD_Vbrz: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_vno?language=objc)
pub const kHIDUsage_GD_Vno: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_featurenotification?language=objc)
pub const kHIDUsage_GD_FeatureNotification: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_resolutionmultiplier?language=objc)
pub const kHIDUsage_GD_ResolutionMultiplier: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_qx?language=objc)
pub const kHIDUsage_GD_Qx: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_qy?language=objc)
pub const kHIDUsage_GD_Qy: c_uint = 0x4A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_qz?language=objc)
pub const kHIDUsage_GD_Qz: c_uint = 0x4B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_qw?language=objc)
pub const kHIDUsage_GD_Qw: c_uint = 0x4C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemcontrol?language=objc)
pub const kHIDUsage_GD_SystemControl: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systempowerdown?language=objc)
pub const kHIDUsage_GD_SystemPowerDown: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemsleep?language=objc)
pub const kHIDUsage_GD_SystemSleep: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemwakeup?language=objc)
pub const kHIDUsage_GD_SystemWakeUp: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemcontextmenu?language=objc)
pub const kHIDUsage_GD_SystemContextMenu: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmainmenu?language=objc)
pub const kHIDUsage_GD_SystemMainMenu: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemappmenu?language=objc)
pub const kHIDUsage_GD_SystemAppMenu: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuhelp?language=objc)
pub const kHIDUsage_GD_SystemMenuHelp: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuexit?language=objc)
pub const kHIDUsage_GD_SystemMenuExit: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuselect?language=objc)
pub const kHIDUsage_GD_SystemMenuSelect: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenu?language=objc)
pub const kHIDUsage_GD_SystemMenu: c_uint = kHIDUsage_GD_SystemMenuSelect;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuright?language=objc)
pub const kHIDUsage_GD_SystemMenuRight: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuleft?language=objc)
pub const kHIDUsage_GD_SystemMenuLeft: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenuup?language=objc)
pub const kHIDUsage_GD_SystemMenuUp: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmenudown?language=objc)
pub const kHIDUsage_GD_SystemMenuDown: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemcoldrestart?language=objc)
pub const kHIDUsage_GD_SystemColdRestart: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemwarmrestart?language=objc)
pub const kHIDUsage_GD_SystemWarmRestart: c_uint = 0x8F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dpadup?language=objc)
pub const kHIDUsage_GD_DPadUp: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dpaddown?language=objc)
pub const kHIDUsage_GD_DPadDown: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dpadright?language=objc)
pub const kHIDUsage_GD_DPadRight: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dpadleft?language=objc)
pub const kHIDUsage_GD_DPadLeft: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_indextrigger?language=objc)
pub const kHIDUsage_GD_IndexTrigger: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_palmtrigger?language=objc)
pub const kHIDUsage_GD_PalmTrigger: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_thumbstick?language=objc)
pub const kHIDUsage_GD_Thumbstick: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_sfshift?language=objc)
pub const kHIDUsage_GD_SFShift: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_sfshiftlock?language=objc)
pub const kHIDUsage_GD_SFShiftLock: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_sfshiftlockindicator?language=objc)
pub const kHIDUsage_GD_SFShiftLockIndicator: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdismissnotification?language=objc)
pub const kHIDUsage_GD_SystemDismissNotification: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_donotdisturb?language=objc)
pub const kHIDUsage_GD_DoNotDisturb: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdock?language=objc)
pub const kHIDUsage_GD_SystemDock: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemundock?language=objc)
pub const kHIDUsage_GD_SystemUndock: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemsetup?language=objc)
pub const kHIDUsage_GD_SystemSetup: c_uint = 0xA2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systembreak?language=objc)
pub const kHIDUsage_GD_SystemBreak: c_uint = 0xA3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdebuggerbreak?language=objc)
pub const kHIDUsage_GD_SystemDebuggerBreak: c_uint = 0xA4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_applicationbreak?language=objc)
pub const kHIDUsage_GD_ApplicationBreak: c_uint = 0xA5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_applicationdebuggerbreak?language=objc)
pub const kHIDUsage_GD_ApplicationDebuggerBreak: c_uint = 0xA6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemspeakermute?language=objc)
pub const kHIDUsage_GD_SystemSpeakerMute: c_uint = 0xA7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemhibernate?language=objc)
pub const kHIDUsage_GD_SystemHibernate: c_uint = 0xA8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemmicrophonemute?language=objc)
pub const kHIDUsage_GD_SystemMicrophoneMute: c_uint = 0xA9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayinvert?language=objc)
pub const kHIDUsage_GD_SystemDisplayInvert: c_uint = 0xB0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayinternal?language=objc)
pub const kHIDUsage_GD_SystemDisplayInternal: c_uint = 0xB1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayexternal?language=objc)
pub const kHIDUsage_GD_SystemDisplayExternal: c_uint = 0xB2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayboth?language=objc)
pub const kHIDUsage_GD_SystemDisplayBoth: c_uint = 0xB3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplaydual?language=objc)
pub const kHIDUsage_GD_SystemDisplayDual: c_uint = 0xB4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplaytogglemode?language=objc)
pub const kHIDUsage_GD_SystemDisplayToggleMode: c_uint = 0xB5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayswap?language=objc)
pub const kHIDUsage_GD_SystemDisplaySwap: c_uint = 0xB6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplaytogglelcdautoscale?language=objc)
pub const kHIDUsage_GD_SystemDisplayToggleLCDAutoscale: c_uint = 0xB7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_sensorzone?language=objc)
pub const kHIDUsage_GD_SensorZone: c_uint = 0xC0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_rpm?language=objc)
pub const kHIDUsage_GD_RPM: c_uint = 0xC1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_coolantlevel?language=objc)
pub const kHIDUsage_GD_CoolantLevel: c_uint = 0xC2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_coolantcriticallevel?language=objc)
pub const kHIDUsage_GD_CoolantCriticalLevel: c_uint = 0xC3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_coolantpump?language=objc)
pub const kHIDUsage_GD_CoolantPump: c_uint = 0xC4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_chassisenclosure?language=objc)
pub const kHIDUsage_GD_ChassisEnclosure: c_uint = 0xC5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_wirelessradiobutton?language=objc)
pub const kHIDUsage_GD_WirelessRadioButton: c_uint = 0xC6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_wirelessradioled?language=objc)
pub const kHIDUsage_GD_WirelessRadioLED: c_uint = 0xC7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_wirelessradiosliderswitch?language=objc)
pub const kHIDUsage_GD_WirelessRadioSliderSwitch: c_uint = 0xC8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayrotationlockbutton?language=objc)
pub const kHIDUsage_GD_SystemDisplayRotationLockButton: c_uint = 0xC9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_systemdisplayrotationlocksliderswitch?language=objc)
pub const kHIDUsage_GD_SystemDisplayRotationLockSliderSwitch: c_uint = 0xCA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_controlenable?language=objc)
pub const kHIDUsage_GD_ControlEnable: c_uint = 0xCB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledeviceuniqueid?language=objc)
pub const kHIDUsage_GD_DockableDeviceUniqueID: c_uint = 0xD0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledevicevendorid?language=objc)
pub const kHIDUsage_GD_DockableDeviceVendorID: c_uint = 0xD1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledeviceprimaryusagepage?language=objc)
pub const kHIDUsage_GD_DockableDevicePrimaryUsagePage: c_uint = 0xD2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledeviceprimaryusageid?language=objc)
pub const kHIDUsage_GD_DockableDevicePrimaryUsageID: c_uint = 0xD3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledevicedockingstate?language=objc)
pub const kHIDUsage_GD_DockableDeviceDockingState: c_uint = 0xD4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledevicedisplayocclusion?language=objc)
pub const kHIDUsage_GD_DockableDeviceDisplayOcclusion: c_uint = 0xD5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_dockabledeviceobjecttype?language=objc)
pub const kHIDUsage_GD_DockableDeviceObjectType: c_uint = 0xD6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_callactiveled?language=objc)
pub const kHIDUsage_GD_CallActiveLED: c_uint = 0xE0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_callmutetoggle?language=objc)
pub const kHIDUsage_GD_CallMuteToggle: c_uint = 0xE1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_callmuteled?language=objc)
pub const kHIDUsage_GD_CallMuteLED: c_uint = 0xE2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gd_reserved?language=objc)
pub const kHIDUsage_GD_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flightsimulationdevice?language=objc)
pub const kHIDUsage_Sim_FlightSimulationDevice: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_automobilesimulationdevice?language=objc)
pub const kHIDUsage_Sim_AutomobileSimulationDevice: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_tanksimulationdevice?language=objc)
pub const kHIDUsage_Sim_TankSimulationDevice: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_spaceshipsimulationdevice?language=objc)
pub const kHIDUsage_Sim_SpaceshipSimulationDevice: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_submarinesimulationdevice?language=objc)
pub const kHIDUsage_Sim_SubmarineSimulationDevice: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_sailingsimulationdevice?language=objc)
pub const kHIDUsage_Sim_SailingSimulationDevice: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_motorcyclesimulationdevice?language=objc)
pub const kHIDUsage_Sim_MotorcycleSimulationDevice: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_sportssimulationdevice?language=objc)
pub const kHIDUsage_Sim_SportsSimulationDevice: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_airplanesimulationdevice?language=objc)
pub const kHIDUsage_Sim_AirplaneSimulationDevice: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_helicoptersimulationdevice?language=objc)
pub const kHIDUsage_Sim_HelicopterSimulationDevice: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_magiccarpetsimulationdevice?language=objc)
pub const kHIDUsage_Sim_MagicCarpetSimulationDevice: c_uint = 0x0B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_bicyclesimulationdevice?language=objc)
pub const kHIDUsage_Sim_BicycleSimulationDevice: c_uint = 0x0C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flightcontrolstick?language=objc)
pub const kHIDUsage_Sim_FlightControlStick: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flightstick?language=objc)
pub const kHIDUsage_Sim_FlightStick: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_cycliccontrol?language=objc)
pub const kHIDUsage_Sim_CyclicControl: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_cyclictrim?language=objc)
pub const kHIDUsage_Sim_CyclicTrim: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flightyoke?language=objc)
pub const kHIDUsage_Sim_FlightYoke: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_trackcontrol?language=objc)
pub const kHIDUsage_Sim_TrackControl: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_aileron?language=objc)
pub const kHIDUsage_Sim_Aileron: c_uint = 0xB0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_ailerontrim?language=objc)
pub const kHIDUsage_Sim_AileronTrim: c_uint = 0xB1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_antitorquecontrol?language=objc)
pub const kHIDUsage_Sim_AntiTorqueControl: c_uint = 0xB2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_autopilotenable?language=objc)
pub const kHIDUsage_Sim_AutopilotEnable: c_uint = 0xB3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_chaffrelease?language=objc)
pub const kHIDUsage_Sim_ChaffRelease: c_uint = 0xB4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_collectivecontrol?language=objc)
pub const kHIDUsage_Sim_CollectiveControl: c_uint = 0xB5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_divebrake?language=objc)
pub const kHIDUsage_Sim_DiveBrake: c_uint = 0xB6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_electroniccountermeasures?language=objc)
pub const kHIDUsage_Sim_ElectronicCountermeasures: c_uint = 0xB7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_elevator?language=objc)
pub const kHIDUsage_Sim_Elevator: c_uint = 0xB8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_elevatortrim?language=objc)
pub const kHIDUsage_Sim_ElevatorTrim: c_uint = 0xB9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_rudder?language=objc)
pub const kHIDUsage_Sim_Rudder: c_uint = 0xBA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_throttle?language=objc)
pub const kHIDUsage_Sim_Throttle: c_uint = 0xBB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flightcommunications?language=objc)
pub const kHIDUsage_Sim_FlightCommunications: c_uint = 0xBC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_flarerelease?language=objc)
pub const kHIDUsage_Sim_FlareRelease: c_uint = 0xBD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_landinggear?language=objc)
pub const kHIDUsage_Sim_LandingGear: c_uint = 0xBE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_toebrake?language=objc)
pub const kHIDUsage_Sim_ToeBrake: c_uint = 0xBF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_trigger?language=objc)
pub const kHIDUsage_Sim_Trigger: c_uint = 0xC0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_weaponsarm?language=objc)
pub const kHIDUsage_Sim_WeaponsArm: c_uint = 0xC1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_weapons?language=objc)
pub const kHIDUsage_Sim_Weapons: c_uint = 0xC2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_wingflaps?language=objc)
pub const kHIDUsage_Sim_WingFlaps: c_uint = 0xC3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_accelerator?language=objc)
pub const kHIDUsage_Sim_Accelerator: c_uint = 0xC4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_brake?language=objc)
pub const kHIDUsage_Sim_Brake: c_uint = 0xC5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_clutch?language=objc)
pub const kHIDUsage_Sim_Clutch: c_uint = 0xC6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_shifter?language=objc)
pub const kHIDUsage_Sim_Shifter: c_uint = 0xC7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_steering?language=objc)
pub const kHIDUsage_Sim_Steering: c_uint = 0xC8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_turretdirection?language=objc)
pub const kHIDUsage_Sim_TurretDirection: c_uint = 0xC9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_barrelelevation?language=objc)
pub const kHIDUsage_Sim_BarrelElevation: c_uint = 0xCA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_diveplane?language=objc)
pub const kHIDUsage_Sim_DivePlane: c_uint = 0xCB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_ballast?language=objc)
pub const kHIDUsage_Sim_Ballast: c_uint = 0xCC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_bicyclecrank?language=objc)
pub const kHIDUsage_Sim_BicycleCrank: c_uint = 0xCD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_handlebars?language=objc)
pub const kHIDUsage_Sim_HandleBars: c_uint = 0xCE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_frontbrake?language=objc)
pub const kHIDUsage_Sim_FrontBrake: c_uint = 0xCF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_rearbrake?language=objc)
pub const kHIDUsage_Sim_RearBrake: c_uint = 0xD0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sim_reserved?language=objc)
pub const kHIDUsage_Sim_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_belt?language=objc)
pub const kHIDUsage_VR_Belt: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_bodysuit?language=objc)
pub const kHIDUsage_VR_BodySuit: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_flexor?language=objc)
pub const kHIDUsage_VR_Flexor: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_glove?language=objc)
pub const kHIDUsage_VR_Glove: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_headtracker?language=objc)
pub const kHIDUsage_VR_HeadTracker: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_headmounteddisplay?language=objc)
pub const kHIDUsage_VR_HeadMountedDisplay: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_handtracker?language=objc)
pub const kHIDUsage_VR_HandTracker: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_oculometer?language=objc)
pub const kHIDUsage_VR_Oculometer: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_vest?language=objc)
pub const kHIDUsage_VR_Vest: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_animatronicdevice?language=objc)
pub const kHIDUsage_VR_AnimatronicDevice: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_stereoenable?language=objc)
pub const kHIDUsage_VR_StereoEnable: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_displayenable?language=objc)
pub const kHIDUsage_VR_DisplayEnable: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_vr_reserved?language=objc)
pub const kHIDUsage_VR_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_baseballbat?language=objc)
pub const kHIDUsage_Sprt_BaseballBat: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_golfclub?language=objc)
pub const kHIDUsage_Sprt_GolfClub: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_rowingmachine?language=objc)
pub const kHIDUsage_Sprt_RowingMachine: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_treadmill?language=objc)
pub const kHIDUsage_Sprt_Treadmill: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_oar?language=objc)
pub const kHIDUsage_Sprt_Oar: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_slope?language=objc)
pub const kHIDUsage_Sprt_Slope: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_rate?language=objc)
pub const kHIDUsage_Sprt_Rate: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_stickspeed?language=objc)
pub const kHIDUsage_Sprt_StickSpeed: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_stickfaceangle?language=objc)
pub const kHIDUsage_Sprt_StickFaceAngle: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_stickheelortoe?language=objc)
pub const kHIDUsage_Sprt_StickHeelOrToe: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_stickfollowthrough?language=objc)
pub const kHIDUsage_Sprt_StickFollowThrough: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_sticktempo?language=objc)
pub const kHIDUsage_Sprt_StickTempo: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_sticktype?language=objc)
pub const kHIDUsage_Sprt_StickType: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_stickheight?language=objc)
pub const kHIDUsage_Sprt_StickHeight: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_putter?language=objc)
pub const kHIDUsage_Sprt_Putter: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_1iron?language=objc)
pub const kHIDUsage_Sprt_1Iron: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_2iron?language=objc)
pub const kHIDUsage_Sprt_2Iron: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_3iron?language=objc)
pub const kHIDUsage_Sprt_3Iron: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_4iron?language=objc)
pub const kHIDUsage_Sprt_4Iron: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_5iron?language=objc)
pub const kHIDUsage_Sprt_5Iron: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_6iron?language=objc)
pub const kHIDUsage_Sprt_6Iron: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_7iron?language=objc)
pub const kHIDUsage_Sprt_7Iron: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_8iron?language=objc)
pub const kHIDUsage_Sprt_8Iron: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_9iron?language=objc)
pub const kHIDUsage_Sprt_9Iron: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_10iron?language=objc)
pub const kHIDUsage_Sprt_10Iron: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_11iron?language=objc)
pub const kHIDUsage_Sprt_11Iron: c_uint = 0x5B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_sandwedge?language=objc)
pub const kHIDUsage_Sprt_SandWedge: c_uint = 0x5C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_loftwedge?language=objc)
pub const kHIDUsage_Sprt_LoftWedge: c_uint = 0x5D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_powerwedge?language=objc)
pub const kHIDUsage_Sprt_PowerWedge: c_uint = 0x5E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_1wood?language=objc)
pub const kHIDUsage_Sprt_1Wood: c_uint = 0x5F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_3wood?language=objc)
pub const kHIDUsage_Sprt_3Wood: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_5wood?language=objc)
pub const kHIDUsage_Sprt_5Wood: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_7wood?language=objc)
pub const kHIDUsage_Sprt_7Wood: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_9wood?language=objc)
pub const kHIDUsage_Sprt_9Wood: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_sprt_reserved?language=objc)
pub const kHIDUsage_Sprt_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_3dgamecontroller?language=objc)
pub const kHIDUsage_Game_3DGameController: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_pinballdevice?language=objc)
pub const kHIDUsage_Game_PinballDevice: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gundevice?language=objc)
pub const kHIDUsage_Game_GunDevice: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_pointofview?language=objc)
pub const kHIDUsage_Game_PointofView: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_turnrightorleft?language=objc)
pub const kHIDUsage_Game_TurnRightOrLeft: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_pitchupordown?language=objc)
pub const kHIDUsage_Game_PitchUpOrDown: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_rollrightorleft?language=objc)
pub const kHIDUsage_Game_RollRightOrLeft: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_moverightorleft?language=objc)
pub const kHIDUsage_Game_MoveRightOrLeft: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_moveforwardorbackward?language=objc)
pub const kHIDUsage_Game_MoveForwardOrBackward: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_moveupordown?language=objc)
pub const kHIDUsage_Game_MoveUpOrDown: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_leanrightorleft?language=objc)
pub const kHIDUsage_Game_LeanRightOrLeft: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_leanforwardorbackward?language=objc)
pub const kHIDUsage_Game_LeanForwardOrBackward: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_heightofpov?language=objc)
pub const kHIDUsage_Game_HeightOfPOV: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_flipper?language=objc)
pub const kHIDUsage_Game_Flipper: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_secondaryflipper?language=objc)
pub const kHIDUsage_Game_SecondaryFlipper: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_bump?language=objc)
pub const kHIDUsage_Game_Bump: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_newgame?language=objc)
pub const kHIDUsage_Game_NewGame: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_shootball?language=objc)
pub const kHIDUsage_Game_ShootBall: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_player?language=objc)
pub const kHIDUsage_Game_Player: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunbolt?language=objc)
pub const kHIDUsage_Game_GunBolt: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunclip?language=objc)
pub const kHIDUsage_Game_GunClip: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gun?language=objc)
pub const kHIDUsage_Game_Gun: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunsingleshot?language=objc)
pub const kHIDUsage_Game_GunSingleShot: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunburst?language=objc)
pub const kHIDUsage_Game_GunBurst: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunautomatic?language=objc)
pub const kHIDUsage_Game_GunAutomatic: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gunsafety?language=objc)
pub const kHIDUsage_Game_GunSafety: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gamepadfireorjump?language=objc)
pub const kHIDUsage_Game_GamepadFireOrJump: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gamepadtrigger?language=objc)
pub const kHIDUsage_Game_GamepadTrigger: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gamepadformfitting_compatibility?language=objc)
pub const kHIDUsage_Game_GamepadFormFitting_Compatibility: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_gamepadformfitting?language=objc)
pub const kHIDUsage_Game_GamepadFormFitting: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_game_reserved?language=objc)
pub const kHIDUsage_Game_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gendevcontrols_backgroundcontrols?language=objc)
pub const kHIDUsage_GenDevControls_BackgroundControls: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_gendevcontrols_batterystrength?language=objc)
pub const kHIDUsage_GenDevControls_BatteryStrength: c_uint = 0x20;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarderrorrollover?language=objc)
pub const kHIDUsage_KeyboardErrorRollOver: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpostfail?language=objc)
pub const kHIDUsage_KeyboardPOSTFail: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarderrorundefined?language=objc)
pub const kHIDUsage_KeyboardErrorUndefined: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarda?language=objc)
pub const kHIDUsage_KeyboardA: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardb?language=objc)
pub const kHIDUsage_KeyboardB: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardc?language=objc)
pub const kHIDUsage_KeyboardC: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardd?language=objc)
pub const kHIDUsage_KeyboardD: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarde?language=objc)
pub const kHIDUsage_KeyboardE: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf?language=objc)
pub const kHIDUsage_KeyboardF: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardg?language=objc)
pub const kHIDUsage_KeyboardG: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardh?language=objc)
pub const kHIDUsage_KeyboardH: c_uint = 0x0B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardi?language=objc)
pub const kHIDUsage_KeyboardI: c_uint = 0x0C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardj?language=objc)
pub const kHIDUsage_KeyboardJ: c_uint = 0x0D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardk?language=objc)
pub const kHIDUsage_KeyboardK: c_uint = 0x0E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardl?language=objc)
pub const kHIDUsage_KeyboardL: c_uint = 0x0F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardm?language=objc)
pub const kHIDUsage_KeyboardM: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardn?language=objc)
pub const kHIDUsage_KeyboardN: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardo?language=objc)
pub const kHIDUsage_KeyboardO: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardp?language=objc)
pub const kHIDUsage_KeyboardP: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardq?language=objc)
pub const kHIDUsage_KeyboardQ: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardr?language=objc)
pub const kHIDUsage_KeyboardR: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboards?language=objc)
pub const kHIDUsage_KeyboardS: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardt?language=objc)
pub const kHIDUsage_KeyboardT: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardu?language=objc)
pub const kHIDUsage_KeyboardU: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardv?language=objc)
pub const kHIDUsage_KeyboardV: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardw?language=objc)
pub const kHIDUsage_KeyboardW: c_uint = 0x1A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardx?language=objc)
pub const kHIDUsage_KeyboardX: c_uint = 0x1B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardy?language=objc)
pub const kHIDUsage_KeyboardY: c_uint = 0x1C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardz?language=objc)
pub const kHIDUsage_KeyboardZ: c_uint = 0x1D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard1?language=objc)
pub const kHIDUsage_Keyboard1: c_uint = 0x1E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard2?language=objc)
pub const kHIDUsage_Keyboard2: c_uint = 0x1F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard3?language=objc)
pub const kHIDUsage_Keyboard3: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard4?language=objc)
pub const kHIDUsage_Keyboard4: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard5?language=objc)
pub const kHIDUsage_Keyboard5: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard6?language=objc)
pub const kHIDUsage_Keyboard6: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard7?language=objc)
pub const kHIDUsage_Keyboard7: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard8?language=objc)
pub const kHIDUsage_Keyboard8: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard9?language=objc)
pub const kHIDUsage_Keyboard9: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard0?language=objc)
pub const kHIDUsage_Keyboard0: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardreturnorenter?language=objc)
pub const kHIDUsage_KeyboardReturnOrEnter: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardescape?language=objc)
pub const kHIDUsage_KeyboardEscape: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarddeleteorbackspace?language=objc)
pub const kHIDUsage_KeyboardDeleteOrBackspace: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardtab?language=objc)
pub const kHIDUsage_KeyboardTab: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardspacebar?language=objc)
pub const kHIDUsage_KeyboardSpacebar: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardhyphen?language=objc)
pub const kHIDUsage_KeyboardHyphen: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardequalsign?language=objc)
pub const kHIDUsage_KeyboardEqualSign: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardopenbracket?language=objc)
pub const kHIDUsage_KeyboardOpenBracket: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardclosebracket?language=objc)
pub const kHIDUsage_KeyboardCloseBracket: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardbackslash?language=objc)
pub const kHIDUsage_KeyboardBackslash: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardnonuspound?language=objc)
pub const kHIDUsage_KeyboardNonUSPound: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardsemicolon?language=objc)
pub const kHIDUsage_KeyboardSemicolon: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardquote?language=objc)
pub const kHIDUsage_KeyboardQuote: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardgraveaccentandtilde?language=objc)
pub const kHIDUsage_KeyboardGraveAccentAndTilde: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcomma?language=objc)
pub const kHIDUsage_KeyboardComma: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardperiod?language=objc)
pub const kHIDUsage_KeyboardPeriod: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardslash?language=objc)
pub const kHIDUsage_KeyboardSlash: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcapslock?language=objc)
pub const kHIDUsage_KeyboardCapsLock: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf1?language=objc)
pub const kHIDUsage_KeyboardF1: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf2?language=objc)
pub const kHIDUsage_KeyboardF2: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf3?language=objc)
pub const kHIDUsage_KeyboardF3: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf4?language=objc)
pub const kHIDUsage_KeyboardF4: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf5?language=objc)
pub const kHIDUsage_KeyboardF5: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf6?language=objc)
pub const kHIDUsage_KeyboardF6: c_uint = 0x3F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf7?language=objc)
pub const kHIDUsage_KeyboardF7: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf8?language=objc)
pub const kHIDUsage_KeyboardF8: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf9?language=objc)
pub const kHIDUsage_KeyboardF9: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf10?language=objc)
pub const kHIDUsage_KeyboardF10: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf11?language=objc)
pub const kHIDUsage_KeyboardF11: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf12?language=objc)
pub const kHIDUsage_KeyboardF12: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardprintscreen?language=objc)
pub const kHIDUsage_KeyboardPrintScreen: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardscrolllock?language=objc)
pub const kHIDUsage_KeyboardScrollLock: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpause?language=objc)
pub const kHIDUsage_KeyboardPause: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinsert?language=objc)
pub const kHIDUsage_KeyboardInsert: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardhome?language=objc)
pub const kHIDUsage_KeyboardHome: c_uint = 0x4A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpageup?language=objc)
pub const kHIDUsage_KeyboardPageUp: c_uint = 0x4B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarddeleteforward?language=objc)
pub const kHIDUsage_KeyboardDeleteForward: c_uint = 0x4C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardend?language=objc)
pub const kHIDUsage_KeyboardEnd: c_uint = 0x4D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpagedown?language=objc)
pub const kHIDUsage_KeyboardPageDown: c_uint = 0x4E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardrightarrow?language=objc)
pub const kHIDUsage_KeyboardRightArrow: c_uint = 0x4F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardleftarrow?language=objc)
pub const kHIDUsage_KeyboardLeftArrow: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarddownarrow?language=objc)
pub const kHIDUsage_KeyboardDownArrow: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboarduparrow?language=objc)
pub const kHIDUsage_KeyboardUpArrow: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadnumlock?language=objc)
pub const kHIDUsage_KeypadNumLock: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadslash?language=objc)
pub const kHIDUsage_KeypadSlash: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadasterisk?language=objc)
pub const kHIDUsage_KeypadAsterisk: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadhyphen?language=objc)
pub const kHIDUsage_KeypadHyphen: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadplus?language=objc)
pub const kHIDUsage_KeypadPlus: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadenter?language=objc)
pub const kHIDUsage_KeypadEnter: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad1?language=objc)
pub const kHIDUsage_Keypad1: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad2?language=objc)
pub const kHIDUsage_Keypad2: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad3?language=objc)
pub const kHIDUsage_Keypad3: c_uint = 0x5B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad4?language=objc)
pub const kHIDUsage_Keypad4: c_uint = 0x5C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad5?language=objc)
pub const kHIDUsage_Keypad5: c_uint = 0x5D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad6?language=objc)
pub const kHIDUsage_Keypad6: c_uint = 0x5E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad7?language=objc)
pub const kHIDUsage_Keypad7: c_uint = 0x5F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad8?language=objc)
pub const kHIDUsage_Keypad8: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad9?language=objc)
pub const kHIDUsage_Keypad9: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypad0?language=objc)
pub const kHIDUsage_Keypad0: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadperiod?language=objc)
pub const kHIDUsage_KeypadPeriod: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardnonusbackslash?language=objc)
pub const kHIDUsage_KeyboardNonUSBackslash: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardapplication?language=objc)
pub const kHIDUsage_KeyboardApplication: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpower?language=objc)
pub const kHIDUsage_KeyboardPower: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadequalsign?language=objc)
pub const kHIDUsage_KeypadEqualSign: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf13?language=objc)
pub const kHIDUsage_KeyboardF13: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf14?language=objc)
pub const kHIDUsage_KeyboardF14: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf15?language=objc)
pub const kHIDUsage_KeyboardF15: c_uint = 0x6A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf16?language=objc)
pub const kHIDUsage_KeyboardF16: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf17?language=objc)
pub const kHIDUsage_KeyboardF17: c_uint = 0x6C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf18?language=objc)
pub const kHIDUsage_KeyboardF18: c_uint = 0x6D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf19?language=objc)
pub const kHIDUsage_KeyboardF19: c_uint = 0x6E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf20?language=objc)
pub const kHIDUsage_KeyboardF20: c_uint = 0x6F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf21?language=objc)
pub const kHIDUsage_KeyboardF21: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf22?language=objc)
pub const kHIDUsage_KeyboardF22: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf23?language=objc)
pub const kHIDUsage_KeyboardF23: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardf24?language=objc)
pub const kHIDUsage_KeyboardF24: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardexecute?language=objc)
pub const kHIDUsage_KeyboardExecute: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardhelp?language=objc)
pub const kHIDUsage_KeyboardHelp: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardmenu?language=objc)
pub const kHIDUsage_KeyboardMenu: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardselect?language=objc)
pub const kHIDUsage_KeyboardSelect: c_uint = 0x77;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardstop?language=objc)
pub const kHIDUsage_KeyboardStop: c_uint = 0x78;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardagain?language=objc)
pub const kHIDUsage_KeyboardAgain: c_uint = 0x79;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardundo?language=objc)
pub const kHIDUsage_KeyboardUndo: c_uint = 0x7A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcut?language=objc)
pub const kHIDUsage_KeyboardCut: c_uint = 0x7B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcopy?language=objc)
pub const kHIDUsage_KeyboardCopy: c_uint = 0x7C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardpaste?language=objc)
pub const kHIDUsage_KeyboardPaste: c_uint = 0x7D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardfind?language=objc)
pub const kHIDUsage_KeyboardFind: c_uint = 0x7E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardmute?language=objc)
pub const kHIDUsage_KeyboardMute: c_uint = 0x7F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardvolumeup?language=objc)
pub const kHIDUsage_KeyboardVolumeUp: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardvolumedown?language=objc)
pub const kHIDUsage_KeyboardVolumeDown: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlockingcapslock?language=objc)
pub const kHIDUsage_KeyboardLockingCapsLock: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlockingnumlock?language=objc)
pub const kHIDUsage_KeyboardLockingNumLock: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlockingscrolllock?language=objc)
pub const kHIDUsage_KeyboardLockingScrollLock: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadcomma?language=objc)
pub const kHIDUsage_KeypadComma: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keypadequalsignas400?language=objc)
pub const kHIDUsage_KeypadEqualSignAS400: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational1?language=objc)
pub const kHIDUsage_KeyboardInternational1: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational2?language=objc)
pub const kHIDUsage_KeyboardInternational2: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational3?language=objc)
pub const kHIDUsage_KeyboardInternational3: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational4?language=objc)
pub const kHIDUsage_KeyboardInternational4: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational5?language=objc)
pub const kHIDUsage_KeyboardInternational5: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational6?language=objc)
pub const kHIDUsage_KeyboardInternational6: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational7?language=objc)
pub const kHIDUsage_KeyboardInternational7: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational8?language=objc)
pub const kHIDUsage_KeyboardInternational8: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardinternational9?language=objc)
pub const kHIDUsage_KeyboardInternational9: c_uint = 0x8F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang1?language=objc)
pub const kHIDUsage_KeyboardLANG1: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang2?language=objc)
pub const kHIDUsage_KeyboardLANG2: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang3?language=objc)
pub const kHIDUsage_KeyboardLANG3: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang4?language=objc)
pub const kHIDUsage_KeyboardLANG4: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang5?language=objc)
pub const kHIDUsage_KeyboardLANG5: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang6?language=objc)
pub const kHIDUsage_KeyboardLANG6: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang7?language=objc)
pub const kHIDUsage_KeyboardLANG7: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang8?language=objc)
pub const kHIDUsage_KeyboardLANG8: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardlang9?language=objc)
pub const kHIDUsage_KeyboardLANG9: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardalternateerase?language=objc)
pub const kHIDUsage_KeyboardAlternateErase: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardsysreqorattention?language=objc)
pub const kHIDUsage_KeyboardSysReqOrAttention: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcancel?language=objc)
pub const kHIDUsage_KeyboardCancel: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardclear?language=objc)
pub const kHIDUsage_KeyboardClear: c_uint = 0x9C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardprior?language=objc)
pub const kHIDUsage_KeyboardPrior: c_uint = 0x9D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardreturn?language=objc)
pub const kHIDUsage_KeyboardReturn: c_uint = 0x9E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardseparator?language=objc)
pub const kHIDUsage_KeyboardSeparator: c_uint = 0x9F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardout?language=objc)
pub const kHIDUsage_KeyboardOut: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardoper?language=objc)
pub const kHIDUsage_KeyboardOper: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardclearoragain?language=objc)
pub const kHIDUsage_KeyboardClearOrAgain: c_uint = 0xA2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardcrselorprops?language=objc)
pub const kHIDUsage_KeyboardCrSelOrProps: c_uint = 0xA3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardexsel?language=objc)
pub const kHIDUsage_KeyboardExSel: c_uint = 0xA4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardleftcontrol?language=objc)
pub const kHIDUsage_KeyboardLeftControl: c_uint = 0xE0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardleftshift?language=objc)
pub const kHIDUsage_KeyboardLeftShift: c_uint = 0xE1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardleftalt?language=objc)
pub const kHIDUsage_KeyboardLeftAlt: c_uint = 0xE2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardleftgui?language=objc)
pub const kHIDUsage_KeyboardLeftGUI: c_uint = 0xE3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardrightcontrol?language=objc)
pub const kHIDUsage_KeyboardRightControl: c_uint = 0xE4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardrightshift?language=objc)
pub const kHIDUsage_KeyboardRightShift: c_uint = 0xE5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardrightalt?language=objc)
pub const kHIDUsage_KeyboardRightAlt: c_uint = 0xE6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboardrightgui?language=objc)
pub const kHIDUsage_KeyboardRightGUI: c_uint = 0xE7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_keyboard_reserved?language=objc)
pub const kHIDUsage_Keyboard_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_numlock?language=objc)
pub const kHIDUsage_LED_NumLock: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_capslock?language=objc)
pub const kHIDUsage_LED_CapsLock: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_scrolllock?language=objc)
pub const kHIDUsage_LED_ScrollLock: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_compose?language=objc)
pub const kHIDUsage_LED_Compose: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_kana?language=objc)
pub const kHIDUsage_LED_Kana: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_power?language=objc)
pub const kHIDUsage_LED_Power: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_shift?language=objc)
pub const kHIDUsage_LED_Shift: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_donotdisturb?language=objc)
pub const kHIDUsage_LED_DoNotDisturb: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_mute?language=objc)
pub const kHIDUsage_LED_Mute: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_toneenable?language=objc)
pub const kHIDUsage_LED_ToneEnable: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_highcutfilter?language=objc)
pub const kHIDUsage_LED_HighCutFilter: c_uint = 0x0B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_lowcutfilter?language=objc)
pub const kHIDUsage_LED_LowCutFilter: c_uint = 0x0C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_equalizerenable?language=objc)
pub const kHIDUsage_LED_EqualizerEnable: c_uint = 0x0D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_soundfieldon?language=objc)
pub const kHIDUsage_LED_SoundFieldOn: c_uint = 0x0E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_surroundon?language=objc)
pub const kHIDUsage_LED_SurroundOn: c_uint = 0x0F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_repeat?language=objc)
pub const kHIDUsage_LED_Repeat: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_stereo?language=objc)
pub const kHIDUsage_LED_Stereo: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_samplingratedetect?language=objc)
pub const kHIDUsage_LED_SamplingRateDetect: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_spinning?language=objc)
pub const kHIDUsage_LED_Spinning: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_cav?language=objc)
pub const kHIDUsage_LED_CAV: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_clv?language=objc)
pub const kHIDUsage_LED_CLV: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_recordingformatdetect?language=objc)
pub const kHIDUsage_LED_RecordingFormatDetect: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_offhook?language=objc)
pub const kHIDUsage_LED_OffHook: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_ring?language=objc)
pub const kHIDUsage_LED_Ring: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_messagewaiting?language=objc)
pub const kHIDUsage_LED_MessageWaiting: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_datamode?language=objc)
pub const kHIDUsage_LED_DataMode: c_uint = 0x1A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_batteryoperation?language=objc)
pub const kHIDUsage_LED_BatteryOperation: c_uint = 0x1B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_batteryok?language=objc)
pub const kHIDUsage_LED_BatteryOK: c_uint = 0x1C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_batterylow?language=objc)
pub const kHIDUsage_LED_BatteryLow: c_uint = 0x1D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_speaker?language=objc)
pub const kHIDUsage_LED_Speaker: c_uint = 0x1E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_headset?language=objc)
pub const kHIDUsage_LED_HeadSet: c_uint = 0x1F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_hold?language=objc)
pub const kHIDUsage_LED_Hold: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_microphone?language=objc)
pub const kHIDUsage_LED_Microphone: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_coverage?language=objc)
pub const kHIDUsage_LED_Coverage: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_nightmode?language=objc)
pub const kHIDUsage_LED_NightMode: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_sendcalls?language=objc)
pub const kHIDUsage_LED_SendCalls: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_callpickup?language=objc)
pub const kHIDUsage_LED_CallPickup: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_conference?language=objc)
pub const kHIDUsage_LED_Conference: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_standby?language=objc)
pub const kHIDUsage_LED_StandBy: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_cameraon?language=objc)
pub const kHIDUsage_LED_CameraOn: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_cameraoff?language=objc)
pub const kHIDUsage_LED_CameraOff: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_online?language=objc)
pub const kHIDUsage_LED_OnLine: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_offline?language=objc)
pub const kHIDUsage_LED_OffLine: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_busy?language=objc)
pub const kHIDUsage_LED_Busy: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_ready?language=objc)
pub const kHIDUsage_LED_Ready: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_paperout?language=objc)
pub const kHIDUsage_LED_PaperOut: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_paperjam?language=objc)
pub const kHIDUsage_LED_PaperJam: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_remote?language=objc)
pub const kHIDUsage_LED_Remote: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_forward?language=objc)
pub const kHIDUsage_LED_Forward: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_reverse?language=objc)
pub const kHIDUsage_LED_Reverse: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_stop?language=objc)
pub const kHIDUsage_LED_Stop: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_rewind?language=objc)
pub const kHIDUsage_LED_Rewind: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_fastforward?language=objc)
pub const kHIDUsage_LED_FastForward: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_play?language=objc)
pub const kHIDUsage_LED_Play: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_pause?language=objc)
pub const kHIDUsage_LED_Pause: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_record?language=objc)
pub const kHIDUsage_LED_Record: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_error?language=objc)
pub const kHIDUsage_LED_Error: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_usage?language=objc)
pub const kHIDUsage_LED_Usage: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_usageinuseindicator?language=objc)
pub const kHIDUsage_LED_UsageInUseIndicator: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_usagemultimodeindicator?language=objc)
pub const kHIDUsage_LED_UsageMultiModeIndicator: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatoron?language=objc)
pub const kHIDUsage_LED_IndicatorOn: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorflash?language=objc)
pub const kHIDUsage_LED_IndicatorFlash: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorslowblink?language=objc)
pub const kHIDUsage_LED_IndicatorSlowBlink: c_uint = 0x3F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorfastblink?language=objc)
pub const kHIDUsage_LED_IndicatorFastBlink: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatoroff?language=objc)
pub const kHIDUsage_LED_IndicatorOff: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_flashontime?language=objc)
pub const kHIDUsage_LED_FlashOnTime: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_slowblinkontime?language=objc)
pub const kHIDUsage_LED_SlowBlinkOnTime: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_slowblinkofftime?language=objc)
pub const kHIDUsage_LED_SlowBlinkOffTime: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_fastblinkontime?language=objc)
pub const kHIDUsage_LED_FastBlinkOnTime: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_fastblinkofftime?language=objc)
pub const kHIDUsage_LED_FastBlinkOffTime: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_usageindicatorcolor?language=objc)
pub const kHIDUsage_LED_UsageIndicatorColor: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorred?language=objc)
pub const kHIDUsage_LED_IndicatorRed: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorgreen?language=objc)
pub const kHIDUsage_LED_IndicatorGreen: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatoramber?language=objc)
pub const kHIDUsage_LED_IndicatorAmber: c_uint = 0x4A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_genericindicator?language=objc)
pub const kHIDUsage_LED_GenericIndicator: c_uint = 0x4B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_systemsuspend?language=objc)
pub const kHIDUsage_LED_SystemSuspend: c_uint = 0x4C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_externalpowerconnected?language=objc)
pub const kHIDUsage_LED_ExternalPowerConnected: c_uint = 0x4D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatorblue?language=objc)
pub const kHIDUsage_LED_IndicatorBlue: c_uint = 0x4E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_indicatororange?language=objc)
pub const kHIDUsage_LED_IndicatorOrange: c_uint = 0x4F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_goodstatus?language=objc)
pub const kHIDUsage_LED_GoodStatus: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_warningstatus?language=objc)
pub const kHIDUsage_LED_WarningStatus: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_rgb_led?language=objc)
pub const kHIDUsage_LED_RGB_LED: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_redledchannel?language=objc)
pub const kHIDUsage_LED_RedLEDChannel: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_blueledchannel?language=objc)
pub const kHIDUsage_LED_BlueLEDChannel: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_greenledchannel?language=objc)
pub const kHIDUsage_LED_GreenLEDChannel: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_ledintensity?language=objc)
pub const kHIDUsage_LED_LEDIntensity: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_systemmicrophonemute?language=objc)
pub const kHIDUsage_LED_SystemMicrophoneMute: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_playerindicator?language=objc)
pub const kHIDUsage_LED_PlayerIndicator: c_uint = 0x4E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player1?language=objc)
pub const kHIDUsage_LED_Player1: c_uint = 0x4F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player2?language=objc)
pub const kHIDUsage_LED_Player2: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player3?language=objc)
pub const kHIDUsage_LED_Player3: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player4?language=objc)
pub const kHIDUsage_LED_Player4: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player5?language=objc)
pub const kHIDUsage_LED_Player5: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player6?language=objc)
pub const kHIDUsage_LED_Player6: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player7?language=objc)
pub const kHIDUsage_LED_Player7: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_player8?language=objc)
pub const kHIDUsage_LED_Player8: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_led_reserved?language=objc)
pub const kHIDUsage_LED_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_1?language=objc)
pub const kHIDUsage_Button_1: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_2?language=objc)
pub const kHIDUsage_Button_2: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_3?language=objc)
pub const kHIDUsage_Button_3: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_4?language=objc)
pub const kHIDUsage_Button_4: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_5?language=objc)
pub const kHIDUsage_Button_5: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_6?language=objc)
pub const kHIDUsage_Button_6: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_7?language=objc)
pub const kHIDUsage_Button_7: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_8?language=objc)
pub const kHIDUsage_Button_8: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_9?language=objc)
pub const kHIDUsage_Button_9: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_10?language=objc)
pub const kHIDUsage_Button_10: c_uint = 0x0a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_11?language=objc)
pub const kHIDUsage_Button_11: c_uint = 0x0b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_12?language=objc)
pub const kHIDUsage_Button_12: c_uint = 0x0c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_13?language=objc)
pub const kHIDUsage_Button_13: c_uint = 0x0d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_14?language=objc)
pub const kHIDUsage_Button_14: c_uint = 0x0e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_15?language=objc)
pub const kHIDUsage_Button_15: c_uint = 0x0f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_16?language=objc)
pub const kHIDUsage_Button_16: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_17?language=objc)
pub const kHIDUsage_Button_17: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_18?language=objc)
pub const kHIDUsage_Button_18: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_19?language=objc)
pub const kHIDUsage_Button_19: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_20?language=objc)
pub const kHIDUsage_Button_20: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_21?language=objc)
pub const kHIDUsage_Button_21: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_22?language=objc)
pub const kHIDUsage_Button_22: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_23?language=objc)
pub const kHIDUsage_Button_23: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_24?language=objc)
pub const kHIDUsage_Button_24: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_25?language=objc)
pub const kHIDUsage_Button_25: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_26?language=objc)
pub const kHIDUsage_Button_26: c_uint = 0x1a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_27?language=objc)
pub const kHIDUsage_Button_27: c_uint = 0x1b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_28?language=objc)
pub const kHIDUsage_Button_28: c_uint = 0x1c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_29?language=objc)
pub const kHIDUsage_Button_29: c_uint = 0x1d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_30?language=objc)
pub const kHIDUsage_Button_30: c_uint = 0x1e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_31?language=objc)
pub const kHIDUsage_Button_31: c_uint = 0x1f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_32?language=objc)
pub const kHIDUsage_Button_32: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_33?language=objc)
pub const kHIDUsage_Button_33: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_34?language=objc)
pub const kHIDUsage_Button_34: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_35?language=objc)
pub const kHIDUsage_Button_35: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_36?language=objc)
pub const kHIDUsage_Button_36: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_37?language=objc)
pub const kHIDUsage_Button_37: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_38?language=objc)
pub const kHIDUsage_Button_38: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_39?language=objc)
pub const kHIDUsage_Button_39: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_40?language=objc)
pub const kHIDUsage_Button_40: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_41?language=objc)
pub const kHIDUsage_Button_41: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_42?language=objc)
pub const kHIDUsage_Button_42: c_uint = 0x2a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_43?language=objc)
pub const kHIDUsage_Button_43: c_uint = 0x2b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_44?language=objc)
pub const kHIDUsage_Button_44: c_uint = 0x2c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_45?language=objc)
pub const kHIDUsage_Button_45: c_uint = 0x2d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_46?language=objc)
pub const kHIDUsage_Button_46: c_uint = 0x2e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_47?language=objc)
pub const kHIDUsage_Button_47: c_uint = 0x2f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_48?language=objc)
pub const kHIDUsage_Button_48: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_49?language=objc)
pub const kHIDUsage_Button_49: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_50?language=objc)
pub const kHIDUsage_Button_50: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_51?language=objc)
pub const kHIDUsage_Button_51: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_52?language=objc)
pub const kHIDUsage_Button_52: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_53?language=objc)
pub const kHIDUsage_Button_53: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_54?language=objc)
pub const kHIDUsage_Button_54: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_55?language=objc)
pub const kHIDUsage_Button_55: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_56?language=objc)
pub const kHIDUsage_Button_56: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_57?language=objc)
pub const kHIDUsage_Button_57: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_58?language=objc)
pub const kHIDUsage_Button_58: c_uint = 0x3a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_59?language=objc)
pub const kHIDUsage_Button_59: c_uint = 0x3b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_60?language=objc)
pub const kHIDUsage_Button_60: c_uint = 0x3c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_61?language=objc)
pub const kHIDUsage_Button_61: c_uint = 0x3d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_62?language=objc)
pub const kHIDUsage_Button_62: c_uint = 0x3e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_63?language=objc)
pub const kHIDUsage_Button_63: c_uint = 0x3f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_64?language=objc)
pub const kHIDUsage_Button_64: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_65?language=objc)
pub const kHIDUsage_Button_65: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_66?language=objc)
pub const kHIDUsage_Button_66: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_67?language=objc)
pub const kHIDUsage_Button_67: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_68?language=objc)
pub const kHIDUsage_Button_68: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_69?language=objc)
pub const kHIDUsage_Button_69: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_70?language=objc)
pub const kHIDUsage_Button_70: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_71?language=objc)
pub const kHIDUsage_Button_71: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_72?language=objc)
pub const kHIDUsage_Button_72: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_73?language=objc)
pub const kHIDUsage_Button_73: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_74?language=objc)
pub const kHIDUsage_Button_74: c_uint = 0x4a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_75?language=objc)
pub const kHIDUsage_Button_75: c_uint = 0x4b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_76?language=objc)
pub const kHIDUsage_Button_76: c_uint = 0x4c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_77?language=objc)
pub const kHIDUsage_Button_77: c_uint = 0x4d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_78?language=objc)
pub const kHIDUsage_Button_78: c_uint = 0x4e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_79?language=objc)
pub const kHIDUsage_Button_79: c_uint = 0x4f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_80?language=objc)
pub const kHIDUsage_Button_80: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_81?language=objc)
pub const kHIDUsage_Button_81: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_82?language=objc)
pub const kHIDUsage_Button_82: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_83?language=objc)
pub const kHIDUsage_Button_83: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_84?language=objc)
pub const kHIDUsage_Button_84: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_85?language=objc)
pub const kHIDUsage_Button_85: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_86?language=objc)
pub const kHIDUsage_Button_86: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_87?language=objc)
pub const kHIDUsage_Button_87: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_88?language=objc)
pub const kHIDUsage_Button_88: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_89?language=objc)
pub const kHIDUsage_Button_89: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_90?language=objc)
pub const kHIDUsage_Button_90: c_uint = 0x5a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_91?language=objc)
pub const kHIDUsage_Button_91: c_uint = 0x5b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_92?language=objc)
pub const kHIDUsage_Button_92: c_uint = 0x5c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_93?language=objc)
pub const kHIDUsage_Button_93: c_uint = 0x5d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_94?language=objc)
pub const kHIDUsage_Button_94: c_uint = 0x5e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_95?language=objc)
pub const kHIDUsage_Button_95: c_uint = 0x5f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_96?language=objc)
pub const kHIDUsage_Button_96: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_97?language=objc)
pub const kHIDUsage_Button_97: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_98?language=objc)
pub const kHIDUsage_Button_98: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_99?language=objc)
pub const kHIDUsage_Button_99: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_100?language=objc)
pub const kHIDUsage_Button_100: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_101?language=objc)
pub const kHIDUsage_Button_101: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_102?language=objc)
pub const kHIDUsage_Button_102: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_103?language=objc)
pub const kHIDUsage_Button_103: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_104?language=objc)
pub const kHIDUsage_Button_104: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_105?language=objc)
pub const kHIDUsage_Button_105: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_106?language=objc)
pub const kHIDUsage_Button_106: c_uint = 0x6a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_107?language=objc)
pub const kHIDUsage_Button_107: c_uint = 0x6b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_108?language=objc)
pub const kHIDUsage_Button_108: c_uint = 0x6c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_109?language=objc)
pub const kHIDUsage_Button_109: c_uint = 0x6d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_110?language=objc)
pub const kHIDUsage_Button_110: c_uint = 0x6e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_111?language=objc)
pub const kHIDUsage_Button_111: c_uint = 0x6f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_112?language=objc)
pub const kHIDUsage_Button_112: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_113?language=objc)
pub const kHIDUsage_Button_113: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_114?language=objc)
pub const kHIDUsage_Button_114: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_115?language=objc)
pub const kHIDUsage_Button_115: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_116?language=objc)
pub const kHIDUsage_Button_116: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_117?language=objc)
pub const kHIDUsage_Button_117: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_118?language=objc)
pub const kHIDUsage_Button_118: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_119?language=objc)
pub const kHIDUsage_Button_119: c_uint = 0x77;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_120?language=objc)
pub const kHIDUsage_Button_120: c_uint = 0x78;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_121?language=objc)
pub const kHIDUsage_Button_121: c_uint = 0x79;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_122?language=objc)
pub const kHIDUsage_Button_122: c_uint = 0x7a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_123?language=objc)
pub const kHIDUsage_Button_123: c_uint = 0x7b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_124?language=objc)
pub const kHIDUsage_Button_124: c_uint = 0x7c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_125?language=objc)
pub const kHIDUsage_Button_125: c_uint = 0x7d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_126?language=objc)
pub const kHIDUsage_Button_126: c_uint = 0x7e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_127?language=objc)
pub const kHIDUsage_Button_127: c_uint = 0x7f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_128?language=objc)
pub const kHIDUsage_Button_128: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_129?language=objc)
pub const kHIDUsage_Button_129: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_130?language=objc)
pub const kHIDUsage_Button_130: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_131?language=objc)
pub const kHIDUsage_Button_131: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_132?language=objc)
pub const kHIDUsage_Button_132: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_133?language=objc)
pub const kHIDUsage_Button_133: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_134?language=objc)
pub const kHIDUsage_Button_134: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_135?language=objc)
pub const kHIDUsage_Button_135: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_136?language=objc)
pub const kHIDUsage_Button_136: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_137?language=objc)
pub const kHIDUsage_Button_137: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_138?language=objc)
pub const kHIDUsage_Button_138: c_uint = 0x8a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_139?language=objc)
pub const kHIDUsage_Button_139: c_uint = 0x8b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_140?language=objc)
pub const kHIDUsage_Button_140: c_uint = 0x8c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_141?language=objc)
pub const kHIDUsage_Button_141: c_uint = 0x8d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_142?language=objc)
pub const kHIDUsage_Button_142: c_uint = 0x8e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_143?language=objc)
pub const kHIDUsage_Button_143: c_uint = 0x8f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_144?language=objc)
pub const kHIDUsage_Button_144: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_145?language=objc)
pub const kHIDUsage_Button_145: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_146?language=objc)
pub const kHIDUsage_Button_146: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_147?language=objc)
pub const kHIDUsage_Button_147: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_148?language=objc)
pub const kHIDUsage_Button_148: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_149?language=objc)
pub const kHIDUsage_Button_149: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_150?language=objc)
pub const kHIDUsage_Button_150: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_151?language=objc)
pub const kHIDUsage_Button_151: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_152?language=objc)
pub const kHIDUsage_Button_152: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_153?language=objc)
pub const kHIDUsage_Button_153: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_154?language=objc)
pub const kHIDUsage_Button_154: c_uint = 0x9a;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_155?language=objc)
pub const kHIDUsage_Button_155: c_uint = 0x9b;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_156?language=objc)
pub const kHIDUsage_Button_156: c_uint = 0x9c;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_157?language=objc)
pub const kHIDUsage_Button_157: c_uint = 0x9d;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_158?language=objc)
pub const kHIDUsage_Button_158: c_uint = 0x9e;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_159?language=objc)
pub const kHIDUsage_Button_159: c_uint = 0x9f;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_160?language=objc)
pub const kHIDUsage_Button_160: c_uint = 0xa0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_161?language=objc)
pub const kHIDUsage_Button_161: c_uint = 0xa1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_162?language=objc)
pub const kHIDUsage_Button_162: c_uint = 0xa2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_163?language=objc)
pub const kHIDUsage_Button_163: c_uint = 0xa3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_164?language=objc)
pub const kHIDUsage_Button_164: c_uint = 0xa4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_165?language=objc)
pub const kHIDUsage_Button_165: c_uint = 0xa5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_166?language=objc)
pub const kHIDUsage_Button_166: c_uint = 0xa6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_167?language=objc)
pub const kHIDUsage_Button_167: c_uint = 0xa7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_168?language=objc)
pub const kHIDUsage_Button_168: c_uint = 0xa8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_169?language=objc)
pub const kHIDUsage_Button_169: c_uint = 0xa9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_170?language=objc)
pub const kHIDUsage_Button_170: c_uint = 0xaa;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_171?language=objc)
pub const kHIDUsage_Button_171: c_uint = 0xab;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_172?language=objc)
pub const kHIDUsage_Button_172: c_uint = 0xac;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_173?language=objc)
pub const kHIDUsage_Button_173: c_uint = 0xad;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_174?language=objc)
pub const kHIDUsage_Button_174: c_uint = 0xae;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_175?language=objc)
pub const kHIDUsage_Button_175: c_uint = 0xaf;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_176?language=objc)
pub const kHIDUsage_Button_176: c_uint = 0xb0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_177?language=objc)
pub const kHIDUsage_Button_177: c_uint = 0xb1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_178?language=objc)
pub const kHIDUsage_Button_178: c_uint = 0xb2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_179?language=objc)
pub const kHIDUsage_Button_179: c_uint = 0xb3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_180?language=objc)
pub const kHIDUsage_Button_180: c_uint = 0xb4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_181?language=objc)
pub const kHIDUsage_Button_181: c_uint = 0xb5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_182?language=objc)
pub const kHIDUsage_Button_182: c_uint = 0xb6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_183?language=objc)
pub const kHIDUsage_Button_183: c_uint = 0xb7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_184?language=objc)
pub const kHIDUsage_Button_184: c_uint = 0xb8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_185?language=objc)
pub const kHIDUsage_Button_185: c_uint = 0xb9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_186?language=objc)
pub const kHIDUsage_Button_186: c_uint = 0xba;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_187?language=objc)
pub const kHIDUsage_Button_187: c_uint = 0xbb;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_188?language=objc)
pub const kHIDUsage_Button_188: c_uint = 0xbc;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_189?language=objc)
pub const kHIDUsage_Button_189: c_uint = 0xbd;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_190?language=objc)
pub const kHIDUsage_Button_190: c_uint = 0xbe;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_191?language=objc)
pub const kHIDUsage_Button_191: c_uint = 0xbf;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_192?language=objc)
pub const kHIDUsage_Button_192: c_uint = 0xc0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_193?language=objc)
pub const kHIDUsage_Button_193: c_uint = 0xc1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_194?language=objc)
pub const kHIDUsage_Button_194: c_uint = 0xc2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_195?language=objc)
pub const kHIDUsage_Button_195: c_uint = 0xc3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_196?language=objc)
pub const kHIDUsage_Button_196: c_uint = 0xc4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_197?language=objc)
pub const kHIDUsage_Button_197: c_uint = 0xc5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_198?language=objc)
pub const kHIDUsage_Button_198: c_uint = 0xc6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_199?language=objc)
pub const kHIDUsage_Button_199: c_uint = 0xc7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_200?language=objc)
pub const kHIDUsage_Button_200: c_uint = 0xc8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_201?language=objc)
pub const kHIDUsage_Button_201: c_uint = 0xc9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_202?language=objc)
pub const kHIDUsage_Button_202: c_uint = 0xca;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_203?language=objc)
pub const kHIDUsage_Button_203: c_uint = 0xcb;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_204?language=objc)
pub const kHIDUsage_Button_204: c_uint = 0xcc;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_205?language=objc)
pub const kHIDUsage_Button_205: c_uint = 0xcd;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_206?language=objc)
pub const kHIDUsage_Button_206: c_uint = 0xce;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_207?language=objc)
pub const kHIDUsage_Button_207: c_uint = 0xcf;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_208?language=objc)
pub const kHIDUsage_Button_208: c_uint = 0xd0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_209?language=objc)
pub const kHIDUsage_Button_209: c_uint = 0xd1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_210?language=objc)
pub const kHIDUsage_Button_210: c_uint = 0xd2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_211?language=objc)
pub const kHIDUsage_Button_211: c_uint = 0xd3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_212?language=objc)
pub const kHIDUsage_Button_212: c_uint = 0xd4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_213?language=objc)
pub const kHIDUsage_Button_213: c_uint = 0xd5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_214?language=objc)
pub const kHIDUsage_Button_214: c_uint = 0xd6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_215?language=objc)
pub const kHIDUsage_Button_215: c_uint = 0xd7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_216?language=objc)
pub const kHIDUsage_Button_216: c_uint = 0xd8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_217?language=objc)
pub const kHIDUsage_Button_217: c_uint = 0xd9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_218?language=objc)
pub const kHIDUsage_Button_218: c_uint = 0xda;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_219?language=objc)
pub const kHIDUsage_Button_219: c_uint = 0xdb;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_220?language=objc)
pub const kHIDUsage_Button_220: c_uint = 0xdc;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_221?language=objc)
pub const kHIDUsage_Button_221: c_uint = 0xdd;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_222?language=objc)
pub const kHIDUsage_Button_222: c_uint = 0xde;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_223?language=objc)
pub const kHIDUsage_Button_223: c_uint = 0xdf;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_224?language=objc)
pub const kHIDUsage_Button_224: c_uint = 0xe0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_225?language=objc)
pub const kHIDUsage_Button_225: c_uint = 0xe1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_226?language=objc)
pub const kHIDUsage_Button_226: c_uint = 0xe2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_227?language=objc)
pub const kHIDUsage_Button_227: c_uint = 0xe3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_228?language=objc)
pub const kHIDUsage_Button_228: c_uint = 0xe4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_229?language=objc)
pub const kHIDUsage_Button_229: c_uint = 0xe5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_230?language=objc)
pub const kHIDUsage_Button_230: c_uint = 0xe6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_231?language=objc)
pub const kHIDUsage_Button_231: c_uint = 0xe7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_232?language=objc)
pub const kHIDUsage_Button_232: c_uint = 0xe8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_233?language=objc)
pub const kHIDUsage_Button_233: c_uint = 0xe9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_234?language=objc)
pub const kHIDUsage_Button_234: c_uint = 0xea;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_235?language=objc)
pub const kHIDUsage_Button_235: c_uint = 0xeb;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_236?language=objc)
pub const kHIDUsage_Button_236: c_uint = 0xec;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_237?language=objc)
pub const kHIDUsage_Button_237: c_uint = 0xed;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_238?language=objc)
pub const kHIDUsage_Button_238: c_uint = 0xee;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_239?language=objc)
pub const kHIDUsage_Button_239: c_uint = 0xef;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_240?language=objc)
pub const kHIDUsage_Button_240: c_uint = 0xf0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_241?language=objc)
pub const kHIDUsage_Button_241: c_uint = 0xf1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_242?language=objc)
pub const kHIDUsage_Button_242: c_uint = 0xf2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_243?language=objc)
pub const kHIDUsage_Button_243: c_uint = 0xf3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_244?language=objc)
pub const kHIDUsage_Button_244: c_uint = 0xf4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_245?language=objc)
pub const kHIDUsage_Button_245: c_uint = 0xf5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_246?language=objc)
pub const kHIDUsage_Button_246: c_uint = 0xf6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_247?language=objc)
pub const kHIDUsage_Button_247: c_uint = 0xf7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_248?language=objc)
pub const kHIDUsage_Button_248: c_uint = 0xf8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_249?language=objc)
pub const kHIDUsage_Button_249: c_uint = 0xf9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_250?language=objc)
pub const kHIDUsage_Button_250: c_uint = 0xfa;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_251?language=objc)
pub const kHIDUsage_Button_251: c_uint = 0xfb;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_252?language=objc)
pub const kHIDUsage_Button_252: c_uint = 0xfc;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_253?language=objc)
pub const kHIDUsage_Button_253: c_uint = 0xfd;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_254?language=objc)
pub const kHIDUsage_Button_254: c_uint = 0xfe;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_255?language=objc)
pub const kHIDUsage_Button_255: c_uint = 0xff;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_button_65535?language=objc)
pub const kHIDUsage_Button_65535: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ord_instance1?language=objc)
pub const kHIDUsage_Ord_Instance1: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ord_instance2?language=objc)
pub const kHIDUsage_Ord_Instance2: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ord_instance3?language=objc)
pub const kHIDUsage_Ord_Instance3: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ord_instance4?language=objc)
pub const kHIDUsage_Ord_Instance4: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ord_instance65535?language=objc)
pub const kHIDUsage_Ord_Instance65535: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phone?language=objc)
pub const kHIDUsage_Tfon_Phone: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_answeringmachine?language=objc)
pub const kHIDUsage_Tfon_AnsweringMachine: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_messagecontrols?language=objc)
pub const kHIDUsage_Tfon_MessageControls: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_handset?language=objc)
pub const kHIDUsage_Tfon_Handset: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_headset?language=objc)
pub const kHIDUsage_Tfon_Headset: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_telephonykeypad?language=objc)
pub const kHIDUsage_Tfon_TelephonyKeyPad: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_programmablebutton?language=objc)
pub const kHIDUsage_Tfon_ProgrammableButton: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_hookswitch?language=objc)
pub const kHIDUsage_Tfon_HookSwitch: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_flash?language=objc)
pub const kHIDUsage_Tfon_Flash: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_feature?language=objc)
pub const kHIDUsage_Tfon_Feature: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_hold?language=objc)
pub const kHIDUsage_Tfon_Hold: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_redial?language=objc)
pub const kHIDUsage_Tfon_Redial: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_transfer?language=objc)
pub const kHIDUsage_Tfon_Transfer: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_drop?language=objc)
pub const kHIDUsage_Tfon_Drop: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_park?language=objc)
pub const kHIDUsage_Tfon_Park: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_forwardcalls?language=objc)
pub const kHIDUsage_Tfon_ForwardCalls: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_alternatefunction?language=objc)
pub const kHIDUsage_Tfon_AlternateFunction: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_line?language=objc)
pub const kHIDUsage_Tfon_Line: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_speakerphone?language=objc)
pub const kHIDUsage_Tfon_SpeakerPhone: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_conference?language=objc)
pub const kHIDUsage_Tfon_Conference: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_ringenable?language=objc)
pub const kHIDUsage_Tfon_RingEnable: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_ring?language=objc)
pub const kHIDUsage_Tfon_Ring: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonemute?language=objc)
pub const kHIDUsage_Tfon_PhoneMute: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_callerid?language=objc)
pub const kHIDUsage_Tfon_CallerID: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_speeddial?language=objc)
pub const kHIDUsage_Tfon_SpeedDial: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_storenumber?language=objc)
pub const kHIDUsage_Tfon_StoreNumber: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_recallnumber?language=objc)
pub const kHIDUsage_Tfon_RecallNumber: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonedirectory?language=objc)
pub const kHIDUsage_Tfon_PhoneDirectory: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_voicemail?language=objc)
pub const kHIDUsage_Tfon_VoiceMail: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_screencalls?language=objc)
pub const kHIDUsage_Tfon_ScreenCalls: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_donotdisturb?language=objc)
pub const kHIDUsage_Tfon_DoNotDisturb: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_message?language=objc)
pub const kHIDUsage_Tfon_Message: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_answeronoroff?language=objc)
pub const kHIDUsage_Tfon_AnswerOnOrOff: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_insidedialtone?language=objc)
pub const kHIDUsage_Tfon_InsideDialTone: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_outsidedialtone?language=objc)
pub const kHIDUsage_Tfon_OutsideDialTone: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_insideringtone?language=objc)
pub const kHIDUsage_Tfon_InsideRingTone: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_outsideringtone?language=objc)
pub const kHIDUsage_Tfon_OutsideRingTone: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_priorityringtone?language=objc)
pub const kHIDUsage_Tfon_PriorityRingTone: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_insideringback?language=objc)
pub const kHIDUsage_Tfon_InsideRingback: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_priorityringback?language=objc)
pub const kHIDUsage_Tfon_PriorityRingback: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_linebusytone?language=objc)
pub const kHIDUsage_Tfon_LineBusyTone: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_reordertone?language=objc)
pub const kHIDUsage_Tfon_ReorderTone: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_callwaitingtone?language=objc)
pub const kHIDUsage_Tfon_CallWaitingTone: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_confirmationtone1?language=objc)
pub const kHIDUsage_Tfon_ConfirmationTone1: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_confirmationtone2?language=objc)
pub const kHIDUsage_Tfon_ConfirmationTone2: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_tonesoff?language=objc)
pub const kHIDUsage_Tfon_TonesOff: c_uint = 0x9C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_outsideringback?language=objc)
pub const kHIDUsage_Tfon_OutsideRingback: c_uint = 0x9D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey0?language=objc)
pub const kHIDUsage_Tfon_PhoneKey0: c_uint = 0xB0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey1?language=objc)
pub const kHIDUsage_Tfon_PhoneKey1: c_uint = 0xB1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey2?language=objc)
pub const kHIDUsage_Tfon_PhoneKey2: c_uint = 0xB2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey3?language=objc)
pub const kHIDUsage_Tfon_PhoneKey3: c_uint = 0xB3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey4?language=objc)
pub const kHIDUsage_Tfon_PhoneKey4: c_uint = 0xB4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey5?language=objc)
pub const kHIDUsage_Tfon_PhoneKey5: c_uint = 0xB5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey6?language=objc)
pub const kHIDUsage_Tfon_PhoneKey6: c_uint = 0xB6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey7?language=objc)
pub const kHIDUsage_Tfon_PhoneKey7: c_uint = 0xB7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey8?language=objc)
pub const kHIDUsage_Tfon_PhoneKey8: c_uint = 0xB8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekey9?language=objc)
pub const kHIDUsage_Tfon_PhoneKey9: c_uint = 0xB9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeystar?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyStar: c_uint = 0xBA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeypound?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyPound: c_uint = 0xBB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeya?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyA: c_uint = 0xBC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeyb?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyB: c_uint = 0xBD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeyc?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyC: c_uint = 0xBE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_phonekeyd?language=objc)
pub const kHIDUsage_Tfon_PhoneKeyD: c_uint = 0xBF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_tfon_reserved?language=objc)
pub const kHIDUsage_TFon_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_consumercontrol?language=objc)
pub const kHIDUsage_Csmr_ConsumerControl: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_numerickeypad?language=objc)
pub const kHIDUsage_Csmr_NumericKeyPad: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_programmablebuttons?language=objc)
pub const kHIDUsage_Csmr_ProgrammableButtons: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_microphone?language=objc)
pub const kHIDUsage_Csmr_Microphone: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_headphone?language=objc)
pub const kHIDUsage_Csmr_Headphone: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_graphicequalizer?language=objc)
pub const kHIDUsage_Csmr_GraphicEqualizer: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_plus10?language=objc)
pub const kHIDUsage_Csmr_Plus10: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_plus100?language=objc)
pub const kHIDUsage_Csmr_Plus100: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_amorpm?language=objc)
pub const kHIDUsage_Csmr_AMOrPM: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_power?language=objc)
pub const kHIDUsage_Csmr_Power: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_reset?language=objc)
pub const kHIDUsage_Csmr_Reset: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_sleep?language=objc)
pub const kHIDUsage_Csmr_Sleep: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_sleepafter?language=objc)
pub const kHIDUsage_Csmr_SleepAfter: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_sleepmode?language=objc)
pub const kHIDUsage_Csmr_SleepMode: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_illumination?language=objc)
pub const kHIDUsage_Csmr_Illumination: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_functionbuttons?language=objc)
pub const kHIDUsage_Csmr_FunctionButtons: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menu?language=objc)
pub const kHIDUsage_Csmr_Menu: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menupick?language=objc)
pub const kHIDUsage_Csmr_MenuPick: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuup?language=objc)
pub const kHIDUsage_Csmr_MenuUp: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menudown?language=objc)
pub const kHIDUsage_Csmr_MenuDown: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuleft?language=objc)
pub const kHIDUsage_Csmr_MenuLeft: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuright?language=objc)
pub const kHIDUsage_Csmr_MenuRight: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuescape?language=objc)
pub const kHIDUsage_Csmr_MenuEscape: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuvalueincrease?language=objc)
pub const kHIDUsage_Csmr_MenuValueIncrease: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_menuvaluedecrease?language=objc)
pub const kHIDUsage_Csmr_MenuValueDecrease: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_dataonscreen?language=objc)
pub const kHIDUsage_Csmr_DataOnScreen: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_closedcaption?language=objc)
pub const kHIDUsage_Csmr_ClosedCaption: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_closedcaptionselect?language=objc)
pub const kHIDUsage_Csmr_ClosedCaptionSelect: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_vcrortv?language=objc)
pub const kHIDUsage_Csmr_VCROrTV: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_broadcastmode?language=objc)
pub const kHIDUsage_Csmr_BroadcastMode: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_snapshot?language=objc)
pub const kHIDUsage_Csmr_Snapshot: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_still?language=objc)
pub const kHIDUsage_Csmr_Still: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_pictureinpicturetoggle?language=objc)
pub const kHIDUsage_Csmr_PictureInPictureToggle: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_pictureinpictureswap?language=objc)
pub const kHIDUsage_Csmr_PictureInPictureSwap: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_redmenubutton?language=objc)
pub const kHIDUsage_Csmr_RedMenuButton: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_greenmenubutton?language=objc)
pub const kHIDUsage_Csmr_GreenMenuButton: c_uint = 0x6A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_bluemenubutton?language=objc)
pub const kHIDUsage_Csmr_BlueMenuButton: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_yellowmenubutton?language=objc)
pub const kHIDUsage_Csmr_YellowMenuButton: c_uint = 0x6C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aspect?language=objc)
pub const kHIDUsage_Csmr_Aspect: c_uint = 0x6D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_3dmodeselect?language=objc)
pub const kHIDUsage_Csmr_3DModeSelect: c_uint = 0x6E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightnessincrement?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightnessIncrement: c_uint = 0x6F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightnessdecrement?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightnessDecrement: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightness?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightness: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybacklighttoggle?language=objc)
pub const kHIDUsage_Csmr_DisplayBacklightToggle: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightnessminimum?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightnessMinimum: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightnessmaximum?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightnessMaximum: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_displaybrightnesssetautobrightness?language=objc)
pub const kHIDUsage_Csmr_DisplayBrightnessSetAutoBrightness: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardbrightnessincrement?language=objc)
pub const kHIDUsage_Csmr_KeyboardBrightnessIncrement: c_uint = 0x79;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardbrightnessdecrement?language=objc)
pub const kHIDUsage_Csmr_KeyboardBrightnessDecrement: c_uint = 0x7A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_selection?language=objc)
pub const kHIDUsage_Csmr_Selection: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_assign?language=objc)
pub const kHIDUsage_Csmr_Assign: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_modestep?language=objc)
pub const kHIDUsage_Csmr_ModeStep: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_recalllast?language=objc)
pub const kHIDUsage_Csmr_RecallLast: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_enterchannel?language=objc)
pub const kHIDUsage_Csmr_EnterChannel: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_ordermovie?language=objc)
pub const kHIDUsage_Csmr_OrderMovie: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channel?language=objc)
pub const kHIDUsage_Csmr_Channel: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselection?language=objc)
pub const kHIDUsage_Csmr_MediaSelection: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectcomputer?language=objc)
pub const kHIDUsage_Csmr_MediaSelectComputer: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselecttv?language=objc)
pub const kHIDUsage_Csmr_MediaSelectTV: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectwww?language=objc)
pub const kHIDUsage_Csmr_MediaSelectWWW: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectdvd?language=objc)
pub const kHIDUsage_Csmr_MediaSelectDVD: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselecttelephone?language=objc)
pub const kHIDUsage_Csmr_MediaSelectTelephone: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectprogramguide?language=objc)
pub const kHIDUsage_Csmr_MediaSelectProgramGuide: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectvideophone?language=objc)
pub const kHIDUsage_Csmr_MediaSelectVideoPhone: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectgames?language=objc)
pub const kHIDUsage_Csmr_MediaSelectGames: c_uint = 0x8F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectmessages?language=objc)
pub const kHIDUsage_Csmr_MediaSelectMessages: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectcd?language=objc)
pub const kHIDUsage_Csmr_MediaSelectCD: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectvcr?language=objc)
pub const kHIDUsage_Csmr_MediaSelectVCR: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselecttuner?language=objc)
pub const kHIDUsage_Csmr_MediaSelectTuner: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_quit?language=objc)
pub const kHIDUsage_Csmr_Quit: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_help?language=objc)
pub const kHIDUsage_Csmr_Help: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselecttape?language=objc)
pub const kHIDUsage_Csmr_MediaSelectTape: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectcable?language=objc)
pub const kHIDUsage_Csmr_MediaSelectCable: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectsatellite?language=objc)
pub const kHIDUsage_Csmr_MediaSelectSatellite: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectsecurity?language=objc)
pub const kHIDUsage_Csmr_MediaSelectSecurity: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselecthome?language=objc)
pub const kHIDUsage_Csmr_MediaSelectHome: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mediaselectcall?language=objc)
pub const kHIDUsage_Csmr_MediaSelectCall: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelincrement?language=objc)
pub const kHIDUsage_Csmr_ChannelIncrement: c_uint = 0x9C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channeldecrement?language=objc)
pub const kHIDUsage_Csmr_ChannelDecrement: c_uint = 0x9D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_media?language=objc)
pub const kHIDUsage_Csmr_Media: c_uint = 0x9E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_vcrplus?language=objc)
pub const kHIDUsage_Csmr_VCRPlus: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_once?language=objc)
pub const kHIDUsage_Csmr_Once: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_daily?language=objc)
pub const kHIDUsage_Csmr_Daily: c_uint = 0xA2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_weekly?language=objc)
pub const kHIDUsage_Csmr_Weekly: c_uint = 0xA3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_monthly?language=objc)
pub const kHIDUsage_Csmr_Monthly: c_uint = 0xA4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_play?language=objc)
pub const kHIDUsage_Csmr_Play: c_uint = 0xB0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_pause?language=objc)
pub const kHIDUsage_Csmr_Pause: c_uint = 0xB1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_record?language=objc)
pub const kHIDUsage_Csmr_Record: c_uint = 0xB2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_fastforward?language=objc)
pub const kHIDUsage_Csmr_FastForward: c_uint = 0xB3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_rewind?language=objc)
pub const kHIDUsage_Csmr_Rewind: c_uint = 0xB4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_scannexttrack?language=objc)
pub const kHIDUsage_Csmr_ScanNextTrack: c_uint = 0xB5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_scanprevioustrack?language=objc)
pub const kHIDUsage_Csmr_ScanPreviousTrack: c_uint = 0xB6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_stop?language=objc)
pub const kHIDUsage_Csmr_Stop: c_uint = 0xB7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_eject?language=objc)
pub const kHIDUsage_Csmr_Eject: c_uint = 0xB8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_randomplay?language=objc)
pub const kHIDUsage_Csmr_RandomPlay: c_uint = 0xB9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_selectdisc?language=objc)
pub const kHIDUsage_Csmr_SelectDisc: c_uint = 0xBA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_enterdisc?language=objc)
pub const kHIDUsage_Csmr_EnterDisc: c_uint = 0xBB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_repeat?language=objc)
pub const kHIDUsage_Csmr_Repeat: c_uint = 0xBC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_tracking?language=objc)
pub const kHIDUsage_Csmr_Tracking: c_uint = 0xBD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_tracknormal?language=objc)
pub const kHIDUsage_Csmr_TrackNormal: c_uint = 0xBE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_slowtracking?language=objc)
pub const kHIDUsage_Csmr_SlowTracking: c_uint = 0xBF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_frameforward?language=objc)
pub const kHIDUsage_Csmr_FrameForward: c_uint = 0xC0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_frameback?language=objc)
pub const kHIDUsage_Csmr_FrameBack: c_uint = 0xC1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mark?language=objc)
pub const kHIDUsage_Csmr_Mark: c_uint = 0xC2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_clearmark?language=objc)
pub const kHIDUsage_Csmr_ClearMark: c_uint = 0xC3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_repeatfrommark?language=objc)
pub const kHIDUsage_Csmr_RepeatFromMark: c_uint = 0xC4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_returntomark?language=objc)
pub const kHIDUsage_Csmr_ReturnToMark: c_uint = 0xC5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_searchmarkforward?language=objc)
pub const kHIDUsage_Csmr_SearchMarkForward: c_uint = 0xC6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_searchmarkbackwards?language=objc)
pub const kHIDUsage_Csmr_SearchMarkBackwards: c_uint = 0xC7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_counterreset?language=objc)
pub const kHIDUsage_Csmr_CounterReset: c_uint = 0xC8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_showcounter?language=objc)
pub const kHIDUsage_Csmr_ShowCounter: c_uint = 0xC9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_trackingincrement?language=objc)
pub const kHIDUsage_Csmr_TrackingIncrement: c_uint = 0xCA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_trackingdecrement?language=objc)
pub const kHIDUsage_Csmr_TrackingDecrement: c_uint = 0xCB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_stoporeject?language=objc)
pub const kHIDUsage_Csmr_StopOrEject: c_uint = 0xCC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_playorpause?language=objc)
pub const kHIDUsage_Csmr_PlayOrPause: c_uint = 0xCD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_playorskip?language=objc)
pub const kHIDUsage_Csmr_PlayOrSkip: c_uint = 0xCE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_voicecommand?language=objc)
pub const kHIDUsage_Csmr_VoiceCommand: c_uint = 0xCF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_volume?language=objc)
pub const kHIDUsage_Csmr_Volume: c_uint = 0xE0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_balance?language=objc)
pub const kHIDUsage_Csmr_Balance: c_uint = 0xE1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mute?language=objc)
pub const kHIDUsage_Csmr_Mute: c_uint = 0xE2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_bass?language=objc)
pub const kHIDUsage_Csmr_Bass: c_uint = 0xE3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_treble?language=objc)
pub const kHIDUsage_Csmr_Treble: c_uint = 0xE4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_bassboost?language=objc)
pub const kHIDUsage_Csmr_BassBoost: c_uint = 0xE5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_surroundmode?language=objc)
pub const kHIDUsage_Csmr_SurroundMode: c_uint = 0xE6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_loudness?language=objc)
pub const kHIDUsage_Csmr_Loudness: c_uint = 0xE7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_mpx?language=objc)
pub const kHIDUsage_Csmr_MPX: c_uint = 0xE8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_volumeincrement?language=objc)
pub const kHIDUsage_Csmr_VolumeIncrement: c_uint = 0xE9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_volumedecrement?language=objc)
pub const kHIDUsage_Csmr_VolumeDecrement: c_uint = 0xEA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_speed?language=objc)
pub const kHIDUsage_Csmr_Speed: c_uint = 0xF0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_playbackspeed?language=objc)
pub const kHIDUsage_Csmr_PlaybackSpeed: c_uint = 0xF1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_standardplay?language=objc)
pub const kHIDUsage_Csmr_StandardPlay: c_uint = 0xF2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_longplay?language=objc)
pub const kHIDUsage_Csmr_LongPlay: c_uint = 0xF3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_extendedplay?language=objc)
pub const kHIDUsage_Csmr_ExtendedPlay: c_uint = 0xF4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_slow?language=objc)
pub const kHIDUsage_Csmr_Slow: c_uint = 0xF5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_fanenable?language=objc)
pub const kHIDUsage_Csmr_FanEnable: c_uint = 0x100;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_fanspeed?language=objc)
pub const kHIDUsage_Csmr_FanSpeed: c_uint = 0x101;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_lightenable?language=objc)
pub const kHIDUsage_Csmr_LightEnable: c_uint = 0x102;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_lightilluminationlevel?language=objc)
pub const kHIDUsage_Csmr_LightIlluminationLevel: c_uint = 0x103;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_climatecontrolenable?language=objc)
pub const kHIDUsage_Csmr_ClimateControlEnable: c_uint = 0x104;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_roomtemperature?language=objc)
pub const kHIDUsage_Csmr_RoomTemperature: c_uint = 0x105;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_securityenable?language=objc)
pub const kHIDUsage_Csmr_SecurityEnable: c_uint = 0x106;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_firealarm?language=objc)
pub const kHIDUsage_Csmr_FireAlarm: c_uint = 0x107;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_policealarm?language=objc)
pub const kHIDUsage_Csmr_PoliceAlarm: c_uint = 0x108;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_proximity?language=objc)
pub const kHIDUsage_Csmr_Proximity: c_uint = 0x109;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_motion?language=objc)
pub const kHIDUsage_Csmr_Motion: c_uint = 0x10A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_duressalarm?language=objc)
pub const kHIDUsage_Csmr_DuressAlarm: c_uint = 0x10B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_holdupalarm?language=objc)
pub const kHIDUsage_Csmr_HoldupAlarm: c_uint = 0x10C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_medicalalarm?language=objc)
pub const kHIDUsage_Csmr_MedicalAlarm: c_uint = 0x10D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_balanceright?language=objc)
pub const kHIDUsage_Csmr_BalanceRight: c_uint = 0x150;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_balanceleft?language=objc)
pub const kHIDUsage_Csmr_BalanceLeft: c_uint = 0x151;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_bassincrement?language=objc)
pub const kHIDUsage_Csmr_BassIncrement: c_uint = 0x152;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_bassdecrement?language=objc)
pub const kHIDUsage_Csmr_BassDecrement: c_uint = 0x153;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_trebleincrement?language=objc)
pub const kHIDUsage_Csmr_TrebleIncrement: c_uint = 0x154;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_trebledecrement?language=objc)
pub const kHIDUsage_Csmr_TrebleDecrement: c_uint = 0x155;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_speakersystem?language=objc)
pub const kHIDUsage_Csmr_SpeakerSystem: c_uint = 0x160;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelleft?language=objc)
pub const kHIDUsage_Csmr_ChannelLeft: c_uint = 0x161;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelright?language=objc)
pub const kHIDUsage_Csmr_ChannelRight: c_uint = 0x162;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelcenter?language=objc)
pub const kHIDUsage_Csmr_ChannelCenter: c_uint = 0x163;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelfront?language=objc)
pub const kHIDUsage_Csmr_ChannelFront: c_uint = 0x164;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelcenterfront?language=objc)
pub const kHIDUsage_Csmr_ChannelCenterFront: c_uint = 0x165;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelside?language=objc)
pub const kHIDUsage_Csmr_ChannelSide: c_uint = 0x166;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelsurround?language=objc)
pub const kHIDUsage_Csmr_ChannelSurround: c_uint = 0x167;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channellowfrequencyenhancement?language=objc)
pub const kHIDUsage_Csmr_ChannelLowFrequencyEnhancement: c_uint = 0x168;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channeltop?language=objc)
pub const kHIDUsage_Csmr_ChannelTop: c_uint = 0x169;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_channelunknown?language=objc)
pub const kHIDUsage_Csmr_ChannelUnknown: c_uint = 0x16A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_subchannel?language=objc)
pub const kHIDUsage_Csmr_SubChannel: c_uint = 0x170;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_subchannelincrement?language=objc)
pub const kHIDUsage_Csmr_SubChannelIncrement: c_uint = 0x171;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_subchanneldecrement?language=objc)
pub const kHIDUsage_Csmr_SubChannelDecrement: c_uint = 0x172;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alternateaudioincrement?language=objc)
pub const kHIDUsage_Csmr_AlternateAudioIncrement: c_uint = 0x173;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alternateaudiodecrement?language=objc)
pub const kHIDUsage_Csmr_AlternateAudioDecrement: c_uint = 0x174;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_applicationlaunchbuttons?language=objc)
pub const kHIDUsage_Csmr_ApplicationLaunchButtons: c_uint = 0x180;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allaunchbuttonconfigurationtool?language=objc)
pub const kHIDUsage_Csmr_ALLaunchButtonConfigurationTool: c_uint = 0x181;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alprogrammablebuttonconfiguration?language=objc)
pub const kHIDUsage_Csmr_ALProgrammableButtonConfiguration: c_uint = 0x182;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alconsumercontrolconfiguration?language=objc)
pub const kHIDUsage_Csmr_ALConsumerControlConfiguration: c_uint = 0x183;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alwordprocessor?language=objc)
pub const kHIDUsage_Csmr_ALWordProcessor: c_uint = 0x184;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_altexteditor?language=objc)
pub const kHIDUsage_Csmr_ALTextEditor: c_uint = 0x185;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alspreadsheet?language=objc)
pub const kHIDUsage_Csmr_ALSpreadsheet: c_uint = 0x186;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_algraphicseditor?language=objc)
pub const kHIDUsage_Csmr_ALGraphicsEditor: c_uint = 0x187;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alpresentationapp?language=objc)
pub const kHIDUsage_Csmr_ALPresentationApp: c_uint = 0x188;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldatabaseapp?language=objc)
pub const kHIDUsage_Csmr_ALDatabaseApp: c_uint = 0x189;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alemailreader?language=objc)
pub const kHIDUsage_Csmr_ALEmailReader: c_uint = 0x18A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alnewsreader?language=objc)
pub const kHIDUsage_Csmr_ALNewsreader: c_uint = 0x18B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alvoicemail?language=objc)
pub const kHIDUsage_Csmr_ALVoicemail: c_uint = 0x18C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcontactsoraddressbook?language=objc)
pub const kHIDUsage_Csmr_ALContactsOrAddressBook: c_uint = 0x18D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcalendarorschedule?language=objc)
pub const kHIDUsage_Csmr_ALCalendarOrSchedule: c_uint = 0x18E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_altaskorprojectmanager?language=objc)
pub const kHIDUsage_Csmr_ALTaskOrProjectManager: c_uint = 0x18F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allogorjournalortimecard?language=objc)
pub const kHIDUsage_Csmr_ALLogOrJournalOrTimecard: c_uint = 0x190;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcheckbookorfinance?language=objc)
pub const kHIDUsage_Csmr_ALCheckbookOrFinance: c_uint = 0x191;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcalculator?language=objc)
pub const kHIDUsage_Csmr_ALCalculator: c_uint = 0x192;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alaorvcaptureorplayback?language=objc)
pub const kHIDUsage_Csmr_ALAOrVCaptureOrPlayback: c_uint = 0x193;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allocalmachinebrowser?language=objc)
pub const kHIDUsage_Csmr_ALLocalMachineBrowser: c_uint = 0x194;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allanorwanbrowser?language=objc)
pub const kHIDUsage_Csmr_ALLANOrWANBrowser: c_uint = 0x195;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alinternetbrowser?language=objc)
pub const kHIDUsage_Csmr_ALInternetBrowser: c_uint = 0x196;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alremotenetworkingorispconnect?language=objc)
pub const kHIDUsage_Csmr_ALRemoteNetworkingOrISPConnect: c_uint = 0x197;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alnetworkconference?language=objc)
pub const kHIDUsage_Csmr_ALNetworkConference: c_uint = 0x198;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alnetworkchat?language=objc)
pub const kHIDUsage_Csmr_ALNetworkChat: c_uint = 0x199;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_altelephonyordialer?language=objc)
pub const kHIDUsage_Csmr_ALTelephonyOrDialer: c_uint = 0x19A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allogon?language=objc)
pub const kHIDUsage_Csmr_ALLogon: c_uint = 0x19B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allogoff?language=objc)
pub const kHIDUsage_Csmr_ALLogoff: c_uint = 0x19C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_allogonorlogoff?language=objc)
pub const kHIDUsage_Csmr_ALLogonOrLogoff: c_uint = 0x19D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alterminallockorscreensaver?language=objc)
pub const kHIDUsage_Csmr_ALTerminalLockOrScreensaver: c_uint = 0x19E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcontrolpanel?language=objc)
pub const kHIDUsage_Csmr_ALControlPanel: c_uint = 0x19F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcommandlineprocessororrun?language=objc)
pub const kHIDUsage_Csmr_ALCommandLineProcessorOrRun: c_uint = 0x1A0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alprocessortaskmanager?language=objc)
pub const kHIDUsage_Csmr_ALProcessOrTaskManager: c_uint = 0x1A1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_al?language=objc)
pub const kHIDUsage_Csmr_AL: c_uint = 0x1A2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alnexttaskorapplication?language=objc)
pub const kHIDUsage_Csmr_ALNextTaskOrApplication: c_uint = 0x1A3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alprevioustaskorapplication?language=objc)
pub const kHIDUsage_Csmr_ALPreviousTaskOrApplication: c_uint = 0x1A4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alpreemptivehalttaskorapplication?language=objc)
pub const kHIDUsage_Csmr_ALPreemptiveHaltTaskOrApplication: c_uint = 0x1A5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alintegratedhelpcenter?language=objc)
pub const kHIDUsage_Csmr_ALIntegratedHelpCenter: c_uint = 0x1A6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldocuments?language=objc)
pub const kHIDUsage_Csmr_ALDocuments: c_uint = 0x1A7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_althesaurus?language=objc)
pub const kHIDUsage_Csmr_ALThesaurus: c_uint = 0x1A8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldictionary?language=objc)
pub const kHIDUsage_Csmr_ALDictionary: c_uint = 0x1A9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldesktop?language=objc)
pub const kHIDUsage_Csmr_ALDesktop: c_uint = 0x1AA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alspellcheck?language=objc)
pub const kHIDUsage_Csmr_ALSpellCheck: c_uint = 0x1AB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_algrammercheck?language=objc)
pub const kHIDUsage_Csmr_ALGrammerCheck: c_uint = 0x1AC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alwirelessstatus?language=objc)
pub const kHIDUsage_Csmr_ALWirelessStatus: c_uint = 0x1AD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alkeyboardlayout?language=objc)
pub const kHIDUsage_Csmr_ALKeyboardLayout: c_uint = 0x1AE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alvirusprotection?language=objc)
pub const kHIDUsage_Csmr_ALVirusProtection: c_uint = 0x1AF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alencryption?language=objc)
pub const kHIDUsage_Csmr_ALEncryption: c_uint = 0x1B0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alscreensaver?language=objc)
pub const kHIDUsage_Csmr_ALScreenSaver: c_uint = 0x1B1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alalarms?language=objc)
pub const kHIDUsage_Csmr_ALAlarms: c_uint = 0x1B2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alclock?language=objc)
pub const kHIDUsage_Csmr_ALClock: c_uint = 0x1B3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alfilebrowser?language=objc)
pub const kHIDUsage_Csmr_ALFileBrowser: c_uint = 0x1B4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alpowerstatus?language=objc)
pub const kHIDUsage_Csmr_ALPowerStatus: c_uint = 0x1B5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alimagebrowser?language=objc)
pub const kHIDUsage_Csmr_ALImageBrowser: c_uint = 0x1B6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alaudiobrowser?language=objc)
pub const kHIDUsage_Csmr_ALAudioBrowser: c_uint = 0x1B7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_almoviebrowser?language=objc)
pub const kHIDUsage_Csmr_ALMovieBrowser: c_uint = 0x1B8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldigitalrightsmanager?language=objc)
pub const kHIDUsage_Csmr_ALDigitalRightsManager: c_uint = 0x1B9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aldigitalwallet?language=objc)
pub const kHIDUsage_Csmr_ALDigitalWallet: c_uint = 0x1BA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alinstantmessaging?language=objc)
pub const kHIDUsage_Csmr_ALInstantMessaging: c_uint = 0x1BC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aloemfeaturebrowser?language=objc)
pub const kHIDUsage_Csmr_ALOEMFeatureBrowser: c_uint = 0x1BD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aloemhelp?language=objc)
pub const kHIDUsage_Csmr_ALOEMHelp: c_uint = 0x1BE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alonlinecommunity?language=objc)
pub const kHIDUsage_Csmr_ALOnlineCommunity: c_uint = 0x1BF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alentertainmentcontentbrowser?language=objc)
pub const kHIDUsage_Csmr_ALEntertainmentContentBrowser: c_uint = 0x1C0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alonlineshoppingbrowswer?language=objc)
pub const kHIDUsage_Csmr_ALOnlineShoppingBrowswer: c_uint = 0x1C1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alsmartcardinformationorhelp?language=objc)
pub const kHIDUsage_Csmr_ALSmartCardInformationOrHelp: c_uint = 0x1C2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_almarketmonitororfinancebrowser?language=objc)
pub const kHIDUsage_Csmr_ALMarketMonitorOrFinanceBrowser: c_uint = 0x1C3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcustomizedcorporatenewsbrowser?language=objc)
pub const kHIDUsage_Csmr_ALCustomizedCorporateNewsBrowser: c_uint = 0x1C4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alonlineactivitybrowswer?language=objc)
pub const kHIDUsage_Csmr_ALOnlineActivityBrowswer: c_uint = 0x1C5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alresearchorsearchbrowswer?language=objc)
pub const kHIDUsage_Csmr_ALResearchOrSearchBrowswer: c_uint = 0x1C6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alaudioplayer?language=objc)
pub const kHIDUsage_Csmr_ALAudioPlayer: c_uint = 0x1C7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_almessagestatus?language=objc)
pub const kHIDUsage_Csmr_ALMessageStatus: c_uint = 0x1C8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcontactsync?language=objc)
pub const kHIDUsage_Csmr_ALContactSync: c_uint = 0x1C9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alnavigation?language=objc)
pub const kHIDUsage_Csmr_ALNavigation: c_uint = 0x1CA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_alcontextawaredesktopassistant?language=objc)
pub const kHIDUsage_Csmr_ALContextawareDesktopAssistant: c_uint = 0x1CB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_genericguiapplicationcontrols?language=objc)
pub const kHIDUsage_Csmr_GenericGUIApplicationControls: c_uint = 0x200;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnew?language=objc)
pub const kHIDUsage_Csmr_ACNew: c_uint = 0x201;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acopen?language=objc)
pub const kHIDUsage_Csmr_ACOpen: c_uint = 0x202;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acclose?language=objc)
pub const kHIDUsage_Csmr_ACClose: c_uint = 0x203;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acexit?language=objc)
pub const kHIDUsage_Csmr_ACExit: c_uint = 0x204;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acmaximize?language=objc)
pub const kHIDUsage_Csmr_ACMaximize: c_uint = 0x205;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acminimize?language=objc)
pub const kHIDUsage_Csmr_ACMinimize: c_uint = 0x206;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsave?language=objc)
pub const kHIDUsage_Csmr_ACSave: c_uint = 0x207;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acprint?language=objc)
pub const kHIDUsage_Csmr_ACPrint: c_uint = 0x208;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acproperties?language=objc)
pub const kHIDUsage_Csmr_ACProperties: c_uint = 0x209;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acundo?language=objc)
pub const kHIDUsage_Csmr_ACUndo: c_uint = 0x21A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accopy?language=objc)
pub const kHIDUsage_Csmr_ACCopy: c_uint = 0x21B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accut?language=objc)
pub const kHIDUsage_Csmr_ACCut: c_uint = 0x21C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpaste?language=objc)
pub const kHIDUsage_Csmr_ACPaste: c_uint = 0x21D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_ac?language=objc)
pub const kHIDUsage_Csmr_AC: c_uint = 0x21E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfind?language=objc)
pub const kHIDUsage_Csmr_ACFind: c_uint = 0x21F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfindandreplace?language=objc)
pub const kHIDUsage_Csmr_ACFindandReplace: c_uint = 0x220;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsearch?language=objc)
pub const kHIDUsage_Csmr_ACSearch: c_uint = 0x221;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acgoto?language=objc)
pub const kHIDUsage_Csmr_ACGoTo: c_uint = 0x222;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_achome?language=objc)
pub const kHIDUsage_Csmr_ACHome: c_uint = 0x223;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acback?language=objc)
pub const kHIDUsage_Csmr_ACBack: c_uint = 0x224;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acforward?language=objc)
pub const kHIDUsage_Csmr_ACForward: c_uint = 0x225;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acstop?language=objc)
pub const kHIDUsage_Csmr_ACStop: c_uint = 0x226;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acrefresh?language=objc)
pub const kHIDUsage_Csmr_ACRefresh: c_uint = 0x227;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpreviouslink?language=objc)
pub const kHIDUsage_Csmr_ACPreviousLink: c_uint = 0x228;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnextlink?language=objc)
pub const kHIDUsage_Csmr_ACNextLink: c_uint = 0x229;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acbookmarks?language=objc)
pub const kHIDUsage_Csmr_ACBookmarks: c_uint = 0x22A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_achistory?language=objc)
pub const kHIDUsage_Csmr_ACHistory: c_uint = 0x22B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsubscriptions?language=objc)
pub const kHIDUsage_Csmr_ACSubscriptions: c_uint = 0x22C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aczoomin?language=objc)
pub const kHIDUsage_Csmr_ACZoomIn: c_uint = 0x22D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aczoomout?language=objc)
pub const kHIDUsage_Csmr_ACZoomOut: c_uint = 0x22E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aczoom?language=objc)
pub const kHIDUsage_Csmr_ACZoom: c_uint = 0x22F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfullscreenview?language=objc)
pub const kHIDUsage_Csmr_ACFullScreenView: c_uint = 0x230;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnormalview?language=objc)
pub const kHIDUsage_Csmr_ACNormalView: c_uint = 0x231;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acviewtoggle?language=objc)
pub const kHIDUsage_Csmr_ACViewToggle: c_uint = 0x232;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acscrollup?language=objc)
pub const kHIDUsage_Csmr_ACScrollUp: c_uint = 0x233;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acscrolldown?language=objc)
pub const kHIDUsage_Csmr_ACScrollDown: c_uint = 0x234;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acscroll?language=objc)
pub const kHIDUsage_Csmr_ACScroll: c_uint = 0x235;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpanleft?language=objc)
pub const kHIDUsage_Csmr_ACPanLeft: c_uint = 0x236;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpanright?language=objc)
pub const kHIDUsage_Csmr_ACPanRight: c_uint = 0x237;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpan?language=objc)
pub const kHIDUsage_Csmr_ACPan: c_uint = 0x238;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnewwindow?language=objc)
pub const kHIDUsage_Csmr_ACNewWindow: c_uint = 0x239;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_actilehorizontally?language=objc)
pub const kHIDUsage_Csmr_ACTileHorizontally: c_uint = 0x23A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_actilevertically?language=objc)
pub const kHIDUsage_Csmr_ACTileVertically: c_uint = 0x23B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acformat?language=objc)
pub const kHIDUsage_Csmr_ACFormat: c_uint = 0x23C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acedit?language=objc)
pub const kHIDUsage_Csmr_ACEdit: c_uint = 0x23D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acbold?language=objc)
pub const kHIDUsage_Csmr_ACBold: c_uint = 0x23E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acitalics?language=objc)
pub const kHIDUsage_Csmr_ACItalics: c_uint = 0x23F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acunderline?language=objc)
pub const kHIDUsage_Csmr_ACUnderline: c_uint = 0x240;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acstrikethrough?language=objc)
pub const kHIDUsage_Csmr_ACStrikethrough: c_uint = 0x241;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsubscript?language=objc)
pub const kHIDUsage_Csmr_ACSubscript: c_uint = 0x242;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsuperscript?language=objc)
pub const kHIDUsage_Csmr_ACSuperscript: c_uint = 0x243;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acallcaps?language=objc)
pub const kHIDUsage_Csmr_ACAllCaps: c_uint = 0x244;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acrotate?language=objc)
pub const kHIDUsage_Csmr_ACRotate: c_uint = 0x245;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acresize?language=objc)
pub const kHIDUsage_Csmr_ACResize: c_uint = 0x246;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfliphorizontal?language=objc)
pub const kHIDUsage_Csmr_ACFlipHorizontal: c_uint = 0x247;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acflipvertical?language=objc)
pub const kHIDUsage_Csmr_ACFlipVertical: c_uint = 0x248;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acmirrorhorizontal?language=objc)
pub const kHIDUsage_Csmr_ACMirrorHorizontal: c_uint = 0x249;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acmirrorvertical?language=objc)
pub const kHIDUsage_Csmr_ACMirrorVertical: c_uint = 0x24A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfontselect?language=objc)
pub const kHIDUsage_Csmr_ACFontSelect: c_uint = 0x24B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfontcolor?language=objc)
pub const kHIDUsage_Csmr_ACFontColor: c_uint = 0x24C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfontsize?language=objc)
pub const kHIDUsage_Csmr_ACFontSize: c_uint = 0x24D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifyleft?language=objc)
pub const kHIDUsage_Csmr_ACJustifyLeft: c_uint = 0x24E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifycenterh?language=objc)
pub const kHIDUsage_Csmr_ACJustifyCenterH: c_uint = 0x24F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifyright?language=objc)
pub const kHIDUsage_Csmr_ACJustifyRight: c_uint = 0x250;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifyblockh?language=objc)
pub const kHIDUsage_Csmr_ACJustifyBlockH: c_uint = 0x251;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifytop?language=objc)
pub const kHIDUsage_Csmr_ACJustifyTop: c_uint = 0x252;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifycenterv?language=objc)
pub const kHIDUsage_Csmr_ACJustifyCenterV: c_uint = 0x253;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifybottom?language=objc)
pub const kHIDUsage_Csmr_ACJustifyBottom: c_uint = 0x254;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acjustifyblockv?language=objc)
pub const kHIDUsage_Csmr_ACJustifyBlockV: c_uint = 0x255;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acindentydecrease?language=objc)
pub const kHIDUsage_Csmr_ACIndentyDecrease: c_uint = 0x256;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acindentyincrease?language=objc)
pub const kHIDUsage_Csmr_ACIndentyIncrease: c_uint = 0x257;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnumberedlist?language=objc)
pub const kHIDUsage_Csmr_ACNumberedList: c_uint = 0x258;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acrestartnumbering?language=objc)
pub const kHIDUsage_Csmr_ACRestartNumbering: c_uint = 0x259;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acbulletedlist?language=objc)
pub const kHIDUsage_Csmr_ACBulletedList: c_uint = 0x25A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpromote?language=objc)
pub const kHIDUsage_Csmr_ACPromote: c_uint = 0x25B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdemote?language=objc)
pub const kHIDUsage_Csmr_ACDemote: c_uint = 0x25C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acyes?language=objc)
pub const kHIDUsage_Csmr_ACYes: c_uint = 0x25D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acno?language=objc)
pub const kHIDUsage_Csmr_ACNo: c_uint = 0x25E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accancel?language=objc)
pub const kHIDUsage_Csmr_ACCancel: c_uint = 0x25F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accatalog?language=objc)
pub const kHIDUsage_Csmr_ACCatalog: c_uint = 0x260;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acbuyorcheckout?language=objc)
pub const kHIDUsage_Csmr_ACBuyOrCheckout: c_uint = 0x261;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acaddtocart?language=objc)
pub const kHIDUsage_Csmr_ACAddToCart: c_uint = 0x262;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acexpand?language=objc)
pub const kHIDUsage_Csmr_ACExpand: c_uint = 0x263;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acexpandall?language=objc)
pub const kHIDUsage_Csmr_ACExpandAll: c_uint = 0x264;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accollapse?language=objc)
pub const kHIDUsage_Csmr_ACCollapse: c_uint = 0x265;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_accollapseall?language=objc)
pub const kHIDUsage_Csmr_ACCollapseAll: c_uint = 0x266;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acprintpreview?language=objc)
pub const kHIDUsage_Csmr_ACPrintPreview: c_uint = 0x267;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acpastespecial?language=objc)
pub const kHIDUsage_Csmr_ACPasteSpecial: c_uint = 0x268;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertmode?language=objc)
pub const kHIDUsage_Csmr_ACInsertMode: c_uint = 0x269;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdelete?language=objc)
pub const kHIDUsage_Csmr_ACDelete: c_uint = 0x26A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_aclock?language=objc)
pub const kHIDUsage_Csmr_ACLock: c_uint = 0x26B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acunlock?language=objc)
pub const kHIDUsage_Csmr_ACUnlock: c_uint = 0x26C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acprotect?language=objc)
pub const kHIDUsage_Csmr_ACProtect: c_uint = 0x26D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acunprotect?language=objc)
pub const kHIDUsage_Csmr_ACUnprotect: c_uint = 0x26E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acattachcomment?language=objc)
pub const kHIDUsage_Csmr_ACAttachComment: c_uint = 0x26F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdetachcomment?language=objc)
pub const kHIDUsage_Csmr_ACDetachComment: c_uint = 0x270;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acviewcomment?language=objc)
pub const kHIDUsage_Csmr_ACViewComment: c_uint = 0x271;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectword?language=objc)
pub const kHIDUsage_Csmr_ACSelectWord: c_uint = 0x272;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectsentence?language=objc)
pub const kHIDUsage_Csmr_ACSelectSentence: c_uint = 0x273;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectparagraph?language=objc)
pub const kHIDUsage_Csmr_ACSelectParagraph: c_uint = 0x274;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectcolumn?language=objc)
pub const kHIDUsage_Csmr_ACSelectColumn: c_uint = 0x275;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectrow?language=objc)
pub const kHIDUsage_Csmr_ACSelectRow: c_uint = 0x276;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselecttable?language=objc)
pub const kHIDUsage_Csmr_ACSelectTable: c_uint = 0x277;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselectobject?language=objc)
pub const kHIDUsage_Csmr_ACSelectObject: c_uint = 0x278;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acredoorrepeat?language=objc)
pub const kHIDUsage_Csmr_ACRedoOrRepeat: c_uint = 0x279;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsort?language=objc)
pub const kHIDUsage_Csmr_ACSort: c_uint = 0x27A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsortascending?language=objc)
pub const kHIDUsage_Csmr_ACSortAscending: c_uint = 0x27B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsortdescending?language=objc)
pub const kHIDUsage_Csmr_ACSortDescending: c_uint = 0x27C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acfilter?language=objc)
pub const kHIDUsage_Csmr_ACFilter: c_uint = 0x27D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsetclock?language=objc)
pub const kHIDUsage_Csmr_ACSetClock: c_uint = 0x27E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acviewclock?language=objc)
pub const kHIDUsage_Csmr_ACViewClock: c_uint = 0x27F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acselecttimezone?language=objc)
pub const kHIDUsage_Csmr_ACSelectTimeZone: c_uint = 0x280;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acedittimezones?language=objc)
pub const kHIDUsage_Csmr_ACEditTimeZones: c_uint = 0x281;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsetalarm?language=objc)
pub const kHIDUsage_Csmr_ACSetAlarm: c_uint = 0x282;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acclearalarm?language=objc)
pub const kHIDUsage_Csmr_ACClearAlarm: c_uint = 0x283;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsnoozealarm?language=objc)
pub const kHIDUsage_Csmr_ACSnoozeAlarm: c_uint = 0x284;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acresetalarm?language=objc)
pub const kHIDUsage_Csmr_ACResetAlarm: c_uint = 0x285;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsynchronize?language=objc)
pub const kHIDUsage_Csmr_ACSynchronize: c_uint = 0x286;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsendorreceive?language=objc)
pub const kHIDUsage_Csmr_ACSendOrReceive: c_uint = 0x287;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsendto?language=objc)
pub const kHIDUsage_Csmr_ACSendTo: c_uint = 0x288;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acreply?language=objc)
pub const kHIDUsage_Csmr_ACReply: c_uint = 0x289;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acreplyall?language=objc)
pub const kHIDUsage_Csmr_ACReplyAll: c_uint = 0x28A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acforwardmessage?language=objc)
pub const kHIDUsage_Csmr_ACForwardMessage: c_uint = 0x28B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsend?language=objc)
pub const kHIDUsage_Csmr_ACSend: c_uint = 0x28C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acattachfile?language=objc)
pub const kHIDUsage_Csmr_ACAttachFile: c_uint = 0x28D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acupload?language=objc)
pub const kHIDUsage_Csmr_ACUpload: c_uint = 0x28E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdownload?language=objc)
pub const kHIDUsage_Csmr_ACDownload: c_uint = 0x28F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsetborders?language=objc)
pub const kHIDUsage_Csmr_ACSetBorders: c_uint = 0x290;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertrow?language=objc)
pub const kHIDUsage_Csmr_ACInsertRow: c_uint = 0x291;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertcolumn?language=objc)
pub const kHIDUsage_Csmr_ACInsertColumn: c_uint = 0x292;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertfile?language=objc)
pub const kHIDUsage_Csmr_ACInsertFile: c_uint = 0x293;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertpicture?language=objc)
pub const kHIDUsage_Csmr_ACInsertPicture: c_uint = 0x294;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertobject?language=objc)
pub const kHIDUsage_Csmr_ACInsertObject: c_uint = 0x295;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acinsertsymbol?language=objc)
pub const kHIDUsage_Csmr_ACInsertSymbol: c_uint = 0x296;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsaveandclose?language=objc)
pub const kHIDUsage_Csmr_ACSaveAndClose: c_uint = 0x297;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acrename?language=objc)
pub const kHIDUsage_Csmr_ACRename: c_uint = 0x298;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acmerge?language=objc)
pub const kHIDUsage_Csmr_ACMerge: c_uint = 0x299;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsplit?language=objc)
pub const kHIDUsage_Csmr_ACSplit: c_uint = 0x29A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdistributeh?language=objc)
pub const kHIDUsage_Csmr_ACDistributeH: c_uint = 0x29B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdistributev?language=objc)
pub const kHIDUsage_Csmr_ACDistributeV: c_uint = 0x29C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_ackeyboardlayoutselect?language=objc)
pub const kHIDUsage_Csmr_ACKeyboardLayoutSelect: c_uint = 0x29D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acnavigationguidance?language=objc)
pub const kHIDUsage_Csmr_ACNavigationGuidance: c_uint = 0x29E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdesktopshowallwindows?language=objc)
pub const kHIDUsage_Csmr_ACDesktopShowAllWindows: c_uint = 0x29F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsoftkeyleft?language=objc)
pub const kHIDUsage_Csmr_ACSoftKeyLeft: c_uint = 0x2A0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acsoftkeyright?language=objc)
pub const kHIDUsage_Csmr_ACSoftKeyRight: c_uint = 0x2A1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acdesktopshowallapplications?language=objc)
pub const kHIDUsage_Csmr_ACDesktopShowAllApplications: c_uint = 0x2A2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_acidlekeepalive?language=objc)
pub const kHIDUsage_Csmr_ACIdleKeepAlive: c_uint = 0x2B0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_extendedkeyboardattributescollection?language=objc)
pub const kHIDUsage_Csmr_ExtendedKeyboardAttributesCollection: c_uint = 0x2C0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardformfactor?language=objc)
pub const kHIDUsage_Csmr_KeyboardFormFactor: c_uint = 0x2C1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardkeytype?language=objc)
pub const kHIDUsage_Csmr_KeyboardKeyType: c_uint = 0x2C2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardphysicallayout?language=objc)
pub const kHIDUsage_Csmr_KeyboardPhysicalLayout: c_uint = 0x2C3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_vendorspecifickeyboardphysicallayout?language=objc)
pub const kHIDUsage_Csmr_VendorSpecificKeyboardPhysicalLayout: c_uint = 0x2C4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardietflanguagetagindex?language=objc)
pub const kHIDUsage_Csmr_KeyboardIETFLanguageTagIndex: c_uint = 0x2C5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_implementedkeyboardinputassistcontrols?language=objc)
pub const kHIDUsage_Csmr_ImplementedKeyboardInputAssistControls: c_uint = 0x2C6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistprevious?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistPrevious: c_uint = 0x2C7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistnext?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistNext: c_uint = 0x2C8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistpreviousgroup?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistPreviousGroup: c_uint = 0x2C9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistnextgroup?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistNextGroup: c_uint = 0x2CA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistaccept?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistAccept: c_uint = 0x2CB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_keyboardinputassistcancel?language=objc)
pub const kHIDUsage_Csmr_KeyboardInputAssistCancel: c_uint = 0x2CC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactedited?language=objc)
pub const kHIDUsage_Csmr_ContactEdited: c_uint = 0x500;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactadded?language=objc)
pub const kHIDUsage_Csmr_ContactAdded: c_uint = 0x501;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactrecordactive?language=objc)
pub const kHIDUsage_Csmr_ContactRecordActive: c_uint = 0x502;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactindex?language=objc)
pub const kHIDUsage_Csmr_ContactIndex: c_uint = 0x503;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactnickname?language=objc)
pub const kHIDUsage_Csmr_ContactNickname: c_uint = 0x504;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactfirstname?language=objc)
pub const kHIDUsage_Csmr_ContactFirstName: c_uint = 0x505;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactlastname?language=objc)
pub const kHIDUsage_Csmr_ContactLastName: c_uint = 0x506;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactfullname?language=objc)
pub const kHIDUsage_Csmr_ContactFullName: c_uint = 0x507;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumberpersonal?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberPersonal: c_uint = 0x508;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumberbusiness?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberBusiness: c_uint = 0x509;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumbermobile?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberMobile: c_uint = 0x50A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumberpager?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberPager: c_uint = 0x50B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumberfax?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberFax: c_uint = 0x50C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactphonenumberother?language=objc)
pub const kHIDUsage_Csmr_ContactPhoneNumberOther: c_uint = 0x50D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactemailpersonal?language=objc)
pub const kHIDUsage_Csmr_ContactEmailPersonal: c_uint = 0x50E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactemailbusiness?language=objc)
pub const kHIDUsage_Csmr_ContactEmailBusiness: c_uint = 0x50F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactemailother?language=objc)
pub const kHIDUsage_Csmr_ContactEmailOther: c_uint = 0x510;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactemailmain?language=objc)
pub const kHIDUsage_Csmr_ContactEmailMain: c_uint = 0x511;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactspeeddialnumber?language=objc)
pub const kHIDUsage_Csmr_ContactSpeedDialNumber: c_uint = 0x512;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactstatusflag?language=objc)
pub const kHIDUsage_Csmr_ContactStatusFlag: c_uint = 0x513;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_contactmisc?language=objc)
pub const kHIDUsage_Csmr_ContactMisc: c_uint = 0x514;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_csmr_reserved?language=objc)
pub const kHIDUsage_Csmr_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_digitizer?language=objc)
pub const kHIDUsage_Dig_Digitizer: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_pen?language=objc)
pub const kHIDUsage_Dig_Pen: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_lightpen?language=objc)
pub const kHIDUsage_Dig_LightPen: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_touchscreen?language=objc)
pub const kHIDUsage_Dig_TouchScreen: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_touchpad?language=objc)
pub const kHIDUsage_Dig_TouchPad: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_whiteboard?language=objc)
pub const kHIDUsage_Dig_WhiteBoard: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_coordinatemeasuringmachine?language=objc)
pub const kHIDUsage_Dig_CoordinateMeasuringMachine: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_3ddigitizer?language=objc)
pub const kHIDUsage_Dig_3DDigitizer: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_stereoplotter?language=objc)
pub const kHIDUsage_Dig_StereoPlotter: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_articulatedarm?language=objc)
pub const kHIDUsage_Dig_ArticulatedArm: c_uint = 0x0A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_armature?language=objc)
pub const kHIDUsage_Dig_Armature: c_uint = 0x0B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_multiplepointdigitizer?language=objc)
pub const kHIDUsage_Dig_MultiplePointDigitizer: c_uint = 0x0C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_freespacewand?language=objc)
pub const kHIDUsage_Dig_FreeSpaceWand: c_uint = 0x0D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_deviceconfiguration?language=objc)
pub const kHIDUsage_Dig_DeviceConfiguration: c_uint = 0x0E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_capacitiveheatmapdigitizer?language=objc)
pub const kHIDUsage_Dig_CapacitiveHeatMapDigitizer: c_uint = 0x0F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_stylus?language=objc)
pub const kHIDUsage_Dig_Stylus: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_puck?language=objc)
pub const kHIDUsage_Dig_Puck: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_finger?language=objc)
pub const kHIDUsage_Dig_Finger: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_devicesettings?language=objc)
pub const kHIDUsage_Dig_DeviceSettings: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacter?language=objc)
pub const kHIDUsage_Dig_GestureCharacter: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_tippressure?language=objc)
pub const kHIDUsage_Dig_TipPressure: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_barrelpressure?language=objc)
pub const kHIDUsage_Dig_BarrelPressure: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_inrange?language=objc)
pub const kHIDUsage_Dig_InRange: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_touch?language=objc)
pub const kHIDUsage_Dig_Touch: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_untouch?language=objc)
pub const kHIDUsage_Dig_Untouch: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_tap?language=objc)
pub const kHIDUsage_Dig_Tap: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_quality?language=objc)
pub const kHIDUsage_Dig_Quality: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_datavalid?language=objc)
pub const kHIDUsage_Dig_DataValid: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_transducerindex?language=objc)
pub const kHIDUsage_Dig_TransducerIndex: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_tabletfunctionkeys?language=objc)
pub const kHIDUsage_Dig_TabletFunctionKeys: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_programchangekeys?language=objc)
pub const kHIDUsage_Dig_ProgramChangeKeys: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_batterystrength?language=objc)
pub const kHIDUsage_Dig_BatteryStrength: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_invert?language=objc)
pub const kHIDUsage_Dig_Invert: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_xtilt?language=objc)
pub const kHIDUsage_Dig_XTilt: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_ytilt?language=objc)
pub const kHIDUsage_Dig_YTilt: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_azimuth?language=objc)
pub const kHIDUsage_Dig_Azimuth: c_uint = 0x3F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_altitude?language=objc)
pub const kHIDUsage_Dig_Altitude: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_twist?language=objc)
pub const kHIDUsage_Dig_Twist: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_tipswitch?language=objc)
pub const kHIDUsage_Dig_TipSwitch: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_secondarytipswitch?language=objc)
pub const kHIDUsage_Dig_SecondaryTipSwitch: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_barrelswitch?language=objc)
pub const kHIDUsage_Dig_BarrelSwitch: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_eraser?language=objc)
pub const kHIDUsage_Dig_Eraser: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_tabletpick?language=objc)
pub const kHIDUsage_Dig_TabletPick: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_touchvalid?language=objc)
pub const kHIDUsage_Dig_TouchValid: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_width?language=objc)
pub const kHIDUsage_Dig_Width: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_height?language=objc)
pub const kHIDUsage_Dig_Height: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_contactidentifier?language=objc)
pub const kHIDUsage_Dig_ContactIdentifier: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_devicemode?language=objc)
pub const kHIDUsage_Dig_DeviceMode: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_deviceidentifier?language=objc)
pub const kHIDUsage_Dig_DeviceIdentifier: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_contactcount?language=objc)
pub const kHIDUsage_Dig_ContactCount: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_contactcountmaximum?language=objc)
pub const kHIDUsage_Dig_ContactCountMaximum: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_relativescantime?language=objc)
pub const kHIDUsage_Dig_RelativeScanTime: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_surfaceswitch?language=objc)
pub const kHIDUsage_Dig_SurfaceSwitch: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterenable?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEnable: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterquality?language=objc)
pub const kHIDUsage_Dig_GestureCharacterQuality: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterdatalength?language=objc)
pub const kHIDUsage_Dig_GestureCharacterDataLength: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterdata?language=objc)
pub const kHIDUsage_Dig_GestureCharacterData: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencoding?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncoding: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencodingutf8?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncodingUTF8: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencodingutf16le?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncodingUTF16LE: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencodingutf16be?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncodingUTF16BE: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencodingutf32le?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncodingUTF32LE: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_gesturecharacterencodingutf32be?language=objc)
pub const kHIDUsage_Dig_GestureCharacterEncodingUTF32BE: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_capacitiveheatmapprotocolvendorid?language=objc)
pub const kHIDUsage_Dig_CapacitiveHeatMapProtocolVendorID: c_uint = 0x6A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_capacitiveheatmapprotocolversion?language=objc)
pub const kHIDUsage_Dig_CapacitiveHeatMapProtocolVersion: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_capacitiveheatmapframedata?language=objc)
pub const kHIDUsage_Dig_CapacitiveHeatMapFrameData: c_uint = 0x6C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_reportrate?language=objc)
pub const kHIDUsage_Dig_ReportRate: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_dig_reserved?language=objc)
pub const kHIDUsage_Dig_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_simplehapticcontroller?language=objc)
pub const kHIDUsage_Haptics_SimpleHapticController: c_uint = 0x0001;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformlist?language=objc)
pub const kHIDUsage_Haptics_WaveformList: c_uint = 0x0010;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_durationlist?language=objc)
pub const kHIDUsage_Haptics_DurationList: c_uint = 0x0011;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_autotrigger?language=objc)
pub const kHIDUsage_Haptics_AutoTrigger: c_uint = 0x0020;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_manualtrigger?language=objc)
pub const kHIDUsage_Haptics_ManualTrigger: c_uint = 0x0021;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_autotriggerassociatedcontrol?language=objc)
pub const kHIDUsage_Haptics_AutoTriggerAssociatedControl: c_uint = 0x0022;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_intensity?language=objc)
pub const kHIDUsage_Haptics_Intensity: c_uint = 0x0023;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_repeatcount?language=objc)
pub const kHIDUsage_Haptics_RepeatCount: c_uint = 0x0024;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_retriggerperiod?language=objc)
pub const kHIDUsage_Haptics_RetriggerPeriod: c_uint = 0x0025;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformvendorpage?language=objc)
pub const kHIDUsage_Haptics_WaveformVendorPage: c_uint = 0x0026;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformvendorid?language=objc)
pub const kHIDUsage_Haptics_WaveformVendorID: c_uint = 0x0027;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformcutofftime?language=objc)
pub const kHIDUsage_Haptics_WaveformCutoffTime: c_uint = 0x0028;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformnone?language=objc)
pub const kHIDUsage_Haptics_WaveformNone: c_uint = 0x1001;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformstop?language=objc)
pub const kHIDUsage_Haptics_WaveformStop: c_uint = 0x1002;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformclick?language=objc)
pub const kHIDUsage_Haptics_WaveformClick: c_uint = 0x1003;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformbuzzcontinuous?language=objc)
pub const kHIDUsage_Haptics_WaveformBuzzContinuous: c_uint = 0x1004;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformrumblecontinuous?language=objc)
pub const kHIDUsage_Haptics_WaveformRumbleContinuous: c_uint = 0x1005;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformpress?language=objc)
pub const kHIDUsage_Haptics_WaveformPress: c_uint = 0x1006;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_waveformrelease?language=objc)
pub const kHIDUsage_Haptics_WaveformRelease: c_uint = 0x1007;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_vendorwaveformfirst?language=objc)
pub const kHIDUsage_Haptics_VendorWaveformFirst: c_uint = 0x2001;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_haptics_vendorwaveformlast?language=objc)
pub const kHIDUsage_Haptics_VendorWaveformLast: c_uint = 0x2FFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_physicalinterfacedevice?language=objc)
pub const kHIDUsage_PID_PhysicalInterfaceDevice: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_normal?language=objc)
pub const kHIDUsage_PID_Normal: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_seteffectreport?language=objc)
pub const kHIDUsage_PID_SetEffectReport: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_effectblockindex?language=objc)
pub const kHIDUsage_PID_EffectBlockIndex: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_paramblockoffset?language=objc)
pub const kHIDUsage_PID_ParamBlockOffset: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_rom_flag?language=objc)
pub const kHIDUsage_PID_ROM_Flag: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_effecttype?language=objc)
pub const kHIDUsage_PID_EffectType: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_constantforce?language=objc)
pub const kHIDUsage_PID_ET_ConstantForce: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_ramp?language=objc)
pub const kHIDUsage_PID_ET_Ramp: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_customforcedata?language=objc)
pub const kHIDUsage_PID_ET_CustomForceData: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_square?language=objc)
pub const kHIDUsage_PID_ET_Square: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_sine?language=objc)
pub const kHIDUsage_PID_ET_Sine: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_triangle?language=objc)
pub const kHIDUsage_PID_ET_Triangle: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_sawtoothup?language=objc)
pub const kHIDUsage_PID_ET_SawtoothUp: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_sawtoothdown?language=objc)
pub const kHIDUsage_PID_ET_SawtoothDown: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_spring?language=objc)
pub const kHIDUsage_PID_ET_Spring: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_damper?language=objc)
pub const kHIDUsage_PID_ET_Damper: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_inertia?language=objc)
pub const kHIDUsage_PID_ET_Inertia: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_et_friction?language=objc)
pub const kHIDUsage_PID_ET_Friction: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_duration?language=objc)
pub const kHIDUsage_PID_Duration: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_sampleperiod?language=objc)
pub const kHIDUsage_PID_SamplePeriod: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_gain?language=objc)
pub const kHIDUsage_PID_Gain: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_triggerbutton?language=objc)
pub const kHIDUsage_PID_TriggerButton: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_triggerrepeatinterval?language=objc)
pub const kHIDUsage_PID_TriggerRepeatInterval: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_axesenable?language=objc)
pub const kHIDUsage_PID_AxesEnable: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_directionenable?language=objc)
pub const kHIDUsage_PID_DirectionEnable: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_direction?language=objc)
pub const kHIDUsage_PID_Direction: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_typespecificblockoffset?language=objc)
pub const kHIDUsage_PID_TypeSpecificBlockOffset: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blocktype?language=objc)
pub const kHIDUsage_PID_BlockType: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setenvelopereport?language=objc)
pub const kHIDUsage_PID_SetEnvelopeReport: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_attacklevel?language=objc)
pub const kHIDUsage_PID_AttackLevel: c_uint = 0x5B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_attacktime?language=objc)
pub const kHIDUsage_PID_AttackTime: c_uint = 0x5C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_fadelevel?language=objc)
pub const kHIDUsage_PID_FadeLevel: c_uint = 0x5D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_fadetime?language=objc)
pub const kHIDUsage_PID_FadeTime: c_uint = 0x5E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setconditionreport?language=objc)
pub const kHIDUsage_PID_SetConditionReport: c_uint = 0x5F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_cp_offset?language=objc)
pub const kHIDUsage_PID_CP_Offset: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_positivecoefficient?language=objc)
pub const kHIDUsage_PID_PositiveCoefficient: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_negativecoefficient?language=objc)
pub const kHIDUsage_PID_NegativeCoefficient: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_positivesaturation?language=objc)
pub const kHIDUsage_PID_PositiveSaturation: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_negativesaturation?language=objc)
pub const kHIDUsage_PID_NegativeSaturation: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_deadband?language=objc)
pub const kHIDUsage_PID_DeadBand: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_downloadforcesample?language=objc)
pub const kHIDUsage_PID_DownloadForceSample: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_isochcustomforceenable?language=objc)
pub const kHIDUsage_PID_IsochCustomForceEnable: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_customforcedatareport?language=objc)
pub const kHIDUsage_PID_CustomForceDataReport: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_customforcedata?language=objc)
pub const kHIDUsage_PID_CustomForceData: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_customforcevendordefineddata?language=objc)
pub const kHIDUsage_PID_CustomForceVendorDefinedData: c_uint = 0x6A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setcustomforcereport?language=objc)
pub const kHIDUsage_PID_SetCustomForceReport: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_customforcedataoffset?language=objc)
pub const kHIDUsage_PID_CustomForceDataOffset: c_uint = 0x6C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_samplecount?language=objc)
pub const kHIDUsage_PID_SampleCount: c_uint = 0x6D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setperiodicreport?language=objc)
pub const kHIDUsage_PID_SetPeriodicReport: c_uint = 0x6E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_offset?language=objc)
pub const kHIDUsage_PID_Offset: c_uint = 0x6F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_magnitude?language=objc)
pub const kHIDUsage_PID_Magnitude: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_phase?language=objc)
pub const kHIDUsage_PID_Phase: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_period?language=objc)
pub const kHIDUsage_PID_Period: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setconstantforcereport?language=objc)
pub const kHIDUsage_PID_SetConstantForceReport: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_setrampforcereport?language=objc)
pub const kHIDUsage_PID_SetRampForceReport: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_rampstart?language=objc)
pub const kHIDUsage_PID_RampStart: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_rampend?language=objc)
pub const kHIDUsage_PID_RampEnd: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_effectoperationreport?language=objc)
pub const kHIDUsage_PID_EffectOperationReport: c_uint = 0x77;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_effectoperation?language=objc)
pub const kHIDUsage_PID_EffectOperation: c_uint = 0x78;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_opeffectstart?language=objc)
pub const kHIDUsage_PID_OpEffectStart: c_uint = 0x79;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_opeffectstartsolo?language=objc)
pub const kHIDUsage_PID_OpEffectStartSolo: c_uint = 0x7A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_opeffectstop?language=objc)
pub const kHIDUsage_PID_OpEffectStop: c_uint = 0x7B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_loopcount?language=objc)
pub const kHIDUsage_PID_LoopCount: c_uint = 0x7C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicegainreport?language=objc)
pub const kHIDUsage_PID_DeviceGainReport: c_uint = 0x7D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicegain?language=objc)
pub const kHIDUsage_PID_DeviceGain: c_uint = 0x7E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_poolreport?language=objc)
pub const kHIDUsage_PID_PoolReport: c_uint = 0x7F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_ram_poolsize?language=objc)
pub const kHIDUsage_PID_RAM_PoolSize: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_rom_poolsize?language=objc)
pub const kHIDUsage_PID_ROM_PoolSize: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_rom_effectblockcount?language=objc)
pub const kHIDUsage_PID_ROM_EffectBlockCount: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_simultaneouseffectsmax?language=objc)
pub const kHIDUsage_PID_SimultaneousEffectsMax: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_poolalignment?language=objc)
pub const kHIDUsage_PID_PoolAlignment: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_poolmovereport?language=objc)
pub const kHIDUsage_PID_PoolMoveReport: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_movesource?language=objc)
pub const kHIDUsage_PID_MoveSource: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_movedestination?language=objc)
pub const kHIDUsage_PID_MoveDestination: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_movelength?language=objc)
pub const kHIDUsage_PID_MoveLength: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockloadreport?language=objc)
pub const kHIDUsage_PID_BlockLoadReport: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockloadstatus?language=objc)
pub const kHIDUsage_PID_BlockLoadStatus: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockloadsuccess?language=objc)
pub const kHIDUsage_PID_BlockLoadSuccess: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockloadfull?language=objc)
pub const kHIDUsage_PID_BlockLoadFull: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockloaderror?language=objc)
pub const kHIDUsage_PID_BlockLoadError: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockhandle?language=objc)
pub const kHIDUsage_PID_BlockHandle: c_uint = 0x8F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_blockfreereport?language=objc)
pub const kHIDUsage_PID_BlockFreeReport: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_typespecificblockhandle?language=objc)
pub const kHIDUsage_PID_TypeSpecificBlockHandle: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_statereport?language=objc)
pub const kHIDUsage_PID_StateReport: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_effectplaying?language=objc)
pub const kHIDUsage_PID_EffectPlaying: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicecontrolreport?language=objc)
pub const kHIDUsage_PID_DeviceControlReport: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicecontrol?language=objc)
pub const kHIDUsage_PID_DeviceControl: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_enableactuators?language=objc)
pub const kHIDUsage_PID_DC_EnableActuators: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_disableactuators?language=objc)
pub const kHIDUsage_PID_DC_DisableActuators: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_stopalleffects?language=objc)
pub const kHIDUsage_PID_DC_StopAllEffects: c_uint = 0x99;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_devicereset?language=objc)
pub const kHIDUsage_PID_DC_DeviceReset: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_devicepause?language=objc)
pub const kHIDUsage_PID_DC_DevicePause: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_dc_devicecontinue?language=objc)
pub const kHIDUsage_PID_DC_DeviceContinue: c_uint = 0x9C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicepaused?language=objc)
pub const kHIDUsage_PID_DevicePaused: c_uint = 0x9F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_actuatorsenabled?language=objc)
pub const kHIDUsage_PID_ActuatorsEnabled: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_safetyswitch?language=objc)
pub const kHIDUsage_PID_SafetySwitch: c_uint = 0xA4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_actuatoroverrideswitch?language=objc)
pub const kHIDUsage_PID_ActuatorOverrideSwitch: c_uint = 0xA5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_actuatorpower?language=objc)
pub const kHIDUsage_PID_ActuatorPower: c_uint = 0xA6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_startdelay?language=objc)
pub const kHIDUsage_PID_StartDelay: c_uint = 0xA7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_parameterblocksize?language=objc)
pub const kHIDUsage_PID_ParameterBlockSize: c_uint = 0xA8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_devicemanagedpool?language=objc)
pub const kHIDUsage_PID_DeviceManagedPool: c_uint = 0xA9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_sharedparameterblocks?language=objc)
pub const kHIDUsage_PID_SharedParameterBlocks: c_uint = 0xAA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_createneweffectreport?language=objc)
pub const kHIDUsage_PID_CreateNewEffectReport: c_uint = 0xAB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_ram_poolavailable?language=objc)
pub const kHIDUsage_PID_RAM_PoolAvailable: c_uint = 0xAC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pid_reserved?language=objc)
pub const kHIDUsage_PID_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_alphanumericdisplay?language=objc)
pub const kHIDUsage_AD_AlphanumericDisplay: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_displayattributesreport?language=objc)
pub const kHIDUsage_AD_DisplayAttributesReport: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_asciicharacterset?language=objc)
pub const kHIDUsage_AD_ASCIICharacterSet: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_datareadback?language=objc)
pub const kHIDUsage_AD_DataReadBack: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_fontreadback?language=objc)
pub const kHIDUsage_AD_FontReadBack: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_displaycontrolreport?language=objc)
pub const kHIDUsage_AD_DisplayControlReport: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cleardisplay?language=objc)
pub const kHIDUsage_AD_ClearDisplay: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_displayenable?language=objc)
pub const kHIDUsage_AD_DisplayEnable: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_screensaverdelay?language=objc)
pub const kHIDUsage_AD_ScreenSaverDelay: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_screensaverenable?language=objc)
pub const kHIDUsage_AD_ScreenSaverEnable: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_verticalscroll?language=objc)
pub const kHIDUsage_AD_VerticalScroll: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_horizontalscroll?language=objc)
pub const kHIDUsage_AD_HorizontalScroll: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_characterreport?language=objc)
pub const kHIDUsage_AD_CharacterReport: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_displaydata?language=objc)
pub const kHIDUsage_AD_DisplayData: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_displaystatus?language=objc)
pub const kHIDUsage_AD_DisplayStatus: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_statnotready?language=objc)
pub const kHIDUsage_AD_StatNotReady: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_statready?language=objc)
pub const kHIDUsage_AD_StatReady: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_errnotaloadablecharacter?language=objc)
pub const kHIDUsage_AD_ErrNotaloadablecharacter: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_errfontdatacannotberead?language=objc)
pub const kHIDUsage_AD_ErrFontdatacannotberead: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cursorpositionreport?language=objc)
pub const kHIDUsage_AD_CursorPositionReport: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_row?language=objc)
pub const kHIDUsage_AD_Row: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_column?language=objc)
pub const kHIDUsage_AD_Column: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_rows?language=objc)
pub const kHIDUsage_AD_Rows: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_columns?language=objc)
pub const kHIDUsage_AD_Columns: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cursorpixelpositioning?language=objc)
pub const kHIDUsage_AD_CursorPixelPositioning: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cursormode?language=objc)
pub const kHIDUsage_AD_CursorMode: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cursorenable?language=objc)
pub const kHIDUsage_AD_CursorEnable: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_cursorblink?language=objc)
pub const kHIDUsage_AD_CursorBlink: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_fontreport?language=objc)
pub const kHIDUsage_AD_FontReport: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_fontdata?language=objc)
pub const kHIDUsage_AD_FontData: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_characterwidth?language=objc)
pub const kHIDUsage_AD_CharacterWidth: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_characterheight?language=objc)
pub const kHIDUsage_AD_CharacterHeight: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_characterspacinghorizontal?language=objc)
pub const kHIDUsage_AD_CharacterSpacingHorizontal: c_uint = 0x3F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_characterspacingvertical?language=objc)
pub const kHIDUsage_AD_CharacterSpacingVertical: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_unicodecharacterset?language=objc)
pub const kHIDUsage_AD_UnicodeCharacterSet: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_ad_reserved?language=objc)
pub const kHIDUsage_AD_Reserved: c_uint = 0xFFFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_undefined?language=objc)
pub const kHIDUsage_Snsr_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_sensor?language=objc)
pub const kHIDUsage_Snsr_Sensor: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_biometric?language=objc)
pub const kHIDUsage_Snsr_Biometric: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_biometric_humanpresence?language=objc)
pub const kHIDUsage_Snsr_Biometric_HumanPresence: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_biometric_humanproximity?language=objc)
pub const kHIDUsage_Snsr_Biometric_HumanProximity: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_biometric_humantouch?language=objc)
pub const kHIDUsage_Snsr_Biometric_HumanTouch: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_biometric_heartrate?language=objc)
pub const kHIDUsage_Snsr_Biometric_HeartRate: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical?language=objc)
pub const kHIDUsage_Snsr_Electrical: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_capacitance?language=objc)
pub const kHIDUsage_Snsr_Electrical_Capacitance: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_current?language=objc)
pub const kHIDUsage_Snsr_Electrical_Current: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_power?language=objc)
pub const kHIDUsage_Snsr_Electrical_Power: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_inductance?language=objc)
pub const kHIDUsage_Snsr_Electrical_Inductance: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_resistance?language=objc)
pub const kHIDUsage_Snsr_Electrical_Resistance: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_voltage?language=objc)
pub const kHIDUsage_Snsr_Electrical_Voltage: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_potentiometer?language=objc)
pub const kHIDUsage_Snsr_Electrical_Potentiometer: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_frequency?language=objc)
pub const kHIDUsage_Snsr_Electrical_Frequency: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_electrical_period?language=objc)
pub const kHIDUsage_Snsr_Electrical_Period: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental?language=objc)
pub const kHIDUsage_Snsr_Environmental: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental_atmosphericpressure?language=objc)
pub const kHIDUsage_Snsr_Environmental_AtmosphericPressure: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental_humidity?language=objc)
pub const kHIDUsage_Snsr_Environmental_Humidity: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental_temperature?language=objc)
pub const kHIDUsage_Snsr_Environmental_Temperature: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental_winddirection?language=objc)
pub const kHIDUsage_Snsr_Environmental_WindDirection: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_environmental_windspeed?language=objc)
pub const kHIDUsage_Snsr_Environmental_WindSpeed: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_light?language=objc)
pub const kHIDUsage_Snsr_Light: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_light_ambientlight?language=objc)
pub const kHIDUsage_Snsr_Light_AmbientLight: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_light_consumerinfrared?language=objc)
pub const kHIDUsage_Snsr_Light_ConsumerInfrared: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location?language=objc)
pub const kHIDUsage_Snsr_Location: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_broadcast?language=objc)
pub const kHIDUsage_Snsr_Location_Broadcast: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_deadreckoning?language=objc)
pub const kHIDUsage_Snsr_Location_DeadReckoning: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_gps?language=objc)
pub const kHIDUsage_Snsr_Location_GPS: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_lookup?language=objc)
pub const kHIDUsage_Snsr_Location_Lookup: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_other?language=objc)
pub const kHIDUsage_Snsr_Location_Other: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_static?language=objc)
pub const kHIDUsage_Snsr_Location_Static: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_location_triangulation?language=objc)
pub const kHIDUsage_Snsr_Location_Triangulation: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical?language=objc)
pub const kHIDUsage_Snsr_Mechanical: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_booleanswitch?language=objc)
pub const kHIDUsage_Snsr_Mechanical_BooleanSwitch: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_booleanswitcharray?language=objc)
pub const kHIDUsage_Snsr_Mechanical_BooleanSwitchArray: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_multivalueswitch?language=objc)
pub const kHIDUsage_Snsr_Mechanical_MultivalueSwitch: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_force?language=objc)
pub const kHIDUsage_Snsr_Mechanical_Force: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_pressure?language=objc)
pub const kHIDUsage_Snsr_Mechanical_Pressure: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_strain?language=objc)
pub const kHIDUsage_Snsr_Mechanical_Strain: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_weight?language=objc)
pub const kHIDUsage_Snsr_Mechanical_Weight: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_hapticvibrator?language=objc)
pub const kHIDUsage_Snsr_Mechanical_HapticVibrator: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_mechanical_halleffectswitch?language=objc)
pub const kHIDUsage_Snsr_Mechanical_HallEffectSwitch: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion?language=objc)
pub const kHIDUsage_Snsr_Motion: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_accelerometer1d?language=objc)
pub const kHIDUsage_Snsr_Motion_Accelerometer1D: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_accelerometer2d?language=objc)
pub const kHIDUsage_Snsr_Motion_Accelerometer2D: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_accelerometer3d?language=objc)
pub const kHIDUsage_Snsr_Motion_Accelerometer3D: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_gyrometer1d?language=objc)
pub const kHIDUsage_Snsr_Motion_Gyrometer1D: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_gyrometer2d?language=objc)
pub const kHIDUsage_Snsr_Motion_Gyrometer2D: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_gyrometer3d?language=objc)
pub const kHIDUsage_Snsr_Motion_Gyrometer3D: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_motiondetector?language=objc)
pub const kHIDUsage_Snsr_Motion_MotionDetector: c_uint = 0x77;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_speedometer?language=objc)
pub const kHIDUsage_Snsr_Motion_Speedometer: c_uint = 0x78;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_accelerometer?language=objc)
pub const kHIDUsage_Snsr_Motion_Accelerometer: c_uint = 0x79;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_gyrometer?language=objc)
pub const kHIDUsage_Snsr_Motion_Gyrometer: c_uint = 0x7A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_gravityvector?language=objc)
pub const kHIDUsage_Snsr_Motion_GravityVector: c_uint = 0x7B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_motion_linearaccelerometer?language=objc)
pub const kHIDUsage_Snsr_Motion_LinearAccelerometer: c_uint = 0x7C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation?language=objc)
pub const kHIDUsage_Snsr_Orientation: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_compass1d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Compass1D: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_compass2d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Compass2D: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_compass3d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Compass3D: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_inclinometer1d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Inclinometer1D: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_inclinometer2d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Inclinometer2D: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_inclinometer3d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Inclinometer3D: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_distance1d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Distance1D: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_distance2d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Distance2D: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_distance3d?language=objc)
pub const kHIDUsage_Snsr_Orientation_Distance3D: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_deviceorientation?language=objc)
pub const kHIDUsage_Snsr_Orientation_DeviceOrientation: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_compassd?language=objc)
pub const kHIDUsage_Snsr_Orientation_CompassD: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_inclinometerd?language=objc)
pub const kHIDUsage_Snsr_Orientation_InclinometerD: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_orientation_distanced?language=objc)
pub const kHIDUsage_Snsr_Orientation_DistanceD: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_scanner?language=objc)
pub const kHIDUsage_Snsr_Scanner: c_uint = 0x90;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_scanner_barcode?language=objc)
pub const kHIDUsage_Snsr_Scanner_Barcode: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_scanner_rfid?language=objc)
pub const kHIDUsage_Snsr_Scanner_RFID: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_scanner_nfc?language=objc)
pub const kHIDUsage_Snsr_Scanner_NFC: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_time?language=objc)
pub const kHIDUsage_Snsr_Time: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_time_alarmtimer?language=objc)
pub const kHIDUsage_Snsr_Time_AlarmTimer: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_time_realtimeclock?language=objc)
pub const kHIDUsage_Snsr_Time_RealTimeClock: c_uint = 0xA2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_other?language=objc)
pub const kHIDUsage_Snsr_Other: c_uint = 0xE0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_other_custom?language=objc)
pub const kHIDUsage_Snsr_Other_Custom: c_uint = 0xE1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_other_generic?language=objc)
pub const kHIDUsage_Snsr_Other_Generic: c_uint = 0xE2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_other_genericenumerator?language=objc)
pub const kHIDUsage_Snsr_Other_GenericEnumerator: c_uint = 0xE3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_none?language=objc)
pub const kHIDUsage_Snsr_Modifier_None: c_uint = 0x0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_changesensitivityabsolute?language=objc)
pub const kHIDUsage_Snsr_Modifier_ChangeSensitivityAbsolute: c_uint = 0x1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_max?language=objc)
pub const kHIDUsage_Snsr_Modifier_Max: c_uint = 0x2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_min?language=objc)
pub const kHIDUsage_Snsr_Modifier_Min: c_uint = 0x3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_accuracy?language=objc)
pub const kHIDUsage_Snsr_Modifier_Accuracy: c_uint = 0x4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_resolution?language=objc)
pub const kHIDUsage_Snsr_Modifier_Resolution: c_uint = 0x5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_thresholdhigh?language=objc)
pub const kHIDUsage_Snsr_Modifier_ThresholdHigh: c_uint = 0x6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_thresholdlow?language=objc)
pub const kHIDUsage_Snsr_Modifier_ThresholdLow: c_uint = 0x7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_calibrationoffset?language=objc)
pub const kHIDUsage_Snsr_Modifier_CalibrationOffset: c_uint = 0x8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_calibrationmultiplier?language=objc)
pub const kHIDUsage_Snsr_Modifier_CalibrationMultiplier: c_uint = 0x9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_reportinterval?language=objc)
pub const kHIDUsage_Snsr_Modifier_ReportInterval: c_uint = 0xA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_frequencymax?language=objc)
pub const kHIDUsage_Snsr_Modifier_FrequencyMax: c_uint = 0xB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_periodmax?language=objc)
pub const kHIDUsage_Snsr_Modifier_PeriodMax: c_uint = 0xC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_changesensitivitypercentrange?language=objc)
pub const kHIDUsage_Snsr_Modifier_ChangeSensitivityPercentRange: c_uint = 0xD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_changesensitivitypercentrelative?language=objc)
pub const kHIDUsage_Snsr_Modifier_ChangeSensitivityPercentRelative: c_uint = 0xE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_modifier_vendordefined?language=objc)
pub const kHIDUsage_Snsr_Modifier_VendorDefined: c_uint = 0xF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event?language=objc)
pub const kHIDUsage_Snsr_Event: c_uint = 0x0200;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState: c_uint = 0x0201;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent: c_uint = 0x0202;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_undefined?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_Undefined: c_uint = 0x0800;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_ready?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_Ready: c_uint = 0x0801;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_notavailable?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_NotAvailable: c_uint = 0x0802;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_nodata?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_NoData: c_uint = 0x0803;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_initializing?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_Initializing: c_uint = 0x0804;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_accessdenied?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_AccessDenied: c_uint = 0x0805;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorstate_error?language=objc)
pub const kHIDUsage_Snsr_Event_SensorState_Error: c_uint = 0x0806;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_unknown?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_Unknown: c_uint = 0x0810;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_statechanged?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_StateChanged: c_uint = 0x0811;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_propertychanged?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_PropertyChanged: c_uint = 0x0812;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_dataupdated?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_DataUpdated: c_uint = 0x0813;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_pollresponse?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_PollResponse: c_uint = 0x0814;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_changesensitivity?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_ChangeSensitivity: c_uint = 0x0815;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_rangemaxreached?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_RangeMaxReached: c_uint = 0x0816;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_rangeminreached?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_RangeMinReached: c_uint = 0x0817;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_highthresholdcrossup?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_HighThresholdCrossUp: c_uint = 0x0818;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_highthresholdcrossdown?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_HighThresholdCrossDown: c_uint = 0x0819;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_lowthresholdcrossup?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_LowThresholdCrossUp: c_uint = 0x081A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_lowthresholdcrossdown?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_LowThresholdCrossDown: c_uint = 0x081B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_zerothresholdcrossup?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_ZeroThresholdCrossUp: c_uint = 0x081C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_zerothresholdcrossdown?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_ZeroThresholdCrossDown: c_uint = 0x081D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_periodexceeded?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_PeriodExceeded: c_uint = 0x081E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_frequencyexceeded?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_FrequencyExceeded: c_uint = 0x081F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_event_sensorevent_complextrigger?language=objc)
pub const kHIDUsage_Snsr_Event_SensorEvent_ComplexTrigger: c_uint = 0x0820;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property?language=objc)
pub const kHIDUsage_Snsr_Property: c_uint = 0x0300;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_friendlyname?language=objc)
pub const kHIDUsage_Snsr_Property_FriendlyName: c_uint = 0x0301;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_persistentuniqueid?language=objc)
pub const kHIDUsage_Snsr_Property_PersistentUniqueID: c_uint = 0x0302;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_sensorstatus?language=objc)
pub const kHIDUsage_Snsr_Property_SensorStatus: c_uint = 0x0303;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_minimumreportinterval?language=objc)
pub const kHIDUsage_Snsr_Property_MinimumReportInterval: c_uint = 0x0304;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_manufacturer?language=objc)
pub const kHIDUsage_Snsr_Property_Manufacturer: c_uint = 0x0305;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_model?language=objc)
pub const kHIDUsage_Snsr_Property_Model: c_uint = 0x0306;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_serialnumber?language=objc)
pub const kHIDUsage_Snsr_Property_SerialNumber: c_uint = 0x0307;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_description?language=objc)
pub const kHIDUsage_Snsr_Property_Description: c_uint = 0x0308;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_connectiontype?language=objc)
pub const kHIDUsage_Snsr_Property_ConnectionType: c_uint = 0x0309;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_devicepath?language=objc)
pub const kHIDUsage_Snsr_Property_DevicePath: c_uint = 0x030A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_hardwarerevision?language=objc)
pub const kHIDUsage_Snsr_Property_HardwareRevision: c_uint = 0x030B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_firmwareversion?language=objc)
pub const kHIDUsage_Snsr_Property_FirmwareVersion: c_uint = 0x030C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_releasedata?language=objc)
pub const kHIDUsage_Snsr_Property_ReleaseData: c_uint = 0x030D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportinterval?language=objc)
pub const kHIDUsage_Snsr_Property_ReportInterval: c_uint = 0x030E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_changesensitivityabsolute?language=objc)
pub const kHIDUsage_Snsr_Property_ChangeSensitivityAbsolute: c_uint = 0x030F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_changesensitivitypercentrange?language=objc)
pub const kHIDUsage_Snsr_Property_ChangeSensitivityPercentRange: c_uint = 0x0310;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_changesensitivitypercentrelative?language=objc)
pub const kHIDUsage_Snsr_Property_ChangeSensitivityPercentRelative: c_uint = 0x0311;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_accuracy?language=objc)
pub const kHIDUsage_Snsr_Property_Accuracy: c_uint = 0x0312;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_resolution?language=objc)
pub const kHIDUsage_Snsr_Property_Resolution: c_uint = 0x0313;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_maximum?language=objc)
pub const kHIDUsage_Snsr_Property_Maximum: c_uint = 0x0314;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_minimum?language=objc)
pub const kHIDUsage_Snsr_Property_Minimum: c_uint = 0x0315;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState: c_uint = 0x0316;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_samplingrate?language=objc)
pub const kHIDUsage_Snsr_Property_SamplingRate: c_uint = 0x0317;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_responsecurve?language=objc)
pub const kHIDUsage_Snsr_Property_ResponseCurve: c_uint = 0x0318;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState: c_uint = 0x0319;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_maxfifoevents?language=objc)
pub const kHIDUsage_Snsr_Property_MaxFIFOEvents: c_uint = 0x031A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportlatency?language=objc)
pub const kHIDUsage_Snsr_Property_ReportLatency: c_uint = 0x031B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_connectiontype_integrated?language=objc)
pub const kHIDUsage_Snsr_Property_ConnectionType_Integrated: c_uint = 0x0830;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_connectiontype_attached?language=objc)
pub const kHIDUsage_Snsr_Property_ConnectionType_Attached: c_uint = 0x0831;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_connectiontype_external?language=objc)
pub const kHIDUsage_Snsr_Property_ConnectionType_External: c_uint = 0x0832;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_noevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_NoEvents: c_uint = 0x0840;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_allevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_AllEvents: c_uint = 0x0841;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_thresholdevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_ThresholdEvents: c_uint = 0x0842;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_wakenoevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_WakeNoEvents: c_uint = 0x0843;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_wakeallevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_WakeAllEvents: c_uint = 0x0844;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_reportingstate_wakethresholdevents?language=objc)
pub const kHIDUsage_Snsr_Property_ReportingState_WakeThresholdEvents: c_uint = 0x0845;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_undefined?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_Undefined: c_uint = 0x0850;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_d0_fullpower?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_D0_FullPower: c_uint = 0x0851;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_d1_lowpower?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_D1_LowPower: c_uint = 0x0852;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_d2_standby?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_D2_Standby: c_uint = 0x0853;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_d3_sleep?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_D3_Sleep: c_uint = 0x0854;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_powerstate_d4_poweroff?language=objc)
pub const kHIDUsage_Snsr_Property_PowerState_D4_PowerOff: c_uint = 0x0855;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_light_illuminance?language=objc)
pub const kHIDUsage_Snsr_Light_Illuminance: c_uint = 0x04D1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location?language=objc)
pub const kHIDUsage_Snsr_Data_Location: c_uint = 0x0400;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_reserved?language=objc)
pub const kHIDUsage_Snsr_Data_Location_Reserved: c_uint = 0x0401;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_altitudeantennasealevel?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AltitudeAntennaSeaLevel: c_uint = 0x0402;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_differentialreferencestationid?language=objc)
pub const kHIDUsage_Snsr_Data_Location_DifferentialReferenceStationID: c_uint = 0x0403;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_altitudeellipsoiderror?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AltitudeEllipsoidError: c_uint = 0x0404;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_altitudeellipsoid?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AltitudeEllipsoid: c_uint = 0x0405;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_altitudesealevelerror?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AltitudeSeaLevelError: c_uint = 0x0406;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_altitudesealevel?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AltitudeSeaLevel: c_uint = 0x0407;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_differentialgpsdataage?language=objc)
pub const kHIDUsage_Snsr_Data_Location_DifferentialGPSDataAge: c_uint = 0x0408;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_errorradius?language=objc)
pub const kHIDUsage_Snsr_Data_Location_ErrorRadius: c_uint = 0x0409;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixquality?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixQuality: c_uint = 0x040A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixqualitynofix?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixQualityNoFix: c_uint = 0x0870;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixqualitygps?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixQualityGPS: c_uint = 0x0871;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixqualitydgps?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixQualityDGPS: c_uint = 0x0872;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtype?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixType: c_uint = 0x040B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypenofix?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeNoFix: c_uint = 0x0880;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypegpsspsmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeGPSSPSMode: c_uint = 0x0881;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypedgpsspsmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeDGPSSPSMode: c_uint = 0x0882;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypegpsppsmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeGPSPPSMode: c_uint = 0x0883;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtyperealtimekinematic?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeRealTimeKinematic: c_uint = 0x0884;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypefloatrtk?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeFloatRTK: c_uint = 0x0885;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypeestimated?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeEstimated: c_uint = 0x0886;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypemanualinputmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeManualInputMode: c_uint = 0x0887;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_fixtypesimulatormode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_FixTypeSimulatorMode: c_uint = 0x0888;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_geoidalseparation?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GeoidalSeparation: c_uint = 0x040C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsoperationmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSOperationMode: c_uint = 0x040D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsoperationmodemanual?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSOperationModeManual: c_uint = 0x0890;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsoperationmodeautomatic?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSOperationModeAutomatic: c_uint = 0x0891;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionMode: c_uint = 0x040E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodeautonomous?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeAutonomous: c_uint = 0x08A0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodedgps?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeDGPS: c_uint = 0x08A1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodeestimated?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeEstimated: c_uint = 0x08A2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodemanualinput?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeManualInput: c_uint = 0x08A3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodesimulator?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeSimulator: c_uint = 0x08A4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsselectionmodedatanotvalid?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSSelectionModeDataNotValid: c_uint = 0x08A5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsstatus?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSStatus: c_uint = 0x040F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsstatusdatavalid?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSStatusDataValid: c_uint = 0x08B0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_gpsstatusdatanotvalid?language=objc)
pub const kHIDUsage_Snsr_Data_Location_GPSStatusDataNotValid: c_uint = 0x08B1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_positiondilutionofprecision?language=objc)
pub const kHIDUsage_Snsr_Data_Location_PositionDilutionOfPrecision: c_uint = 0x0410;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_horizontaldilutionofprecision?language=objc)
pub const kHIDUsage_Snsr_Data_Location_HorizontalDilutionOfPrecision: c_uint = 0x0411;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_verticaldilutionofprecision?language=objc)
pub const kHIDUsage_Snsr_Data_Location_VerticalDilutionOfPrecision: c_uint = 0x0412;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_latitude?language=objc)
pub const kHIDUsage_Snsr_Data_Location_Latitude: c_uint = 0x0413;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_longitude?language=objc)
pub const kHIDUsage_Snsr_Data_Location_Longitude: c_uint = 0x0414;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_trueheading?language=objc)
pub const kHIDUsage_Snsr_Data_Location_TrueHeading: c_uint = 0x0415;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_magneticheading?language=objc)
pub const kHIDUsage_Snsr_Data_Location_MagneticHeading: c_uint = 0x0416;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_magneticvariation?language=objc)
pub const kHIDUsage_Snsr_Data_Location_MagneticVariation: c_uint = 0x0417;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_speed?language=objc)
pub const kHIDUsage_Snsr_Data_Location_Speed: c_uint = 0x0418;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinview?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInView: c_uint = 0x0419;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinviewazimuth?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInViewAzimuth: c_uint = 0x041A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinviewelevation?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInViewElevation: c_uint = 0x041B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinviewids?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInViewIDs: c_uint = 0x041C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinviewprns?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInViewPRNs: c_uint = 0x041D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesinviewsnratios?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesInViewSNRatios: c_uint = 0x041E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesusedcount?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesUsedCount: c_uint = 0x041F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_satellitesusedprns?language=objc)
pub const kHIDUsage_Snsr_Data_Location_SatellitesUsedPRNs: c_uint = 0x0420;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_nmeasentence?language=objc)
pub const kHIDUsage_Snsr_Data_Location_NMEASentence: c_uint = 0x0421;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_addressline1?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AddressLine1: c_uint = 0x0422;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_addressline2?language=objc)
pub const kHIDUsage_Snsr_Data_Location_AddressLine2: c_uint = 0x0423;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_city?language=objc)
pub const kHIDUsage_Snsr_Data_Location_City: c_uint = 0x0424;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_stateorprovince?language=objc)
pub const kHIDUsage_Snsr_Data_Location_StateOrProvince: c_uint = 0x0425;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_countryorregion?language=objc)
pub const kHIDUsage_Snsr_Data_Location_CountryOrRegion: c_uint = 0x0426;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_location_postalcode?language=objc)
pub const kHIDUsage_Snsr_Data_Location_PostalCode: c_uint = 0x0427;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location?language=objc)
pub const kHIDUsage_Snsr_Property_Location: c_uint = 0x042A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location_desiredaccuracy?language=objc)
pub const kHIDUsage_Snsr_Property_Location_DesiredAccuracy: c_uint = 0x042B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location_accuracydefault?language=objc)
pub const kHIDUsage_Snsr_Property_Location_AccuracyDefault: c_uint = 0x0860;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location_accuracyhigh?language=objc)
pub const kHIDUsage_Snsr_Property_Location_AccuracyHigh: c_uint = 0x0861;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location_accuracymedium?language=objc)
pub const kHIDUsage_Snsr_Property_Location_AccuracyMedium: c_uint = 0x0862;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_location_accuracylow?language=objc)
pub const kHIDUsage_Snsr_Property_Location_AccuracyLow: c_uint = 0x0863;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental: c_uint = 0x0430;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_atmosphericpressure?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_AtmosphericPressure: c_uint = 0x0431;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_reserved?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_Reserved: c_uint = 0x0432;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_relativehumidity?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_RelativeHumidity: c_uint = 0x0433;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_temperature?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_Temperature: c_uint = 0x0434;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_winddirection?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_WindDirection: c_uint = 0x0435;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_environmental_windspeed?language=objc)
pub const kHIDUsage_Snsr_Data_Environmental_WindSpeed: c_uint = 0x0436;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_environmental?language=objc)
pub const kHIDUsage_Snsr_Property_Environmental: c_uint = 0x0440;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_environmental_referencepressure?language=objc)
pub const kHIDUsage_Snsr_Property_Environmental_ReferencePressure: c_uint = 0x0441;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion?language=objc)
pub const kHIDUsage_Snsr_Data_Motion: c_uint = 0x0450;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_state?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_State: c_uint = 0x0451;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_acceleration?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_Acceleration: c_uint = 0x0452;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_accelerationaxisx?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AccelerationAxisX: c_uint = 0x0453;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_accelerationaxisy?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AccelerationAxisY: c_uint = 0x0454;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_accelerationaxisz?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AccelerationAxisZ: c_uint = 0x0455;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularvelocity?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularVelocity: c_uint = 0x0456;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularvelocityxaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularVelocityXAxis: c_uint = 0x0457;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularvelocityyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularVelocityYAxis: c_uint = 0x0458;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularvelocityzaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularVelocityZAxis: c_uint = 0x0459;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularposition?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularPosition: c_uint = 0x045A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularpositionxaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularPositionXAxis: c_uint = 0x045B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularpositionyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularPositionYAxis: c_uint = 0x045C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_angularpositionzaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_AngularPositionZAxis: c_uint = 0x045D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_speed?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_Speed: c_uint = 0x045E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_motion_intensity?language=objc)
pub const kHIDUsage_Snsr_Data_Motion_Intensity: c_uint = 0x045F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation: c_uint = 0x0470;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_heading?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_Heading: c_uint = 0x0471;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingxaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingXAxis: c_uint = 0x0472;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingYAxis: c_uint = 0x0473;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingzaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingZAxis: c_uint = 0x0474;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingcompensatedmagneticnorth?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingCompensatedMagneticNorth: c_uint = 0x0475;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingcompensatedtruenorth?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingCompensatedTrueNorth: c_uint = 0x0476;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingmagneticnorth?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingMagneticNorth: c_uint = 0x0477;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_headingtruenorth?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_HeadingTrueNorth: c_uint = 0x0478;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_distance?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_Distance: c_uint = 0x0479;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_distancexaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_DistanceXAxis: c_uint = 0x047A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_distanceyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_DistanceYAxis: c_uint = 0x047B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_distancezaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_DistanceZAxis: c_uint = 0x047C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_distanceoutofrange?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_DistanceOutOfRange: c_uint = 0x047D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_tilt?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_Tilt: c_uint = 0x047E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_tiltxaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_TiltXAxis: c_uint = 0x047F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_tiltyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_TiltYAxis: c_uint = 0x0480;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_tiltzaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_TiltZAxis: c_uint = 0x0481;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_rotationmatrix?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_RotationMatrix: c_uint = 0x0482;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_quaternion?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_Quaternion: c_uint = 0x0483;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_magneticflux?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_MagneticFlux: c_uint = 0x0484;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_magneticfluxxaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_MagneticFluxXAxis: c_uint = 0x0485;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_magneticfluxyaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_MagneticFluxYAxis: c_uint = 0x0486;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_orientation_magneticfluxzaxis?language=objc)
pub const kHIDUsage_Snsr_Data_Orientation_MagneticFluxZAxis: c_uint = 0x0487;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical: c_uint = 0x0490;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_booleanswitchstate?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_BooleanSwitchState: c_uint = 0x0491;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_booleanswitcharraystates?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_BooleanSwitchArrayStates: c_uint = 0x0492;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_multivalueswitchvalue?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_MultivalueSwitchValue: c_uint = 0x0493;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_force?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_Force: c_uint = 0x0494;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_absolutepressure?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_AbsolutePressure: c_uint = 0x0495;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_gaugepressure?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_GaugePressure: c_uint = 0x0496;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_strain?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_Strain: c_uint = 0x0497;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_mechanical_weight?language=objc)
pub const kHIDUsage_Snsr_Data_Mechanical_Weight: c_uint = 0x0498;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_mechanical?language=objc)
pub const kHIDUsage_Snsr_Property_Mechanical: c_uint = 0x04A0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_mechanical_vibrationstate?language=objc)
pub const kHIDUsage_Snsr_Property_Mechanical_VibrationState: c_uint = 0x04A1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_mechanical_forwardvibrationspeed?language=objc)
pub const kHIDUsage_Snsr_Property_Mechanical_ForwardVibrationSpeed: c_uint = 0x04A2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_mechanical_backwardvibrationspeed?language=objc)
pub const kHIDUsage_Snsr_Property_Mechanical_BackwardVibrationSpeed: c_uint = 0x04A3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric: c_uint = 0x04B0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric_humanpresence?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric_HumanPresence: c_uint = 0x04B1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric_humanproximityrange?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric_HumanProximityRange: c_uint = 0x04B2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric_humanproximityoutofrange?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric_HumanProximityOutOfRange: c_uint = 0x04B3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric_humantouchstate?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric_HumanTouchState: c_uint = 0x04B4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_biometric_heartrate?language=objc)
pub const kHIDUsage_Snsr_Data_Biometric_HeartRate: c_uint = 0x04B8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light?language=objc)
pub const kHIDUsage_Snsr_Data_Light: c_uint = 0x04D0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_illuminance?language=objc)
pub const kHIDUsage_Snsr_Data_Light_Illuminance: c_uint = 0x04D1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_colortemperature?language=objc)
pub const kHIDUsage_Snsr_Data_Light_ColorTemperature: c_uint = 0x04D2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_chromaticity?language=objc)
pub const kHIDUsage_Snsr_Data_Light_Chromaticity: c_uint = 0x04D3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_chromaticityx?language=objc)
pub const kHIDUsage_Snsr_Data_Light_ChromaticityX: c_uint = 0x04D4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_chromaticityy?language=objc)
pub const kHIDUsage_Snsr_Data_Light_ChromaticityY: c_uint = 0x04D5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_light_consumerirsentencereceive?language=objc)
pub const kHIDUsage_Snsr_Data_Light_ConsumerIRSentenceReceive: c_uint = 0x04D6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_light?language=objc)
pub const kHIDUsage_Snsr_Property_Light: c_uint = 0x04E0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_light_consumerirsentencesend?language=objc)
pub const kHIDUsage_Snsr_Property_Light_ConsumerIRSentenceSend: c_uint = 0x04E1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_scanner?language=objc)
pub const kHIDUsage_Snsr_Data_Scanner: c_uint = 0x04F0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_scanner_rfidtag40bit?language=objc)
pub const kHIDUsage_Snsr_Data_Scanner_RFIDTag40Bit: c_uint = 0x04F1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_scanner_nfcsentencereceive?language=objc)
pub const kHIDUsage_Snsr_Data_Scanner_NFCSentenceReceive: c_uint = 0x04F2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_scanner?language=objc)
pub const kHIDUsage_Snsr_Property_Scanner: c_uint = 0x04F8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_scanner_nfcsentencesend?language=objc)
pub const kHIDUsage_Snsr_Property_Scanner_NFCSentenceSend: c_uint = 0x0F49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical: c_uint = 0x0500;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_capacitance?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Capacitance: c_uint = 0x0501;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_current?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Current: c_uint = 0x0502;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_electricalpower?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_ElectricalPower: c_uint = 0x0503;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_inductance?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Inductance: c_uint = 0x0504;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_resistance?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Resistance: c_uint = 0x0505;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_voltage?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Voltage: c_uint = 0x0506;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_frequency?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Frequency: c_uint = 0x0507;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_period?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_Period: c_uint = 0x0508;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_electrical_percentofrange?language=objc)
pub const kHIDUsage_Snsr_Data_Electrical_PercentOfRange: c_uint = 0x0509;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time?language=objc)
pub const kHIDUsage_Snsr_Data_Time: c_uint = 0x0520;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_year?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Year: c_uint = 0x0521;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_month?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Month: c_uint = 0x0522;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_day?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Day: c_uint = 0x0523;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweek?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeek: c_uint = 0x0524;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweeksunday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekSunday: c_uint = 0x08C0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweekmonday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekMonday: c_uint = 0x08C1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweektuesday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekTuesday: c_uint = 0x08C2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweekwednesday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekWednesday: c_uint = 0x08C3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweekthursday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekThursday: c_uint = 0x08C4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweekfriday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekFriday: c_uint = 0x08C5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_dayofweeksaturday?language=objc)
pub const kHIDUsage_Snsr_Data_Time_DayOfWeekSaturday: c_uint = 0x08C6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_hour?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Hour: c_uint = 0x0525;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_minute?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Minute: c_uint = 0x0526;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_second?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Second: c_uint = 0x0527;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_millisecond?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Millisecond: c_uint = 0x0528;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_timestamp?language=objc)
pub const kHIDUsage_Snsr_Data_Time_Timestamp: c_uint = 0x0529;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_time_juliandayofyear?language=objc)
pub const kHIDUsage_Snsr_Data_Time_JulianDayOfYear: c_uint = 0x052A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time?language=objc)
pub const kHIDUsage_Snsr_Property_Time: c_uint = 0x0530;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time_timezoneoffsetfromutc?language=objc)
pub const kHIDUsage_Snsr_Property_Time_TimeZoneOffsetFromUTC: c_uint = 0x0531;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time_timezonename?language=objc)
pub const kHIDUsage_Snsr_Property_Time_TimeZoneName: c_uint = 0x0532;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time_daylightsavingstimeobserved?language=objc)
pub const kHIDUsage_Snsr_Property_Time_DaylightSavingsTimeObserved: c_uint = 0x0533;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time_timetrimadjustment?language=objc)
pub const kHIDUsage_Snsr_Property_Time_TimeTrimAdjustment: c_uint = 0x0534;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_property_time_armalarm?language=objc)
pub const kHIDUsage_Snsr_Property_Time_ArmAlarm: c_uint = 0x0535;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom?language=objc)
pub const kHIDUsage_Snsr_Data_Custom: c_uint = 0x0540;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_usage?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Usage: c_uint = 0x0541;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_booleanarray?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_BooleanArray: c_uint = 0x0542;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value: c_uint = 0x0543;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value1?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value1: c_uint = 0x0544;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value2?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value2: c_uint = 0x0545;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value3?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value3: c_uint = 0x0546;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value4?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value4: c_uint = 0x0547;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value5?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value5: c_uint = 0x0548;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_snsr_data_custom_value6?language=objc)
pub const kHIDUsage_Snsr_Data_Custom_Value6: c_uint = 0x0549;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_undefined?language=objc)
pub const kHIDUsage_BD_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledisplay?language=objc)
pub const kHIDUsage_BD_BrailleDisplay: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillerow?language=objc)
pub const kHIDUsage_BD_BrailleRow: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_8dotbraillecell?language=objc)
pub const kHIDUsage_BD_8DotBrailleCell: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_6dotbraillecell?language=objc)
pub const kHIDUsage_BD_6DotBrailleCell: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_numberofbraillecells?language=objc)
pub const kHIDUsage_BD_NumberOfBrailleCells: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_screenreadercontrol?language=objc)
pub const kHIDUsage_BD_ScreenReaderControl: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_screenreaderidentifier?language=objc)
pub const kHIDUsage_BD_ScreenReaderIdentifier: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_routerset1?language=objc)
pub const kHIDUsage_BD_RouterSet1: c_uint = 0xFA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_routerset2?language=objc)
pub const kHIDUsage_BD_RouterSet2: c_uint = 0xFB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_routerset3?language=objc)
pub const kHIDUsage_BD_RouterSet3: c_uint = 0xFC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_routerkey?language=objc)
pub const kHIDUsage_BD_RouterKey: c_uint = 0x100;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_rowrouterkey?language=objc)
pub const kHIDUsage_BD_RowRouterKey: c_uint = 0x101;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillebuttons?language=objc)
pub const kHIDUsage_BD_BrailleButtons: c_uint = 0x200;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot1?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot1: c_uint = 0x201;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot2?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot2: c_uint = 0x202;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot3?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot3: c_uint = 0x203;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot4?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot4: c_uint = 0x204;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot5?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot5: c_uint = 0x205;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot6?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot6: c_uint = 0x206;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot7?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot7: c_uint = 0x207;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboarddot8?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardDot8: c_uint = 0x208;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboardspace?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardSpace: c_uint = 0x209;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboardleftspace?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardLeftSpace: c_uint = 0x20A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillekeyboardrightspace?language=objc)
pub const kHIDUsage_BD_BrailleKeyboardRightSpace: c_uint = 0x20B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillefacecontrols?language=objc)
pub const kHIDUsage_BD_BrailleFaceControls: c_uint = 0x20C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailleleftcontrols?language=objc)
pub const kHIDUsage_BD_BrailleLeftControls: c_uint = 0x20D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillerightcontrols?language=objc)
pub const kHIDUsage_BD_BrailleRightControls: c_uint = 0x20E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailletopcontrols?language=objc)
pub const kHIDUsage_BD_BrailleTopControls: c_uint = 0x20F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillejoystickcenter?language=objc)
pub const kHIDUsage_BD_BrailleJoystickCenter: c_uint = 0x210;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillejoystickup?language=objc)
pub const kHIDUsage_BD_BrailleJoystickUp: c_uint = 0x211;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillejoystickdown?language=objc)
pub const kHIDUsage_BD_BrailleJoystickDown: c_uint = 0x212;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillejoystickleft?language=objc)
pub const kHIDUsage_BD_BrailleJoystickLeft: c_uint = 0x213;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillejoystickright?language=objc)
pub const kHIDUsage_BD_BrailleJoystickRight: c_uint = 0x214;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledpadcenter?language=objc)
pub const kHIDUsage_BD_BrailleDPadCenter: c_uint = 0x215;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledpadup?language=objc)
pub const kHIDUsage_BD_BrailleDPadUp: c_uint = 0x216;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledpaddown?language=objc)
pub const kHIDUsage_BD_BrailleDPadDown: c_uint = 0x217;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledpadleft?language=objc)
pub const kHIDUsage_BD_BrailleDPadLeft: c_uint = 0x218;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_brailledpadright?language=objc)
pub const kHIDUsage_BD_BrailleDPadRight: c_uint = 0x219;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillepanleft?language=objc)
pub const kHIDUsage_BD_BraillePanLeft: c_uint = 0x21A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillepanright?language=objc)
pub const kHIDUsage_BD_BraillePanRight: c_uint = 0x21B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillerockerup?language=objc)
pub const kHIDUsage_BD_BrailleRockerUp: c_uint = 0x21C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillerockerdown?language=objc)
pub const kHIDUsage_BD_BrailleRockerDown: c_uint = 0x21D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bd_braillerockerpress?language=objc)
pub const kHIDUsage_BD_BrailleRockerPress: c_uint = 0x21E;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_undefined?language=objc)
pub const kHIDUsage_PD_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_iname?language=objc)
pub const kHIDUsage_PD_iName: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_presentstatus?language=objc)
pub const kHIDUsage_PD_PresentStatus: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_changedstatus?language=objc)
pub const kHIDUsage_PD_ChangedStatus: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_ups?language=objc)
pub const kHIDUsage_PD_UPS: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_powersupply?language=objc)
pub const kHIDUsage_PD_PowerSupply: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_peripheraldevice?language=objc)
pub const kHIDUsage_PD_PeripheralDevice: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_batterysystem?language=objc)
pub const kHIDUsage_PD_BatterySystem: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_batterysystemid?language=objc)
pub const kHIDUsage_PD_BatterySystemID: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_battery?language=objc)
pub const kHIDUsage_PD_Battery: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_batteryid?language=objc)
pub const kHIDUsage_PD_BatteryID: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_charger?language=objc)
pub const kHIDUsage_PD_Charger: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_chargerid?language=objc)
pub const kHIDUsage_PD_ChargerID: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_powerconverter?language=objc)
pub const kHIDUsage_PD_PowerConverter: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_powerconverterid?language=objc)
pub const kHIDUsage_PD_PowerConverterID: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_outletsystem?language=objc)
pub const kHIDUsage_PD_OutletSystem: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_outletsystemid?language=objc)
pub const kHIDUsage_PD_OutletSystemID: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_input?language=objc)
pub const kHIDUsage_PD_Input: c_uint = 0x1A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_inputid?language=objc)
pub const kHIDUsage_PD_InputID: c_uint = 0x1B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_output?language=objc)
pub const kHIDUsage_PD_Output: c_uint = 0x1C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_outputid?language=objc)
pub const kHIDUsage_PD_OutputID: c_uint = 0x1D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_flow?language=objc)
pub const kHIDUsage_PD_Flow: c_uint = 0x1E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_flowid?language=objc)
pub const kHIDUsage_PD_FlowID: c_uint = 0x1F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_outlet?language=objc)
pub const kHIDUsage_PD_Outlet: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_outletid?language=objc)
pub const kHIDUsage_PD_OutletID: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_gang?language=objc)
pub const kHIDUsage_PD_Gang: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_gangid?language=objc)
pub const kHIDUsage_PD_GangID: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_powersummary?language=objc)
pub const kHIDUsage_PD_PowerSummary: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_powersummaryid?language=objc)
pub const kHIDUsage_PD_PowerSummaryID: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_voltage?language=objc)
pub const kHIDUsage_PD_Voltage: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_current?language=objc)
pub const kHIDUsage_PD_Current: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_frequency?language=objc)
pub const kHIDUsage_PD_Frequency: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_apparentpower?language=objc)
pub const kHIDUsage_PD_ApparentPower: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_activepower?language=objc)
pub const kHIDUsage_PD_ActivePower: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_percentload?language=objc)
pub const kHIDUsage_PD_PercentLoad: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_temperature?language=objc)
pub const kHIDUsage_PD_Temperature: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_humidity?language=objc)
pub const kHIDUsage_PD_Humidity: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_badcount?language=objc)
pub const kHIDUsage_PD_BadCount: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configvoltage?language=objc)
pub const kHIDUsage_PD_ConfigVoltage: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configcurrent?language=objc)
pub const kHIDUsage_PD_ConfigCurrent: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configfrequency?language=objc)
pub const kHIDUsage_PD_ConfigFrequency: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configapparentpower?language=objc)
pub const kHIDUsage_PD_ConfigApparentPower: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configactivepower?language=objc)
pub const kHIDUsage_PD_ConfigActivePower: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configpercentload?language=objc)
pub const kHIDUsage_PD_ConfigPercentLoad: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_configtemperature?language=objc)
pub const kHIDUsage_PD_ConfigTemperature: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_confighumidity?language=objc)
pub const kHIDUsage_PD_ConfigHumidity: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_switchoncontrol?language=objc)
pub const kHIDUsage_PD_SwitchOnControl: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_switchoffcontrol?language=objc)
pub const kHIDUsage_PD_SwitchOffControl: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_togglecontrol?language=objc)
pub const kHIDUsage_PD_ToggleControl: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_lowvoltagetransfer?language=objc)
pub const kHIDUsage_PD_LowVoltageTransfer: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_highvoltagetransfer?language=objc)
pub const kHIDUsage_PD_HighVoltageTransfer: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_delaybeforereboot?language=objc)
pub const kHIDUsage_PD_DelayBeforeReboot: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_delaybeforestartup?language=objc)
pub const kHIDUsage_PD_DelayBeforeStartup: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_delaybeforeshutdown?language=objc)
pub const kHIDUsage_PD_DelayBeforeShutdown: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_test?language=objc)
pub const kHIDUsage_PD_Test: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_modulereset?language=objc)
pub const kHIDUsage_PD_ModuleReset: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_audiblealarmcontrol?language=objc)
pub const kHIDUsage_PD_AudibleAlarmControl: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_present?language=objc)
pub const kHIDUsage_PD_Present: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_good?language=objc)
pub const kHIDUsage_PD_Good: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_internalfailure?language=objc)
pub const kHIDUsage_PD_InternalFailure: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_voltageoutofrange?language=objc)
pub const kHIDUsage_PD_VoltageOutOfRange: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_frequencyoutofrange?language=objc)
pub const kHIDUsage_PD_FrequencyOutOfRange: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_overload?language=objc)
pub const kHIDUsage_PD_Overload: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_overcharged?language=objc)
pub const kHIDUsage_PD_OverCharged: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_overtemperature?language=objc)
pub const kHIDUsage_PD_OverTemperature: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_shutdownrequested?language=objc)
pub const kHIDUsage_PD_ShutdownRequested: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_shutdownimminent?language=objc)
pub const kHIDUsage_PD_ShutdownImminent: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_switchonoff?language=objc)
pub const kHIDUsage_PD_SwitchOnOff: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_switchable?language=objc)
pub const kHIDUsage_PD_Switchable: c_uint = 0x6C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_used?language=objc)
pub const kHIDUsage_PD_Used: c_uint = 0x6D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_boost?language=objc)
pub const kHIDUsage_PD_Boost: c_uint = 0x6E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_buck?language=objc)
pub const kHIDUsage_PD_Buck: c_uint = 0x6F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_initialized?language=objc)
pub const kHIDUsage_PD_Initialized: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_tested?language=objc)
pub const kHIDUsage_PD_Tested: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_awaitingpower?language=objc)
pub const kHIDUsage_PD_AwaitingPower: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_communicationlost?language=objc)
pub const kHIDUsage_PD_CommunicationLost: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_imanufacturer?language=objc)
pub const kHIDUsage_PD_iManufacturer: c_uint = 0xFD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_iproduct?language=objc)
pub const kHIDUsage_PD_iProduct: c_uint = 0xFE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_pd_iserialnumber?language=objc)
pub const kHIDUsage_PD_iserialNumber: c_uint = 0xFF;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_undefined?language=objc)
pub const kHIDUsage_BS_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbbatterymode?language=objc)
pub const kHIDUsage_BS_SMBBatteryMode: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbbatterystatus?language=objc)
pub const kHIDUsage_BS_SMBBatteryStatus: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbalarmwarning?language=objc)
pub const kHIDUsage_BS_SMBAlarmWarning: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbchargermode?language=objc)
pub const kHIDUsage_BS_SMBChargerMode: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbchargerstatus?language=objc)
pub const kHIDUsage_BS_SMBChargerStatus: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbchargerspecinfo?language=objc)
pub const kHIDUsage_BS_SMBChargerSpecInfo: c_uint = 0x06;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbselectorstate?language=objc)
pub const kHIDUsage_BS_SMBSelectorState: c_uint = 0x07;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbselectorpresets?language=objc)
pub const kHIDUsage_BS_SMBSelectorPresets: c_uint = 0x08;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smbselectorinfo?language=objc)
pub const kHIDUsage_BS_SMBSelectorInfo: c_uint = 0x09;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_optionalmfgfunction1?language=objc)
pub const kHIDUsage_BS_OptionalMfgFunction1: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_optionalmfgfunction2?language=objc)
pub const kHIDUsage_BS_OptionalMfgFunction2: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_optionalmfgfunction3?language=objc)
pub const kHIDUsage_BS_OptionalMfgFunction3: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_optionalmfgfunction4?language=objc)
pub const kHIDUsage_BS_OptionalMfgFunction4: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_optionalmfgfunction5?language=objc)
pub const kHIDUsage_BS_OptionalMfgFunction5: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_connectiontosmbus?language=objc)
pub const kHIDUsage_BS_ConnectionToSMBus: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_outputconnection?language=objc)
pub const kHIDUsage_BS_OutputConnection: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_chargerconnection?language=objc)
pub const kHIDUsage_BS_ChargerConnection: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_batteryinsertion?language=objc)
pub const kHIDUsage_BS_BatteryInsertion: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_usenext?language=objc)
pub const kHIDUsage_BS_Usenext: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_oktouse?language=objc)
pub const kHIDUsage_BS_OKToUse: c_uint = 0x1A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_batterysupported?language=objc)
pub const kHIDUsage_BS_BatterySupported: c_uint = 0x1B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_selectorrevision?language=objc)
pub const kHIDUsage_BS_SelectorRevision: c_uint = 0x1C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_chargingindicator?language=objc)
pub const kHIDUsage_BS_ChargingIndicator: c_uint = 0x1D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_manufactureraccess?language=objc)
pub const kHIDUsage_BS_ManufacturerAccess: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_remainingcapacitylimit?language=objc)
pub const kHIDUsage_BS_RemainingCapacityLimit: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_remainingtimelimit?language=objc)
pub const kHIDUsage_BS_RemainingTimeLimit: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_atrate?language=objc)
pub const kHIDUsage_BS_AtRate: c_uint = 0x2B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_capacitymode?language=objc)
pub const kHIDUsage_BS_CapacityMode: c_uint = 0x2C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_broadcasttocharger?language=objc)
pub const kHIDUsage_BS_BroadcastToCharger: c_uint = 0x2D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_primarybattery?language=objc)
pub const kHIDUsage_BS_PrimaryBattery: c_uint = 0x2E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_chargecontroller?language=objc)
pub const kHIDUsage_BS_ChargeController: c_uint = 0x2F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_terminatecharge?language=objc)
pub const kHIDUsage_BS_TerminateCharge: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_terminatedischarge?language=objc)
pub const kHIDUsage_BS_TerminateDischarge: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_belowremainingcapacitylimit?language=objc)
pub const kHIDUsage_BS_BelowRemainingCapacityLimit: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_remainingtimelimitexpired?language=objc)
pub const kHIDUsage_BS_RemainingTimeLimitExpired: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_charging?language=objc)
pub const kHIDUsage_BS_Charging: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_discharging?language=objc)
pub const kHIDUsage_BS_Discharging: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_fullycharged?language=objc)
pub const kHIDUsage_BS_FullyCharged: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_fullydischarged?language=objc)
pub const kHIDUsage_BS_FullyDischarged: c_uint = 0x47;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_conditioningflag?language=objc)
pub const kHIDUsage_BS_ConditioningFlag: c_uint = 0x48;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_atrateok?language=objc)
pub const kHIDUsage_BS_AtRateOK: c_uint = 0x49;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_smberrorcode?language=objc)
pub const kHIDUsage_BS_SMBErrorCode: c_uint = 0x4A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_needreplacement?language=objc)
pub const kHIDUsage_BS_NeedReplacement: c_uint = 0x4B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_atratetimetofull?language=objc)
pub const kHIDUsage_BS_AtRateTimeToFull: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_atratetimetoempty?language=objc)
pub const kHIDUsage_BS_AtRateTimeToEmpty: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_averagecurrent?language=objc)
pub const kHIDUsage_BS_AverageCurrent: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_maxerror?language=objc)
pub const kHIDUsage_BS_Maxerror: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_relativestateofcharge?language=objc)
pub const kHIDUsage_BS_RelativeStateOfCharge: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_absolutestateofcharge?language=objc)
pub const kHIDUsage_BS_AbsoluteStateOfCharge: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_remainingcapacity?language=objc)
pub const kHIDUsage_BS_RemainingCapacity: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_fullchargecapacity?language=objc)
pub const kHIDUsage_BS_FullChargeCapacity: c_uint = 0x67;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_runtimetoempty?language=objc)
pub const kHIDUsage_BS_RunTimeToEmpty: c_uint = 0x68;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_averagetimetoempty?language=objc)
pub const kHIDUsage_BS_AverageTimeToEmpty: c_uint = 0x69;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_averagetimetofull?language=objc)
pub const kHIDUsage_BS_AverageTimeToFull: c_uint = 0x6A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_cyclecount?language=objc)
pub const kHIDUsage_BS_CycleCount: c_uint = 0x6B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_battpackmodellevel?language=objc)
pub const kHIDUsage_BS_BattPackModelLevel: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_internalchargecontroller?language=objc)
pub const kHIDUsage_BS_InternalChargeController: c_uint = 0x81;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_primarybatterysupport?language=objc)
pub const kHIDUsage_BS_PrimaryBatterySupport: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_designcapacity?language=objc)
pub const kHIDUsage_BS_DesignCapacity: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_specificationinfo?language=objc)
pub const kHIDUsage_BS_SpecificationInfo: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_manufacturerdate?language=objc)
pub const kHIDUsage_BS_ManufacturerDate: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_serialnumber?language=objc)
pub const kHIDUsage_BS_SerialNumber: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_imanufacturername?language=objc)
pub const kHIDUsage_BS_iManufacturerName: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_idevicename?language=objc)
pub const kHIDUsage_BS_iDevicename: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_idevicechemistry?language=objc)
pub const kHIDUsage_BS_iDeviceChemistry: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_manufacturerdata?language=objc)
pub const kHIDUsage_BS_ManufacturerData: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_rechargable?language=objc)
pub const kHIDUsage_BS_Rechargable: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_warningcapacitylimit?language=objc)
pub const kHIDUsage_BS_WarningCapacityLimit: c_uint = 0x8C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_capacitygranularity1?language=objc)
pub const kHIDUsage_BS_CapacityGranularity1: c_uint = 0x8D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_capacitygranularity2?language=objc)
pub const kHIDUsage_BS_CapacityGranularity2: c_uint = 0x8E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_ioeminformation?language=objc)
pub const kHIDUsage_BS_iOEMInformation: c_uint = 0x8F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_inhibitcharge?language=objc)
pub const kHIDUsage_BS_InhibitCharge: c_uint = 0xC0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_enablepolling?language=objc)
pub const kHIDUsage_BS_EnablePolling: c_uint = 0xC1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_resettozero?language=objc)
pub const kHIDUsage_BS_ResetToZero: c_uint = 0xC2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_acpresent?language=objc)
pub const kHIDUsage_BS_ACPresent: c_uint = 0xD0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_batterypresent?language=objc)
pub const kHIDUsage_BS_BatteryPresent: c_uint = 0xD1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_powerfail?language=objc)
pub const kHIDUsage_BS_PowerFail: c_uint = 0xD2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_alarminhibited?language=objc)
pub const kHIDUsage_BS_AlarmInhibited: c_uint = 0xD3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_thermistorunderrange?language=objc)
pub const kHIDUsage_BS_ThermistorUnderRange: c_uint = 0xD4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_thermistorhot?language=objc)
pub const kHIDUsage_BS_ThermistorHot: c_uint = 0xD5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_thermistorcold?language=objc)
pub const kHIDUsage_BS_ThermistorCold: c_uint = 0xD6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_thermistoroverrange?language=objc)
pub const kHIDUsage_BS_ThermistorOverRange: c_uint = 0xD7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_voltageoutofrange?language=objc)
pub const kHIDUsage_BS_VoltageOutOfRange: c_uint = 0xD8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_currentoutofrange?language=objc)
pub const kHIDUsage_BS_CurrentOutOfRange: c_uint = 0xD9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_currentnotregulated?language=objc)
pub const kHIDUsage_BS_CurrentNotRegulated: c_uint = 0xDA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_voltagenotregulated?language=objc)
pub const kHIDUsage_BS_VoltageNotRegulated: c_uint = 0xDB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_mastermode?language=objc)
pub const kHIDUsage_BS_MasterMode: c_uint = 0xDC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_chargerselectorsupport?language=objc)
pub const kHIDUsage_BS_ChargerSelectorSupport: c_uint = 0xF0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_chargerspec?language=objc)
pub const kHIDUsage_BS_ChargerSpec: c_uint = 0xF1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_level2?language=objc)
pub const kHIDUsage_BS_Level2: c_uint = 0xF2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bs_level3?language=objc)
pub const kHIDUsage_BS_Level3: c_uint = 0xF3;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_undefined?language=objc)
pub const kHIDUsage_BCS_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_badgereader?language=objc)
pub const kHIDUsage_BCS_BadgeReader: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_barcodescanner?language=objc)
pub const kHIDUsage_BCS_BarCodeScanner: c_uint = 0x02;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_dumbbarcodescanner?language=objc)
pub const kHIDUsage_BCS_DumbBarCodeScanner: c_uint = 0x03;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_cordlessscannerbase?language=objc)
pub const kHIDUsage_BCS_CordlessScannerBase: c_uint = 0x04;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_barcodescannercradle?language=objc)
pub const kHIDUsage_BCS_BarCodeScannerCradle: c_uint = 0x05;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_attributereport?language=objc)
pub const kHIDUsage_BCS_AttributeReport: c_uint = 0x10;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_settingsreport?language=objc)
pub const kHIDUsage_BCS_SettingsReport: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_scanneddatareport?language=objc)
pub const kHIDUsage_BCS_ScannedDataReport: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_rawscanneddatareport?language=objc)
pub const kHIDUsage_BCS_RawScannedDataReport: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggerreport?language=objc)
pub const kHIDUsage_BCS_TriggerReport: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_statusreport?language=objc)
pub const kHIDUsage_BCS_StatusReport: c_uint = 0x15;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_eancontrolreport?language=objc)
pub const kHIDUsage_BCS_UPC_EANControlReport: c_uint = 0x16;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean2_3labelcontrolreport?language=objc)
pub const kHIDUsage_BCS_EAN2_3LabelControlReport: c_uint = 0x17;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code39controlreport?language=objc)
pub const kHIDUsage_BCS_Code39ControlReport: c_uint = 0x18;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_interleaved2of5controlreport?language=objc)
pub const kHIDUsage_BCS_Interleaved2of5ControlReport: c_uint = 0x19;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_standard2of5controlreport?language=objc)
pub const kHIDUsage_BCS_Standard2of5ControlReport: c_uint = 0x1A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_msiplesseycontrolreport?language=objc)
pub const kHIDUsage_BCS_MSIPlesseyControlReport: c_uint = 0x1B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_codabarcontrolreport?language=objc)
pub const kHIDUsage_BCS_CodabarControlReport: c_uint = 0x1C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code128controlreport?language=objc)
pub const kHIDUsage_BCS_Code128ControlReport: c_uint = 0x1D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_misc1dcontrolreport?language=objc)
pub const kHIDUsage_BCS_Misc1DControlReport: c_uint = 0x1E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_2dcontrolreport?language=objc)
pub const kHIDUsage_BCS_2DControlReport: c_uint = 0x1F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_aiming_pointermide?language=objc)
pub const kHIDUsage_BCS_Aiming_PointerMide: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_barcodepresentsensor?language=objc)
pub const kHIDUsage_BCS_BarCodePresentSensor: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_class1alaser?language=objc)
pub const kHIDUsage_BCS_Class1ALaser: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_class2laser?language=objc)
pub const kHIDUsage_BCS_Class2Laser: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_heaterpresent?language=objc)
pub const kHIDUsage_BCS_HeaterPresent: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_contactscanner?language=objc)
pub const kHIDUsage_BCS_ContactScanner: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_electronicarticlesurveillancenotification?language=objc)
pub const kHIDUsage_BCS_ElectronicArticleSurveillanceNotification: c_uint = 0x36;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_constantelectronicarticlesurveillance?language=objc)
pub const kHIDUsage_BCS_ConstantElectronicArticleSurveillance: c_uint = 0x37;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_errorindication?language=objc)
pub const kHIDUsage_BCS_ErrorIndication: c_uint = 0x38;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_fixedbeeper?language=objc)
pub const kHIDUsage_BCS_FixedBeeper: c_uint = 0x39;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_gooddecodeindication?language=objc)
pub const kHIDUsage_BCS_GoodDecodeIndication: c_uint = 0x3A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_handsfreescanning?language=objc)
pub const kHIDUsage_BCS_HandsFreeScanning: c_uint = 0x3B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_intrinsicallysafe?language=objc)
pub const kHIDUsage_BCS_IntrinsicallySafe: c_uint = 0x3C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_klasseeinslaser?language=objc)
pub const kHIDUsage_BCS_KlasseEinsLaser: c_uint = 0x3D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_longrangescanner?language=objc)
pub const kHIDUsage_BCS_LongRangeScanner: c_uint = 0x3E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_mirrorspeedcontrol?language=objc)
pub const kHIDUsage_BCS_MirrorSpeedControl: c_uint = 0x3F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_notonfileindication?language=objc)
pub const kHIDUsage_BCS_NotOnFileIndication: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_programmablebeeper?language=objc)
pub const kHIDUsage_BCS_ProgrammableBeeper: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggerless?language=objc)
pub const kHIDUsage_BCS_Triggerless: c_uint = 0x42;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_wand?language=objc)
pub const kHIDUsage_BCS_Wand: c_uint = 0x43;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_waterresistant?language=objc)
pub const kHIDUsage_BCS_WaterResistant: c_uint = 0x44;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_multirangescanner?language=objc)
pub const kHIDUsage_BCS_MultiRangeScanner: c_uint = 0x45;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_proximitysensor?language=objc)
pub const kHIDUsage_BCS_ProximitySensor: c_uint = 0x46;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_fragmentdecoding?language=objc)
pub const kHIDUsage_BCS_FragmentDecoding: c_uint = 0x4D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_scannerreadconfidence?language=objc)
pub const kHIDUsage_BCS_ScannerReadConfidence: c_uint = 0x4E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_dataprefix?language=objc)
pub const kHIDUsage_BCS_DataPrefix: c_uint = 0x4F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_prefixaimi?language=objc)
pub const kHIDUsage_BCS_PrefixAIMI: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_prefixnone?language=objc)
pub const kHIDUsage_BCS_PrefixNone: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_prefixproprietary?language=objc)
pub const kHIDUsage_BCS_PrefixProprietary: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_activetime?language=objc)
pub const kHIDUsage_BCS_ActiveTime: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_aiminglaserpattern?language=objc)
pub const kHIDUsage_BCS_AimingLaserPattern: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_barcodepresent?language=objc)
pub const kHIDUsage_BCS_BarCodePresent: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_beeperstate?language=objc)
pub const kHIDUsage_BCS_BeeperState: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_laserontime?language=objc)
pub const kHIDUsage_BCS_LaserOnTime: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_laserstate?language=objc)
pub const kHIDUsage_BCS_LaserState: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_lockouttime?language=objc)
pub const kHIDUsage_BCS_LockoutTime: c_uint = 0x5B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_motorstate?language=objc)
pub const kHIDUsage_BCS_MotorState: c_uint = 0x5C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_motortimeout?language=objc)
pub const kHIDUsage_BCS_MotorTimeout: c_uint = 0x5D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_poweronresetscanner?language=objc)
pub const kHIDUsage_BCS_PowerOnResetScanner: c_uint = 0x5E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_preventreadofbarcodes?language=objc)
pub const kHIDUsage_BCS_PreventReadOfBarcodes: c_uint = 0x5F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_initiatebarcoderead?language=objc)
pub const kHIDUsage_BCS_InitiateBarcodeRead: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggerstate?language=objc)
pub const kHIDUsage_BCS_TriggerState: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggermode?language=objc)
pub const kHIDUsage_BCS_TriggerMode: c_uint = 0x62;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggermodeblinkinglaseron?language=objc)
pub const kHIDUsage_BCS_TriggerModeBlinkingLaserOn: c_uint = 0x63;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggermodecontinuouslaseron?language=objc)
pub const kHIDUsage_BCS_TriggerModeContinuousLaserOn: c_uint = 0x64;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggermodelaseronwhilepulled?language=objc)
pub const kHIDUsage_BCS_TriggerModeLaserOnWhilePulled: c_uint = 0x65;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_triggermodelaserstaysonaftertriggerrelease?language=objc)
pub const kHIDUsage_BCS_TriggerModeLaserStaysOnAfterTriggerRelease: c_uint = 0x66;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_commitparameterstonvm?language=objc)
pub const kHIDUsage_BCS_CommitParametersToNVM: c_uint = 0x6D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_parameterscanning?language=objc)
pub const kHIDUsage_BCS_ParameterScanning: c_uint = 0x6E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_parameterschanged?language=objc)
pub const kHIDUsage_BCS_ParametersChanged: c_uint = 0x6F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_setparameterdefaultvalues?language=objc)
pub const kHIDUsage_BCS_SetParameterDefaultValues: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_scannerincradle?language=objc)
pub const kHIDUsage_BCS_ScannerInCradle: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_scannerinrange?language=objc)
pub const kHIDUsage_BCS_ScannerInRange: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_aimduration?language=objc)
pub const kHIDUsage_BCS_AimDuration: c_uint = 0x7A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadlampduration?language=objc)
pub const kHIDUsage_BCS_GoodReadLampDuration: c_uint = 0x7B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadlampintensity?language=objc)
pub const kHIDUsage_BCS_GoodReadLampIntensity: c_uint = 0x7C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadled?language=objc)
pub const kHIDUsage_BCS_GoodReadLED: c_uint = 0x7D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadtonefrequency?language=objc)
pub const kHIDUsage_BCS_GoodReadToneFrequency: c_uint = 0x7E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadtonelength?language=objc)
pub const kHIDUsage_BCS_GoodReadToneLength: c_uint = 0x7F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadtonevolume?language=objc)
pub const kHIDUsage_BCS_GoodReadToneVolume: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_noreadmessage?language=objc)
pub const kHIDUsage_BCS_NoReadMessage: c_uint = 0x82;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_notonfilevolume?language=objc)
pub const kHIDUsage_BCS_NotOnFileVolume: c_uint = 0x83;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_powerupbeep?language=objc)
pub const kHIDUsage_BCS_PowerupBeep: c_uint = 0x84;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_sounderrorbeep?language=objc)
pub const kHIDUsage_BCS_SoundErrorBeep: c_uint = 0x85;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_soundgoodreadbeep?language=objc)
pub const kHIDUsage_BCS_SoundGoodReadBeep: c_uint = 0x86;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_soundnotonfilebeep?language=objc)
pub const kHIDUsage_BCS_SoundNotOnFileBeep: c_uint = 0x87;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_goodreadwhentowrite?language=objc)
pub const kHIDUsage_BCS_GoodReadWhenToWrite: c_uint = 0x88;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_grwtiafterdecode?language=objc)
pub const kHIDUsage_BCS_GRWTIAfterDecode: c_uint = 0x89;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_grwtibeep_lampaftertransmit?language=objc)
pub const kHIDUsage_BCS_GRWTIBeep_LampAfterTransmit: c_uint = 0x8A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_grwtinobeep_lampuseatall?language=objc)
pub const kHIDUsage_BCS_GRWTINoBeep_LampUseAtAll: c_uint = 0x8B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_booklandean?language=objc)
pub const kHIDUsage_BCS_BooklandEAN: c_uint = 0x91;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_convertean8to13type?language=objc)
pub const kHIDUsage_BCS_ConvertEAN8To13Type: c_uint = 0x92;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_convertupcatoean_13?language=objc)
pub const kHIDUsage_BCS_ConvertUPCAToEAN_13: c_uint = 0x93;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_convertupc_etoa?language=objc)
pub const kHIDUsage_BCS_ConvertUPC_EToA: c_uint = 0x94;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean_13?language=objc)
pub const kHIDUsage_BCS_EAN_13: c_uint = 0x95;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean_8?language=objc)
pub const kHIDUsage_BCS_EAN_8: c_uint = 0x96;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean_99_128_mandatory?language=objc)
pub const kHIDUsage_BCS_EAN_99_128_Mandatory: c_uint = 0x97;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean_99_p5_128_optional?language=objc)
pub const kHIDUsage_BCS_EAN_99_P5_128_Optional: c_uint = 0x98;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_ean?language=objc)
pub const kHIDUsage_BCS_UPC_EAN: c_uint = 0x9A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_eancouponcode?language=objc)
pub const kHIDUsage_BCS_UPC_EANCouponCode: c_uint = 0x9B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_eanperiodicals?language=objc)
pub const kHIDUsage_BCS_UPC_EANPeriodicals: c_uint = 0x9C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_a?language=objc)
pub const kHIDUsage_BCS_UPC_A: c_uint = 0x9D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_awith128mandatory?language=objc)
pub const kHIDUsage_BCS_UPC_AWith128Mandatory: c_uint = 0x9E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_awith128optical?language=objc)
pub const kHIDUsage_BCS_UPC_AWith128Optical: c_uint = 0x9F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_awithp5optional?language=objc)
pub const kHIDUsage_BCS_UPC_AWithP5Optional: c_uint = 0xA0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_e?language=objc)
pub const kHIDUsage_BCS_UPC_E: c_uint = 0xA1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_upc_e1?language=objc)
pub const kHIDUsage_BCS_UPC_E1: c_uint = 0xA2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodical?language=objc)
pub const kHIDUsage_BCS_Periodical: c_uint = 0xA9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalautodiscriminateplus2?language=objc)
pub const kHIDUsage_BCS_PeriodicalAutoDiscriminatePlus2: c_uint = 0xAA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalonlydecodewithplus2?language=objc)
pub const kHIDUsage_BCS_PeriodicalOnlyDecodeWithPlus2: c_uint = 0xAB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalignoreplus2?language=objc)
pub const kHIDUsage_BCS_PeriodicalIgnorePlus2: c_uint = 0xAC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalautodiscriminateplus5?language=objc)
pub const kHIDUsage_BCS_PeriodicalAutoDiscriminatePlus5: c_uint = 0xAD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalonlydecodewithplus5?language=objc)
pub const kHIDUsage_BCS_PeriodicalOnlyDecodeWithPlus5: c_uint = 0xAE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_periodicalignoreplus5?language=objc)
pub const kHIDUsage_BCS_PeriodicalIgnorePlus5: c_uint = 0xAF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_check?language=objc)
pub const kHIDUsage_BCS_Check: c_uint = 0xB0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdisableprice?language=objc)
pub const kHIDUsage_BCS_CheckDisablePrice: c_uint = 0xB1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkenable4digitprice?language=objc)
pub const kHIDUsage_BCS_CheckEnable4DigitPrice: c_uint = 0xB2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkenable5digitprice?language=objc)
pub const kHIDUsage_BCS_CheckEnable5DigitPrice: c_uint = 0xB3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkenableeuropean4digitprice?language=objc)
pub const kHIDUsage_BCS_CheckEnableEuropean4DigitPrice: c_uint = 0xB4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkenableeuropean5digitprice?language=objc)
pub const kHIDUsage_BCS_CheckEnableEuropean5DigitPrice: c_uint = 0xB5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_eantwolabel?language=objc)
pub const kHIDUsage_BCS_EANTwoLabel: c_uint = 0xB7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_eanthreelabel?language=objc)
pub const kHIDUsage_BCS_EANThreeLabel: c_uint = 0xB8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean8flagdigit1?language=objc)
pub const kHIDUsage_BCS_EAN8FlagDigit1: c_uint = 0xB9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean8flagdigit2?language=objc)
pub const kHIDUsage_BCS_EAN8FlagDigit2: c_uint = 0xBA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean8flagdigit3?language=objc)
pub const kHIDUsage_BCS_EAN8FlagDigit3: c_uint = 0xBB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean13flagdigit1?language=objc)
pub const kHIDUsage_BCS_EAN13FlagDigit1: c_uint = 0xBC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean13flagdigit2?language=objc)
pub const kHIDUsage_BCS_EAN13FlagDigit2: c_uint = 0xBD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ean13flagdigit3?language=objc)
pub const kHIDUsage_BCS_EAN13FlagDigit3: c_uint = 0xBE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_addean2_3labeldefinition?language=objc)
pub const kHIDUsage_BCS_AddEAN2_3LabelDefinition: c_uint = 0xBF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_clearallean2_3labeldefinitions?language=objc)
pub const kHIDUsage_BCS_ClearAllEAN2_3LabelDefinitions: c_uint = 0xC0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_codabar?language=objc)
pub const kHIDUsage_BCS_Codabar: c_uint = 0xC3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code128?language=objc)
pub const kHIDUsage_BCS_Code128: c_uint = 0xC4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code39?language=objc)
pub const kHIDUsage_BCS_Code39: c_uint = 0xC7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code93?language=objc)
pub const kHIDUsage_BCS_Code93: c_uint = 0xC8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_fullasciiconversion?language=objc)
pub const kHIDUsage_BCS_FullASCIIConversion: c_uint = 0xC9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_interleaved2of5?language=objc)
pub const kHIDUsage_BCS_Interleaved2of5: c_uint = 0xCA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_italianpharmacycode?language=objc)
pub const kHIDUsage_BCS_ItalianPharmacyCode: c_uint = 0xCB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_msi_plessey?language=objc)
pub const kHIDUsage_BCS_MSI_Plessey: c_uint = 0xCC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_standard2of5iata?language=objc)
pub const kHIDUsage_BCS_Standard2of5IATA: c_uint = 0xCD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_standard2of5?language=objc)
pub const kHIDUsage_BCS_Standard2of5: c_uint = 0xCE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_transmitstart_stop?language=objc)
pub const kHIDUsage_BCS_TransmitStart_Stop: c_uint = 0xD3;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_trioptic?language=objc)
pub const kHIDUsage_BCS_TriOptic: c_uint = 0xD4;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ucc_ean_128?language=objc)
pub const kHIDUsage_BCS_UCC_EAN_128: c_uint = 0xD5;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigit?language=objc)
pub const kHIDUsage_BCS_CheckDigit: c_uint = 0xD6;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitdisable?language=objc)
pub const kHIDUsage_BCS_CheckDigitDisable: c_uint = 0xD7;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenableinterleaved2of5opcc?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableInterleaved2of5OPCC: c_uint = 0xD8;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenableinterleaved2of5uss?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableInterleaved2of5USS: c_uint = 0xD9;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenablestandard2of5opcc?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableStandard2of5OPCC: c_uint = 0xDA;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenablestandard2of5uss?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableStandard2of5USS: c_uint = 0xDB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenableonemsiplessey?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableOneMSIPlessey: c_uint = 0xDC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitenabletwomsiplessey?language=objc)
pub const kHIDUsage_BCS_CheckDigitEnableTwoMSIPlessey: c_uint = 0xDD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitcodabarenable?language=objc)
pub const kHIDUsage_BCS_CheckDigitCodabarEnable: c_uint = 0xDE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_checkdigitcode99enable?language=objc)
pub const kHIDUsage_BCS_CheckDigitCode99Enable: c_uint = 0xDF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_transmitcheckdigit?language=objc)
pub const kHIDUsage_BCS_TransmitCheckDigit: c_uint = 0xF0;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_disablecheckdigittransmit?language=objc)
pub const kHIDUsage_BCS_DisableCheckDigitTransmit: c_uint = 0xF1;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_enablecheckdigittransmit?language=objc)
pub const kHIDUsage_BCS_EnableCheckDigitTransmit: c_uint = 0xF2;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_symbologyidentifier1?language=objc)
pub const kHIDUsage_BCS_SymbologyIdentifier1: c_uint = 0xFB;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_symbologyidentifier2?language=objc)
pub const kHIDUsage_BCS_SymbologyIdentifier2: c_uint = 0xFC;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_symbologyidentifier3?language=objc)
pub const kHIDUsage_BCS_SymbologyIdentifier3: c_uint = 0xFD;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_decodeddata?language=objc)
pub const kHIDUsage_BCS_DecodedData: c_uint = 0xFE;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_decodedatacontinued?language=objc)
pub const kHIDUsage_BCS_DecodeDataContinued: c_uint = 0xFF;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_barspacedata?language=objc)
pub const kHIDUsage_BCS_BarSpaceData: c_uint = 0x100;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_scannerdataaccuracy?language=objc)
pub const kHIDUsage_BCS_ScannerDataAccuracy: c_uint = 0x101;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_rawdatapolarity?language=objc)
pub const kHIDUsage_BCS_RawDataPolarity: c_uint = 0x102;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_polarityinvertedbarcode?language=objc)
pub const kHIDUsage_BCS_PolarityInvertedBarCode: c_uint = 0x103;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_polaritynormalbarcode?language=objc)
pub const kHIDUsage_BCS_PolarityNormalBarCode: c_uint = 0x104;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_minimumlengthtodecode?language=objc)
pub const kHIDUsage_BCS_MinimumLengthToDecode: c_uint = 0x106;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_maximumlengthtodecode?language=objc)
pub const kHIDUsage_BCS_MaximumLengthToDecode: c_uint = 0x107;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_firstdiscretelengthtodecode?language=objc)
pub const kHIDUsage_BCS_FirstDiscreteLengthToDecode: c_uint = 0x108;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_seconddiscretelengthtodecode?language=objc)
pub const kHIDUsage_BCS_SecondDiscreteLengthToDecode: c_uint = 0x109;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_datalengthmethod?language=objc)
pub const kHIDUsage_BCS_DataLengthMethod: c_uint = 0x10A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_dlmethodreadany?language=objc)
pub const kHIDUsage_BCS_DLMethodReadAny: c_uint = 0x10B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_dlmethodcheckinrange?language=objc)
pub const kHIDUsage_BCS_DLMethodCheckInRange: c_uint = 0x10C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_dlmethodcheckfordiscrete?language=objc)
pub const kHIDUsage_BCS_DLMethodCheckForDiscrete: c_uint = 0x10D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_azteccode?language=objc)
pub const kHIDUsage_BCS_AztecCode: c_uint = 0x110;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_bc412?language=objc)
pub const kHIDUsage_BCS_BC412: c_uint = 0x111;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_channelcode?language=objc)
pub const kHIDUsage_BCS_ChannelCode: c_uint = 0x112;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code16?language=objc)
pub const kHIDUsage_BCS_Code16: c_uint = 0x113;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code32?language=objc)
pub const kHIDUsage_BCS_Code32: c_uint = 0x114;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_code49?language=objc)
pub const kHIDUsage_BCS_Code49: c_uint = 0x115;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_codeone?language=objc)
pub const kHIDUsage_BCS_CodeOne: c_uint = 0x116;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_colorcode?language=objc)
pub const kHIDUsage_BCS_Colorcode: c_uint = 0x117;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_datamatrix?language=objc)
pub const kHIDUsage_BCS_DataMatrix: c_uint = 0x118;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_maxicode?language=objc)
pub const kHIDUsage_BCS_MaxiCode: c_uint = 0x119;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_micropdf?language=objc)
pub const kHIDUsage_BCS_MicroPDF: c_uint = 0x11A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_pdf_417?language=objc)
pub const kHIDUsage_BCS_PDF_417: c_uint = 0x11B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_posicode?language=objc)
pub const kHIDUsage_BCS_PosiCode: c_uint = 0x11C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_qrcode?language=objc)
pub const kHIDUsage_BCS_QRCode: c_uint = 0x11D;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_supercode?language=objc)
pub const kHIDUsage_BCS_SuperCode: c_uint = 0x11E;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_ultracode?language=objc)
pub const kHIDUsage_BCS_UltraCode: c_uint = 0x11F;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_usb_5_slugcode?language=objc)
pub const kHIDUsage_BCS_USB_5_SlugCode: c_uint = 0x120;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_bcs_vericode?language=objc)
pub const kHIDUsage_BCS_VeriCode: c_uint = 0x121;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_undefined?language=objc)
pub const kHIDUsage_WD_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weighingdevice?language=objc)
pub const kHIDUsage_WD_WeighingDevice: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaledevice?language=objc)
pub const kHIDUsage_WD_ScaleScaleDevice: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassimetriccl?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIMetricCL: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassimetric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIMetric: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassiimetric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIIMetric: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassiiimetric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIIIMetric: c_uint = 0x24;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassiiilmetric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIIILMetric: c_uint = 0x25;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassivmetric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIVMetric: c_uint = 0x26;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassiiienglish?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIIIEnglish: c_uint = 0x27;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassiiilenglish?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIIILEnglish: c_uint = 0x28;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassivenglish?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassIVEnglish: c_uint = 0x29;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalescaleclassgeneric?language=objc)
pub const kHIDUsage_WD_ScaleScaleClassGeneric: c_uint = 0x2A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scaleatrributereport?language=objc)
pub const kHIDUsage_WD_ScaleAtrributeReport: c_uint = 0x30;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalecontrolreport?language=objc)
pub const kHIDUsage_WD_ScaleControlReport: c_uint = 0x31;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scaledatareport?language=objc)
pub const kHIDUsage_WD_ScaleDataReport: c_uint = 0x32;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusreport?language=objc)
pub const kHIDUsage_WD_ScaleStatusReport: c_uint = 0x33;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scaleweightlimitreport?language=objc)
pub const kHIDUsage_WD_ScaleWeightLimitReport: c_uint = 0x34;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatisticsreport?language=objc)
pub const kHIDUsage_WD_ScaleStatisticsReport: c_uint = 0x35;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_dataweight?language=objc)
pub const kHIDUsage_WD_DataWeight: c_uint = 0x40;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_datascaling?language=objc)
pub const kHIDUsage_WD_DataScaling: c_uint = 0x41;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunit?language=objc)
pub const kHIDUsage_WD_WeightUnit: c_uint = 0x50;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitmilligram?language=objc)
pub const kHIDUsage_WD_WeightUnitMilligram: c_uint = 0x51;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitgram?language=objc)
pub const kHIDUsage_WD_WeightUnitGram: c_uint = 0x52;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitkilogram?language=objc)
pub const kHIDUsage_WD_WeightUnitKilogram: c_uint = 0x53;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitcarats?language=objc)
pub const kHIDUsage_WD_WeightUnitCarats: c_uint = 0x54;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunittaels?language=objc)
pub const kHIDUsage_WD_WeightUnitTaels: c_uint = 0x55;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitgrains?language=objc)
pub const kHIDUsage_WD_WeightUnitGrains: c_uint = 0x56;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitpennyweights?language=objc)
pub const kHIDUsage_WD_WeightUnitPennyweights: c_uint = 0x57;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitmetricton?language=objc)
pub const kHIDUsage_WD_WeightUnitMetricTon: c_uint = 0x58;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitavoirton?language=objc)
pub const kHIDUsage_WD_WeightUnitAvoirTon: c_uint = 0x59;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunittroyounce?language=objc)
pub const kHIDUsage_WD_WeightUnitTroyOunce: c_uint = 0x5A;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitounce?language=objc)
pub const kHIDUsage_WD_WeightUnitOunce: c_uint = 0x5B;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_weightunitpound?language=objc)
pub const kHIDUsage_WD_WeightUnitPound: c_uint = 0x5C;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_calibrationcount?language=objc)
pub const kHIDUsage_WD_CalibrationCount: c_uint = 0x60;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_rezerocount?language=objc)
pub const kHIDUsage_WD_RezeroCount: c_uint = 0x61;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatus?language=objc)
pub const kHIDUsage_WD_ScaleStatus: c_uint = 0x70;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusfault?language=objc)
pub const kHIDUsage_WD_ScaleStatusFault: c_uint = 0x71;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusstableatzero?language=objc)
pub const kHIDUsage_WD_ScaleStatusStableAtZero: c_uint = 0x72;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusinmotion?language=objc)
pub const kHIDUsage_WD_ScaleStatusInMotion: c_uint = 0x73;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusweightstable?language=objc)
pub const kHIDUsage_WD_ScaleStatusWeightStable: c_uint = 0x74;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusunderzero?language=objc)
pub const kHIDUsage_WD_ScaleStatusUnderZero: c_uint = 0x75;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusoverweightlimit?language=objc)
pub const kHIDUsage_WD_ScaleStatusOverWeightLimit: c_uint = 0x76;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusrequirescalibration?language=objc)
pub const kHIDUsage_WD_ScaleStatusRequiresCalibration: c_uint = 0x77;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_scalestatusrequiresrezeroing?language=objc)
pub const kHIDUsage_WD_ScaleStatusRequiresRezeroing: c_uint = 0x78;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_zeroscale?language=objc)
pub const kHIDUsage_WD_ZeroScale: c_uint = 0x80;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_wd_enforcedzeroreturn?language=objc)
pub const kHIDUsage_WD_EnforcedZeroReturn: c_uint = 0x81;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_undefined?language=objc)
pub const kHIDUsage_MSR_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_devicereadonly?language=objc)
pub const kHIDUsage_MSR_DeviceReadOnly: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track1length?language=objc)
pub const kHIDUsage_MSR_Track1Length: c_uint = 0x11;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track2length?language=objc)
pub const kHIDUsage_MSR_Track2Length: c_uint = 0x12;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track3length?language=objc)
pub const kHIDUsage_MSR_Track3Length: c_uint = 0x13;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_trackjislength?language=objc)
pub const kHIDUsage_MSR_TrackJISLength: c_uint = 0x14;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_trackdata?language=objc)
pub const kHIDUsage_MSR_TrackData: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track1data?language=objc)
pub const kHIDUsage_MSR_Track1Data: c_uint = 0x21;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track2data?language=objc)
pub const kHIDUsage_MSR_Track2Data: c_uint = 0x22;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_track3data?language=objc)
pub const kHIDUsage_MSR_Track3Data: c_uint = 0x23;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_msr_trackjisdata?language=objc)
pub const kHIDUsage_MSR_TrackJISData: c_uint = 0x24;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_cc_undefined?language=objc)
pub const kHIDUsage_CC_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_cc_autofocus?language=objc)
pub const kHIDUsage_CC_Autofocus: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_cc_shutter?language=objc)
pub const kHIDUsage_CC_Shutter: c_uint = 0x21;

/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_fido_undefined?language=objc)
pub const kHIDUsage_FIDO_Undefined: c_uint = 0x00;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_fido_u2fdevice?language=objc)
pub const kHIDUsage_FIDO_U2FDevice: c_uint = 0x01;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_fido_inputdata?language=objc)
pub const kHIDUsage_FIDO_InputData: c_uint = 0x20;
/// [Apple's documentation](https://developer.apple.com/documentation/iokit/khidusage_fido_outputdata?language=objc)
pub const kHIDUsage_FIDO_OutputData: c_uint = 0x21;

unsafe impl ConcreteType for IOHIDValue {
    /// Returns the type identifier of all IOHIDValue instances.
    #[doc(alias = "IOHIDValueGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDValueGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDValueGetTypeID() }
    }
}

impl IOHIDValue {
    /// Creates a new element value using an integer value.
    ///
    /// IOHIDValueGetTimeStamp should represent OS AbsoluteTime, not CFAbsoluteTime.
    /// To obtain the OS AbsoluteTime, please reference the APIs declared in
    /// <mach
    /// /mach_time.h>
    ///
    /// Parameter `allocator`: The CFAllocator which should be used to allocate memory for the value.  This
    /// parameter may be NULL in which case the current default CFAllocator is used. If this
    /// reference is not a valid CFAllocator, the behavior is undefined.
    ///
    /// Parameter `element`: IOHIDElementRef associated with this value.
    ///
    /// Parameter `timeStamp`: OS absolute time timestamp for this value.
    ///
    /// Parameter `value`: Integer value to be copied to this object.
    ///
    /// Returns: Returns a reference to a new IOHIDValueRef.
    #[doc(alias = "IOHIDValueCreateWithIntegerValue")]
    #[inline]
    pub fn with_integer_value(
        allocator: Option<&CFAllocator>,
        element: &IOHIDElement,
        time_stamp: u64,
        value: CFIndex,
    ) -> CFRetained<IOHIDValue> {
        extern "C-unwind" {
            fn IOHIDValueCreateWithIntegerValue(
                allocator: Option<&CFAllocator>,
                element: &IOHIDElement,
                time_stamp: u64,
                value: CFIndex,
            ) -> Option<NonNull<IOHIDValue>>;
        }
        let ret =
            unsafe { IOHIDValueCreateWithIntegerValue(allocator, element, time_stamp, value) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::from_raw(ret) }
    }

    /// Creates a new element value using byte data.
    ///
    /// IOHIDValueGetTimeStamp should represent OS AbsoluteTime, not CFAbsoluteTime.
    /// To obtain the OS AbsoluteTime, please reference the APIs declared in
    /// <mach
    /// /mach_time.h>
    ///
    /// Parameter `allocator`: The CFAllocator which should be used to allocate memory for the value.  This
    /// parameter may be NULL in which case the current default CFAllocator is used. If this
    /// reference is not a valid CFAllocator, the behavior is undefined.
    ///
    /// Parameter `element`: IOHIDElementRef associated with this value.
    ///
    /// Parameter `timeStamp`: OS absolute time timestamp for this value.
    ///
    /// Parameter `bytes`: Pointer to a buffer of uint8_t to be copied to this object.
    ///
    /// Parameter `length`: Number of bytes in the passed buffer.
    ///
    /// Returns: Returns a reference to a new IOHIDValueRef.
    ///
    /// # Safety
    ///
    /// `bytes` must be a valid pointer.
    #[doc(alias = "IOHIDValueCreateWithBytes")]
    #[inline]
    pub unsafe fn with_bytes(
        allocator: Option<&CFAllocator>,
        element: &IOHIDElement,
        time_stamp: u64,
        bytes: NonNull<u8>,
        length: CFIndex,
    ) -> Option<CFRetained<IOHIDValue>> {
        extern "C-unwind" {
            fn IOHIDValueCreateWithBytes(
                allocator: Option<&CFAllocator>,
                element: &IOHIDElement,
                time_stamp: u64,
                bytes: NonNull<u8>,
                length: CFIndex,
            ) -> Option<NonNull<IOHIDValue>>;
        }
        let ret =
            unsafe { IOHIDValueCreateWithBytes(allocator, element, time_stamp, bytes, length) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Creates a new element value using byte data without performing a copy.
    ///
    /// The timestamp value passed should represent OS AbsoluteTime, not CFAbsoluteTime.
    /// To obtain the OS AbsoluteTime, please reference the APIs declared in
    /// <mach
    /// /mach_time.h>
    ///
    /// Parameter `allocator`: The CFAllocator which should be used to allocate memory for the value.  This
    /// parameter may be NULL in which case the current default CFAllocator is used. If this
    /// reference is not a valid CFAllocator, the behavior is undefined.
    ///
    /// Parameter `element`: IOHIDElementRef associated with this value.
    ///
    /// Parameter `timeStamp`: OS absolute time timestamp for this value.
    ///
    /// Parameter `bytes`: Pointer to a buffer of uint8_t to be referenced by this object.
    ///
    /// Parameter `length`: Number of bytes in the passed buffer.
    ///
    /// Returns: Returns a reference to a new IOHIDValueRef.
    ///
    /// # Safety
    ///
    /// `bytes` must be a valid pointer.
    #[doc(alias = "IOHIDValueCreateWithBytesNoCopy")]
    #[inline]
    pub unsafe fn with_bytes_no_copy(
        allocator: Option<&CFAllocator>,
        element: &IOHIDElement,
        time_stamp: u64,
        bytes: NonNull<u8>,
        length: CFIndex,
    ) -> Option<CFRetained<IOHIDValue>> {
        extern "C-unwind" {
            fn IOHIDValueCreateWithBytesNoCopy(
                allocator: Option<&CFAllocator>,
                element: &IOHIDElement,
                time_stamp: u64,
                bytes: NonNull<u8>,
                length: CFIndex,
            ) -> Option<NonNull<IOHIDValue>>;
        }
        let ret = unsafe {
            IOHIDValueCreateWithBytesNoCopy(allocator, element, time_stamp, bytes, length)
        };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Returns the element value associated with this IOHIDValueRef.
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Returns: Returns a IOHIDElementRef referenced by this value.
    #[doc(alias = "IOHIDValueGetElement")]
    #[inline]
    pub fn element(&self) -> CFRetained<IOHIDElement> {
        extern "C-unwind" {
            fn IOHIDValueGetElement(value: &IOHIDValue) -> Option<NonNull<IOHIDElement>>;
        }
        let ret = unsafe { IOHIDValueGetElement(self) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::retain(ret) }
    }

    /// Returns the timestamp value contained in this IOHIDValueRef.
    ///
    /// The timestamp value returned represents OS AbsoluteTime, not CFAbsoluteTime.
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Returns: Returns a uint64_t representing the timestamp of this value.
    #[doc(alias = "IOHIDValueGetTimeStamp")]
    #[inline]
    pub fn time_stamp(&self) -> u64 {
        extern "C-unwind" {
            fn IOHIDValueGetTimeStamp(value: &IOHIDValue) -> u64;
        }
        unsafe { IOHIDValueGetTimeStamp(self) }
    }

    /// Returns the size, in bytes, of the value contained in this IOHIDValueRef.
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Returns: Returns length of the value.
    #[doc(alias = "IOHIDValueGetLength")]
    #[inline]
    pub fn length(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDValueGetLength(value: &IOHIDValue) -> CFIndex;
        }
        unsafe { IOHIDValueGetLength(self) }
    }

    /// Returns a byte pointer to the value contained in this IOHIDValueRef.
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Returns: Returns a pointer to the value.
    #[doc(alias = "IOHIDValueGetBytePtr")]
    #[inline]
    pub fn byte_ptr(&self) -> NonNull<u8> {
        extern "C-unwind" {
            fn IOHIDValueGetBytePtr(value: &IOHIDValue) -> Option<NonNull<u8>>;
        }
        let ret = unsafe { IOHIDValueGetBytePtr(self) };
        ret.expect("function was marked as returning non-null, but actually returned NULL")
    }

    /// Returns an integer representaion of the value contained in this IOHIDValueRef.
    ///
    /// The value is based on the logical element value contained in the report returned by the device.
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Returns: Returns an integer representation of the value.
    #[doc(alias = "IOHIDValueGetIntegerValue")]
    #[inline]
    pub fn integer_value(&self) -> CFIndex {
        extern "C-unwind" {
            fn IOHIDValueGetIntegerValue(value: &IOHIDValue) -> CFIndex;
        }
        unsafe { IOHIDValueGetIntegerValue(self) }
    }

    /// Returns an scaled representaion of the value contained in this IOHIDValueRef based on the scale type.
    ///
    /// The scaled value is based on the range described by the scale type's min and max, such that:
    /// <br>
    /// scaledValue = ((value - min) * (scaledMax - scaledMin) / (max - min)) + scaledMin
    /// <br>
    /// <b>
    /// Note:
    /// </b>
    /// <br>
    /// There are currently two types of scaling that can be applied:
    /// <ul>
    /// <li>
    /// <b>
    /// kIOHIDValueScaleTypePhysical
    /// </b>
    /// : Scales element value using the physical bounds of the device such that
    /// <b>
    /// scaledMin = physicalMin
    /// </b>
    /// and
    /// <b>
    /// scaledMax = physicalMax
    /// </b>
    /// .
    /// <li>
    /// <b>
    /// kIOHIDValueScaleTypeCalibrated
    /// </b>
    /// : Scales element value such that
    /// <b>
    /// scaledMin = -1
    /// </b>
    /// and
    /// <b>
    /// scaledMax = 1
    /// </b>
    /// .  This value will also take into account the calibration properties associated with this element.
    /// </ul>
    ///
    /// Parameter `value`: The value to be queried. If this parameter is not a valid IOHIDValueRef, the behavior is undefined.
    ///
    /// Parameter `type`: The type of scaling to be performed.
    ///
    /// Returns: Returns an scaled floating point representation of the value.
    #[doc(alias = "IOHIDValueGetScaledValue")]
    #[inline]
    pub fn scaled_value(&self, r#type: IOHIDValueScaleType) -> c_double {
        extern "C-unwind" {
            fn IOHIDValueGetScaledValue(
                value: &IOHIDValue,
                r#type: IOHIDValueScaleType,
            ) -> c_double;
        }
        unsafe { IOHIDValueGetScaledValue(self, r#type) }
    }
}

/// Various options that can be supplied to IOHIDTransaction functions.
///
/// explicit enough.
///
/// IOHIDDeviceRef being passed in. The expectation is that transaction will only exist during
/// the lifetime of the IOHIDDeviceRef object.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidtransactionoptions?language=objc)
// NS_OPTIONS
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDTransactionOptions(pub u32);
bitflags::bitflags! {
    impl IOHIDTransactionOptions: u32 {
        #[doc(alias = "kIOHIDTransactionOptionsNone")]
        const None = 0x0;
        #[doc(alias = "kIOHIDTransactionOptionsWeakDevice")]
        const WeakDevice = 0x1;
    }
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDTransactionOptions {
    const ENCODING: Encoding = u32::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDTransactionOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// This is the type of a reference to the IOHIDTransaction.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidtransaction?language=objc)
#[doc(alias = "IOHIDTransactionRef")]
#[repr(C)]
pub struct IOHIDTransaction {
    inner: [u8; 0],
    _p: UnsafeCell<PhantomData<(*const UnsafeCell<()>, PhantomPinned)>>,
}

cf_type!(
    unsafe impl IOHIDTransaction {}
);
#[cfg(feature = "objc2")]
cf_objc2_type!(
    unsafe impl RefEncode<"__IOHIDTransaction"> for IOHIDTransaction {}
);

unsafe impl ConcreteType for IOHIDTransaction {
    /// Returns the type identifier of all IOHIDTransaction instances.
    #[doc(alias = "IOHIDTransactionGetTypeID")]
    #[inline]
    fn type_id() -> CFTypeID {
        extern "C-unwind" {
            fn IOHIDTransactionGetTypeID() -> CFTypeID;
        }
        unsafe { IOHIDTransactionGetTypeID() }
    }
}

impl IOHIDTransaction {
    /// Creates an IOHIDTransaction object for the specified device.
    ///
    /// IOHIDTransaction objects can be used to either send or receive
    /// multiple element values.  As such the direction used should
    /// represent they type of objects added to the transaction.
    ///
    /// Parameter `allocator`: Allocator to be used during creation.
    ///
    /// Parameter `device`: IOHIDDevice object
    ///
    /// Parameter `direction`: The direction, either in or out, for the transaction.
    ///
    /// Parameter `options`: Reserved for future use.
    ///
    /// Returns: Returns a new IOHIDTransactionRef.
    #[doc(alias = "IOHIDTransactionCreate")]
    #[inline]
    pub fn new(
        allocator: Option<&CFAllocator>,
        device: &IOHIDDevice,
        direction: IOHIDTransactionDirectionType,
        options: IOOptionBits,
    ) -> Option<CFRetained<IOHIDTransaction>> {
        extern "C-unwind" {
            fn IOHIDTransactionCreate(
                allocator: Option<&CFAllocator>,
                device: &IOHIDDevice,
                direction: IOHIDTransactionDirectionType,
                options: IOOptionBits,
            ) -> Option<NonNull<IOHIDTransaction>>;
        }
        let ret = unsafe { IOHIDTransactionCreate(allocator, device, direction, options) };
        ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
    }

    /// Obtain the device associated with the transaction.
    ///
    /// Parameter `transaction`: IOHIDTransaction to be queried.
    ///
    /// Returns: Returns the a reference to the device.
    #[doc(alias = "IOHIDTransactionGetDevice")]
    #[inline]
    pub fn device(&self) -> CFRetained<IOHIDDevice> {
        extern "C-unwind" {
            fn IOHIDTransactionGetDevice(
                transaction: &IOHIDTransaction,
            ) -> Option<NonNull<IOHIDDevice>>;
        }
        let ret = unsafe { IOHIDTransactionGetDevice(self) };
        let ret =
            ret.expect("function was marked as returning non-null, but actually returned NULL");
        unsafe { CFRetained::retain(ret) }
    }

    /// Obtain the direction of the transaction.
    ///
    /// Parameter `transaction`: IOHIDTransaction to be queried.
    ///
    /// Returns: Returns the transaction direction.
    #[doc(alias = "IOHIDTransactionGetDirection")]
    #[inline]
    pub fn direction(&self) -> IOHIDTransactionDirectionType {
        extern "C-unwind" {
            fn IOHIDTransactionGetDirection(
                transaction: &IOHIDTransaction,
            ) -> IOHIDTransactionDirectionType;
        }
        unsafe { IOHIDTransactionGetDirection(self) }
    }

    /// Sets the direction of the transaction
    ///
    /// This method is useful for manipulating bi-direction (feature)
    /// elements such that you can set or get element values without
    /// creating an additional transaction object.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `direction`: The new transaction direction.
    #[doc(alias = "IOHIDTransactionSetDirection")]
    #[inline]
    pub fn set_direction(&self, direction: IOHIDTransactionDirectionType) {
        extern "C-unwind" {
            fn IOHIDTransactionSetDirection(
                transaction: &IOHIDTransaction,
                direction: IOHIDTransactionDirectionType,
            );
        }
        unsafe { IOHIDTransactionSetDirection(self, direction) }
    }

    /// Adds an element to the transaction
    ///
    /// To minimize device traffic it is important to add elements that
    /// share a common report type and report id.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `element`: Element to be added to the transaction.
    #[doc(alias = "IOHIDTransactionAddElement")]
    #[inline]
    pub fn add_element(&self, element: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDTransactionAddElement(transaction: &IOHIDTransaction, element: &IOHIDElement);
        }
        unsafe { IOHIDTransactionAddElement(self, element) }
    }

    /// Removes an element to the transaction
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `element`: Element to be removed to the transaction.
    #[doc(alias = "IOHIDTransactionRemoveElement")]
    #[inline]
    pub fn remove_element(&self, element: &IOHIDElement) {
        extern "C-unwind" {
            fn IOHIDTransactionRemoveElement(
                transaction: &IOHIDTransaction,
                element: &IOHIDElement,
            );
        }
        unsafe { IOHIDTransactionRemoveElement(self, element) }
    }

    /// Queries the transaction to determine if elemement has been added.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be queried.
    ///
    /// Parameter `element`: Element to be queried.
    ///
    /// Returns: Returns true or false depending if element is present.
    #[doc(alias = "IOHIDTransactionContainsElement")]
    #[inline]
    pub fn contains_element(&self, element: &IOHIDElement) -> bool {
        extern "C-unwind" {
            fn IOHIDTransactionContainsElement(
                transaction: &IOHIDTransaction,
                element: &IOHIDElement,
            ) -> Boolean;
        }
        let ret = unsafe { IOHIDTransactionContainsElement(self, element) };
        ret != 0
    }

    /// Schedules transaction with run loop.
    ///
    /// Formally associates transaction with client's run loop.
    /// Scheduling this transaction with the run loop is necessary
    /// before making use of any asynchronous APIs.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDTransactionScheduleWithRunLoop")]
    #[inline]
    pub unsafe fn schedule_with_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDTransactionScheduleWithRunLoop(
                transaction: &IOHIDTransaction,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDTransactionScheduleWithRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Unschedules transaction with run loop.
    ///
    /// Formally disassociates transaction with client's run loop.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `runLoop`: RunLoop to be used when scheduling any asynchronous
    /// activity.
    ///
    /// Parameter `runLoopMode`: Run loop mode to be used when scheduling any
    /// asynchronous activity.
    ///
    /// # Safety
    ///
    /// `run_loop` possibly has additional threading requirements.
    #[doc(alias = "IOHIDTransactionUnscheduleFromRunLoop")]
    #[inline]
    pub unsafe fn unschedule_from_run_loop(&self, run_loop: &CFRunLoop, run_loop_mode: &CFString) {
        extern "C-unwind" {
            fn IOHIDTransactionUnscheduleFromRunLoop(
                transaction: &IOHIDTransaction,
                run_loop: &CFRunLoop,
                run_loop_mode: &CFString,
            );
        }
        unsafe { IOHIDTransactionUnscheduleFromRunLoop(self, run_loop, run_loop_mode) }
    }

    /// Sets the value for a transaction element.
    ///
    /// The value set is pended until the transaction is committed and
    /// is only used if the transaction direction is
    /// kIOHIDTransactionDirectionTypeOutput.  Use the
    /// kIOHIDTransactionOptionDefaultOutputValue option to set the
    /// default element value.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `element`: Element to be modified after a commit.
    ///
    /// Parameter `value`: Value to be set for the given element.
    ///
    /// Parameter `options`: See IOHIDTransactionOption.
    #[doc(alias = "IOHIDTransactionSetValue")]
    #[inline]
    pub fn set_value(&self, element: &IOHIDElement, value: &IOHIDValue, options: IOOptionBits) {
        extern "C-unwind" {
            fn IOHIDTransactionSetValue(
                transaction: &IOHIDTransaction,
                element: &IOHIDElement,
                value: &IOHIDValue,
                options: IOOptionBits,
            );
        }
        unsafe { IOHIDTransactionSetValue(self, element, value, options) }
    }

    /// Obtains the value for a transaction element.
    ///
    /// If the transaction direction is
    /// kIOHIDTransactionDirectionTypeInput the value represents what
    /// was obtained from the device from the transaction.  Otherwise,
    /// if the transaction direction is
    /// kIOHIDTransactionDirectionTypeOutput the value represents the
    /// pending value to be sent to the device.  Use the
    /// kIOHIDTransactionOptionDefaultOutputValue option to get the
    /// default element value.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be queried.
    ///
    /// Parameter `element`: Element to be queried.
    ///
    /// Parameter `options`: See IOHIDTransactionOption.
    ///
    /// Returns: Returns IOHIDValueRef for the given element.
    #[doc(alias = "IOHIDTransactionGetValue")]
    #[inline]
    pub fn value(
        &self,
        element: &IOHIDElement,
        options: IOOptionBits,
    ) -> Option<CFRetained<IOHIDValue>> {
        extern "C-unwind" {
            fn IOHIDTransactionGetValue(
                transaction: &IOHIDTransaction,
                element: &IOHIDElement,
                options: IOOptionBits,
            ) -> Option<NonNull<IOHIDValue>>;
        }
        let ret = unsafe { IOHIDTransactionGetValue(self, element, options) };
        ret.map(|ret| unsafe { CFRetained::retain(ret) })
    }

    /// Synchronously commits element transaction to the device.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if
    /// unsuccessful.
    #[doc(alias = "IOHIDTransactionCommit")]
    #[inline]
    pub fn commit(&self) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDTransactionCommit(transaction: &IOHIDTransaction) -> IOReturn;
        }
        unsafe { IOHIDTransactionCommit(self) }
    }

    /// Asynchronously commits element transaction to the device.
    ///
    /// It is possible for elements from different reports
    /// to be present in a given transaction causing a commit to
    /// transcend multiple reports. Keep this in mind when setting a
    /// appropriate timeout.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    ///
    /// Parameter `timeout`: Timeout in milliseconds for the transaction.
    ///
    /// Parameter `callback`: Callback of type IOHIDCallback to be used when
    /// transaction has been completed.  If null, this method will
    /// behave synchronously.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if
    /// unsuccessful.
    ///
    /// # Safety
    ///
    /// - `callback` must be implemented correctly.
    /// - `context` must be a valid pointer or null.
    #[doc(alias = "IOHIDTransactionCommitWithCallback")]
    #[inline]
    pub unsafe fn commit_with_callback(
        &self,
        timeout: CFTimeInterval,
        callback: IOHIDCallback,
        context: *mut c_void,
    ) -> IOReturn {
        extern "C-unwind" {
            fn IOHIDTransactionCommitWithCallback(
                transaction: &IOHIDTransaction,
                timeout: CFTimeInterval,
                callback: IOHIDCallback,
                context: *mut c_void,
            ) -> IOReturn;
        }
        unsafe { IOHIDTransactionCommitWithCallback(self, timeout, callback, context) }
    }

    /// Clears element transaction values.
    ///
    /// In regards to kIOHIDTransactionDirectionTypeOutput direction,
    /// default element values will be preserved.
    ///
    /// Parameter `transaction`: IOHIDTransaction object to be modified.
    #[doc(alias = "IOHIDTransactionClear")]
    #[inline]
    pub fn clear(&self) {
        extern "C-unwind" {
            fn IOHIDTransactionClear(transaction: &IOHIDTransaction);
        }
        unsafe { IOHIDTransactionClear(self) }
    }
}

/// The object you use to access HID devices from user space, returned by version 1.5 of the IOHIDFamily.
///
/// The functions listed here will work with any version of the IOHIDDeviceDeviceInterface.
///
/// <b>
/// Note:
/// </b>
/// Please note that methods declared in this interface follow the copy/get/set conventions.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicedeviceinterface?language=objc)
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceDeviceInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub open: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub close: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub getProperty: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *const CFString, *mut *const CFType) -> IOReturn,
    >,
    pub setProperty: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *const CFString, *const CFType) -> IOReturn,
    >,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *const CFType) -> IOReturn>,
    pub copyMatchingElements: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *const CFDictionary,
            *mut *const CFArray,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut IOHIDValue,
            u32,
            IOHIDValueCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub getValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut *mut IOHIDValue,
            u32,
            IOHIDValueCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setInputReportCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut u8,
            CFIndex,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *const u8,
            CFIndex,
            u32,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub getReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut u8,
            *mut CFIndex,
            u32,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDDeviceDeviceInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceDeviceInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFString,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFString,*const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFDictionary,*mut *const CFArray,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut IOHIDValue,u32,IOHIDValueCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut *mut IOHIDValue,u32,IOHIDValueCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut u8,CFIndex,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*const u8,CFIndex,u32,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut u8,*mut CFIndex,u32,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDDeviceDeviceInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// The object you use to access HID devices from user space, returned by version 2.1 of the IOHIDFamily.
///
/// The functions listed here include all of the functions from the IOHIDDeviceDeviceInterface.
///
/// <b>
/// Note:
/// </b>
/// Please note that methods declared in this interface follow the copy/get/set conventions.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicetimestampeddeviceinterface?language=objc)
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceTimeStampedDeviceInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub open: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub close: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    pub getProperty: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *const CFString, *mut *const CFType) -> IOReturn,
    >,
    pub setProperty: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *const CFString, *const CFType) -> IOReturn,
    >,
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *const CFType) -> IOReturn>,
    pub copyMatchingElements: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *const CFDictionary,
            *mut *const CFArray,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut IOHIDValue,
            u32,
            IOHIDValueCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub getValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut *mut IOHIDValue,
            u32,
            IOHIDValueCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setInputReportCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut u8,
            CFIndex,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *const u8,
            CFIndex,
            u32,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub getReport: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDReportType,
            u32,
            *mut u8,
            *mut CFIndex,
            u32,
            IOHIDReportCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    pub setInputReportWithTimeStampCallback: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut u8,
            CFIndex,
            IOHIDReportWithTimeStampCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDDeviceTimeStampedDeviceInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceTimeStampedDeviceInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFString,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFString,*const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*const CFDictionary,*mut *const CFArray,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut IOHIDValue,u32,IOHIDValueCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut *mut IOHIDValue,u32,IOHIDValueCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut u8,CFIndex,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*const u8,CFIndex,u32,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDReportType,u32,*mut u8,*mut CFIndex,u32,IOHIDReportCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut u8,CFIndex,IOHIDReportWithTimeStampCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDDeviceTimeStampedDeviceInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// The object you use to access a HID queue from user space, returned by version 1.5 of the IOHIDFamily.
///
/// The functions listed here will work with any version of the IOHIDDeviceQueueInterface.  This behavior is useful when you
/// need to keep track of all values of an input element, rather than just the most recent one.
/// <br>
/// <b>
/// Note:
/// </b>
/// Absolute element values (based on a fixed origin) will only be placed on a queue if there is a change in value.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicequeueinterface?language=objc)
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceQueueInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    /// Obtains the event source for this IOHIDDeviceQueueInterface instance.
    ///
    /// The returned event source can be of type CFRunLoopSourceRef or CFRunLoopTimerRef.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `pSource`: Pointer to a CFType to return the run loop event source.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *const CFType) -> IOReturn>,
    /// Sets the depth for this IOHIDDeviceQueueInterface instance.
    ///
    /// Regardless of element value size, queue will guarantee n=depth elements will be serviced.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `depth`: The maximum number of elements in the queue before the oldest elements in the queue begin to be lost.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub setDepth: Option<unsafe extern "C-unwind" fn(*mut c_void, u32, IOOptionBits) -> IOReturn>,
    /// Obtains the queue depth for this IOHIDDeviceQueueInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `pDepth`: Pointer to a uint32_t to obtain the number of elements that can be serviced by the queue.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub getDepth: Option<unsafe extern "C-unwind" fn(*mut c_void, *mut u32) -> IOReturn>,
    /// Adds an element to this IOHIDDeviceQueueInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be added to the queue.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub addElement: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDElement, IOOptionBits) -> IOReturn,
    >,
    /// Removes an element from this IOHIDDeviceQueueInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be removed from the queue.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub removeElement: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDElement, IOOptionBits) -> IOReturn,
    >,
    /// Determines whether an element has been added to this IOHIDDeviceQueueInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be be found in the queue.
    ///
    /// Parameter `pValue`: Pointer to a Boolean to return whether or not the element was found in the queue.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub containsElement: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut Boolean,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Starts element value delivery to the queue.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub start: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    /// Stops element value delivery to the queue.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub stop: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
    /// Sets callback to be used when the queue transitions to non-empty.
    ///
    /// In order to make use of asynchronous behavior, the event source obtained using getAsyncEventSource
    /// must be added to a run loop.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `callback`: Callback of type IOHIDCallback to be used when data is placed on the queue.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub setValueAvailableCallback:
        Option<unsafe extern "C-unwind" fn(*mut c_void, IOHIDCallback, *mut c_void) -> IOReturn>,
    /// Dequeues a retained copy of an element value from the head of an IOHIDDeviceQueueInterface.
    ///
    /// Because the value is a retained copy, it is up to the caller to release the value using CFRelease.
    /// Use with setValueCallback to avoid polling the queue for data.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceQueueInterface.
    ///
    /// Parameter `pValue`: Pointer to a IOHIDValueRef to return the value at the head of the queue.
    ///
    /// Parameter `timeout`: Timeout in milliseconds before aborting an attempt to dequeue a value from the head of a queue.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful, kIOReturnUnderrun if data is unavailble, or a kern_return_t if unsuccessful.
    pub copyNextValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut *mut IOHIDValue,
            u32,
            IOOptionBits,
        ) -> IOReturn,
    >,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDDeviceQueueInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceQueueInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,u32,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut u32,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut Boolean,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDCallback,*mut c_void,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *mut IOHIDValue,u32,IOOptionBits,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDDeviceQueueInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// The object you use to access a HID transaction from user space, returned by version 1.5 of the IOHIDFamily.
///
/// The functions listed here will work with any version of the IOHIDDeviceTransactionInterface. This functionality
/// is useful when either setting or getting the values for multiple parsed elements.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohiddevicetransactioninterface?language=objc)
#[repr(C)]
#[allow(unpredictable_function_pointer_comparisons)]
#[derive(Clone, Copy, Debug, PartialEq)]
pub struct IOHIDDeviceTransactionInterface {
    pub(crate) _reserved: *mut c_void,
    pub QueryInterface:
        Option<unsafe extern "C-unwind" fn(*mut c_void, REFIID, *mut LPVOID) -> HRESULT>,
    pub AddRef: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    pub Release: Option<unsafe extern "C-unwind" fn(*mut c_void) -> ULONG>,
    /// Obtains the event source for this IOHIDDeviceTransactionInterface instance.
    ///
    /// The returned event source can be of type CFRunLoopSourceRef or CFRunLoopTimerRef.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `pSource`: Pointer to a CFType to return the run loop event source.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub getAsyncEventSource:
        Option<unsafe extern "C-unwind" fn(*mut c_void, *mut *const CFType) -> IOReturn>,
    /// Sets the direction for this IOHIDDeviceTransactionInterface instance.
    ///
    /// Direction constants are declared in IOHIDTransactionDirectionType.  Changing directions
    /// is useful when dealing with elements of type kIOHIDElementTypeFeature as you use the
    /// transaction to both set and get element values.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `direction`: Transaction direction of type IOHIDTransactionDirectionType.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub setDirection: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            IOHIDTransactionDirectionType,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Obtains the direction for this IOHIDDeviceTransactionInterface instance.
    ///
    /// Direction constants are declared in IOHIDTransactionDirectionType.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `pDirection`: Pointer to a IOHIDTransactionDirectionType to obtain transaction direction.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub getDirection: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDTransactionDirectionType) -> IOReturn,
    >,
    /// Adds an element to this IOHIDDeviceTransactionInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be added to the transaction.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub addElement: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDElement, IOOptionBits) -> IOReturn,
    >,
    /// Removes an element from this IOHIDDeviceTransactionInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be removed from the transaction.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub removeElement: Option<
        unsafe extern "C-unwind" fn(*mut c_void, *mut IOHIDElement, IOOptionBits) -> IOReturn,
    >,
    /// Checks whether an element has been added to this IOHIDDeviceTransactionInterface instance.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element to be be found in the transaction.
    ///
    /// Parameter `pValue`: Pointer to a Boolean to return whether or not the element was found in the transaction.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub containsElement: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut Boolean,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Sets the transaction value for an element in this IOHIDDeviceTransactionInterface instance.
    ///
    /// This method is intended for use with transaction of direction kIOHIDTransactionDirectionTypeOutput.
    /// Use the kIOHIDTransactionOptionDefaultOutputValue option to set the default element value.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element of interest.
    ///
    /// Parameter `value`: IOHIDValueRef referencing element value to be used in the transaction.
    ///
    /// Parameter `options`: See IOHIDTransactionOption.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub setValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut IOHIDValue,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Obtains the transaction value for an element in this IOHIDDeviceTransactionInterface instance.
    ///
    /// Use the kIOHIDTransactionOptionDefaultOutputValue option to get the default element value.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `element`: IOHIDElementRef referencing the element of interest.
    ///
    /// Parameter `pValue`: Pointer to an IOHIDValueRef to return the element value of the transaction.
    ///
    /// Parameter `options`: See IOHIDTransactionOption.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub getValue: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            *mut IOHIDElement,
            *mut *mut IOHIDValue,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Commits element transaction to an IOHIDDevice in this IOHIDDeviceTransactionInterface instance.
    ///
    /// In regards to kIOHIDTransactionDirectionTypeOutput direction, default element values will be used if
    /// element values are not set.  If neither are set, that element will be omitted from the commit. After
    /// a transaction is committed, transaction element values will be cleared and default values preserved.
    /// <br>
    /// <b>
    /// Note:
    /// </b>
    /// It is possible for elements from different reports to be present in a given transaction
    /// causing a commit to transcend multiple reports. Keep this in mind when setting a timeout.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `timeout`: Timeout in milliseconds for issuing the transaction.
    ///
    /// Parameter `callback`: Callback of type IOHIDCallback to be used when transaction has been completed.  If null,
    /// this method will behave synchronously.
    ///
    /// Parameter `context`: Pointer to data to be passed to the callback.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub commit: Option<
        unsafe extern "C-unwind" fn(
            *mut c_void,
            u32,
            IOHIDCallback,
            *mut c_void,
            IOOptionBits,
        ) -> IOReturn,
    >,
    /// Clears element transaction values for an IOHIDDeviceTransactionInterface.
    ///
    /// In regards to kIOHIDTransactionDirectionTypeOutput direction, default element values will be preserved.
    ///
    /// Parameter `self`: Pointer to the IOHIDDeviceTransactionInterface.
    ///
    /// Parameter `options`: Reserved for future use. Ignored in current implementation. Set to zero.
    ///
    /// Returns: Returns kIOReturnSuccess if successful or a kern_return_t if unsuccessful.
    pub clear: Option<unsafe extern "C-unwind" fn(*mut c_void, IOOptionBits) -> IOReturn>,
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDDeviceTransactionInterface {
    const ENCODING: Encoding = Encoding::Struct("IOHIDDeviceTransactionInterface", &[
        <*mut c_void>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,REFIID,*mut LPVOID,) -> HRESULT>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,) -> ULONG>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut *const CFType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOHIDTransactionDirectionType,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDTransactionDirectionType,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut Boolean,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut IOHIDValue,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,*mut IOHIDElement,*mut *mut IOHIDValue,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,u32,IOHIDCallback,*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
        <Option<unsafe extern "C-unwind" fn(*mut c_void,IOOptionBits,) -> IOReturn>>::ENCODING,
    ]);
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDDeviceTransactionInterface {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Keyboard event options passed in to dispatchKeyboardEvent function in
/// IOHIDEventService.
///
/// Field: kIOHIDKeyboardEventOptionsNoKeyRepeat
/// Default behavior for keyboard events is to repeat keys if the key has been
/// held down for a certain amount of time defined in system preferences. Pass
/// in this option to not apply key repeat logic to this event.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidkeyboardeventoptions?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDKeyboardEventOptions(pub c_uint);
impl IOHIDKeyboardEventOptions {
    #[doc(alias = "kIOHIDKeyboardEventOptionsNoKeyRepeat")]
    pub const NoKeyRepeat: Self = Self(1 << 8);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDKeyboardEventOptions {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDKeyboardEventOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Pointer event options passed in to dispatch(Relative/Absolute)PointerEvent
/// function in IOHIDEventService.
///
/// Field: kIOHIDPointerEventOptionsNoAcceleration
/// Pointer events are subject to an acceleration algorithm. Pass in this option
/// if you do not wish to have acceleration logic applied to the pointer event.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidpointereventoptions?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDPointerEventOptions(pub c_uint);
impl IOHIDPointerEventOptions {
    #[doc(alias = "kIOHIDPointerEventOptionsNoAcceleration")]
    pub const NoAcceleration: Self = Self(1 << 8);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDPointerEventOptions {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDPointerEventOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// Scroll event options passed in to dispatchScrollEvent function in
/// IOHIDEventService.
///
/// Field: kIOHIDScrollEventOptionsNoAcceleration
/// Scroll events are subject to an acceleration algorithm. Pass in this option
/// if you do not wish to have acceleration logic applied to the scroll event.
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidscrolleventoptions?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDScrollEventOptions(pub c_uint);
impl IOHIDScrollEventOptions {
    #[doc(alias = "kIOHIDScrollEventOptionsNoAcceleration")]
    pub const NoAcceleration: Self = Self(1 << 8);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDScrollEventOptions {
    const ENCODING: Encoding = c_uint::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDScrollEventOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

/// List of control options  for sensor controls in HID event system
///
/// Options define behavior of HID event system for handling kIOHIDServiceReportIntervalKey
/// &
/// kIOHIDServiceBatchIntervalKey and associated event dispatch to kIOHIDEventSystemClientTypeRateControlled clients
///
/// See also [Apple's documentation](https://developer.apple.com/documentation/iokit/iohidservicesensorcontroloptions?language=objc)
#[repr(transparent)]
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
pub struct IOHIDServiceSensorControlOptions(pub u32);
impl IOHIDServiceSensorControlOptions {
    #[doc(alias = "kIOHIDServiceSensorControlDecimation")]
    pub const Decimation: Self = Self(0x1 << 0);
    #[doc(alias = "kIOHIDServiceSensorControlAggregation")]
    pub const Aggregation: Self = Self(0x1 << 1);
    #[doc(alias = "kIOHIDServiceSensorControlDispatchControl")]
    pub const DispatchControl: Self = Self(0x1 << 2);
}

#[cfg(feature = "objc2")]
unsafe impl Encode for IOHIDServiceSensorControlOptions {
    const ENCODING: Encoding = u32::ENCODING;
}

#[cfg(feature = "objc2")]
unsafe impl RefEncode for IOHIDServiceSensorControlOptions {
    const ENCODING_REF: Encoding = Encoding::Pointer(&Self::ENCODING);
}

#[deprecated = "renamed to `IOHIDQueue::new`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueCreate(
    allocator: Option<&CFAllocator>,
    device: &IOHIDDevice,
    depth: CFIndex,
    options: IOOptionBits,
) -> Option<CFRetained<IOHIDQueue>> {
    extern "C-unwind" {
        fn IOHIDQueueCreate(
            allocator: Option<&CFAllocator>,
            device: &IOHIDDevice,
            depth: CFIndex,
            options: IOOptionBits,
        ) -> Option<NonNull<IOHIDQueue>>;
    }
    let ret = unsafe { IOHIDQueueCreate(allocator, device, depth, options) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDQueue::device`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueGetDevice(queue: &IOHIDQueue) -> CFRetained<IOHIDDevice> {
    extern "C-unwind" {
        fn IOHIDQueueGetDevice(queue: &IOHIDQueue) -> Option<NonNull<IOHIDDevice>>;
    }
    let ret = unsafe { IOHIDQueueGetDevice(queue) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::retain(ret) }
}

#[deprecated = "renamed to `IOHIDQueue::depth`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueGetDepth(queue: &IOHIDQueue) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDQueueGetDepth(queue: &IOHIDQueue) -> CFIndex;
    }
    unsafe { IOHIDQueueGetDepth(queue) }
}

#[deprecated = "renamed to `IOHIDQueue::set_depth`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueSetDepth(queue: &IOHIDQueue, depth: CFIndex) {
    extern "C-unwind" {
        fn IOHIDQueueSetDepth(queue: &IOHIDQueue, depth: CFIndex);
    }
    unsafe { IOHIDQueueSetDepth(queue, depth) }
}

#[deprecated = "renamed to `IOHIDQueue::add_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueAddElement(queue: &IOHIDQueue, element: &IOHIDElement) {
    extern "C-unwind" {
        fn IOHIDQueueAddElement(queue: &IOHIDQueue, element: &IOHIDElement);
    }
    unsafe { IOHIDQueueAddElement(queue, element) }
}

#[deprecated = "renamed to `IOHIDQueue::remove_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueRemoveElement(queue: &IOHIDQueue, element: &IOHIDElement) {
    extern "C-unwind" {
        fn IOHIDQueueRemoveElement(queue: &IOHIDQueue, element: &IOHIDElement);
    }
    unsafe { IOHIDQueueRemoveElement(queue, element) }
}

#[deprecated = "renamed to `IOHIDQueue::contains_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueContainsElement(
    queue: &IOHIDQueue,
    element: &IOHIDElement,
) -> bool {
    extern "C-unwind" {
        fn IOHIDQueueContainsElement(queue: &IOHIDQueue, element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDQueueContainsElement(queue, element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDQueue::start`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueStart(queue: &IOHIDQueue) {
    extern "C-unwind" {
        fn IOHIDQueueStart(queue: &IOHIDQueue);
    }
    unsafe { IOHIDQueueStart(queue) }
}

#[deprecated = "renamed to `IOHIDQueue::stop`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueStop(queue: &IOHIDQueue) {
    extern "C-unwind" {
        fn IOHIDQueueStop(queue: &IOHIDQueue);
    }
    unsafe { IOHIDQueueStop(queue) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDQueue::schedule_with_run_loop`"]
    pub fn IOHIDQueueScheduleWithRunLoop(
        queue: &IOHIDQueue,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDQueue::unschedule_from_run_loop`"]
    pub fn IOHIDQueueUnscheduleFromRunLoop(
        queue: &IOHIDQueue,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDQueue::set_dispatch_queue`"]
    pub fn IOHIDQueueSetDispatchQueue(queue: &IOHIDQueue, dispatch_queue: &DispatchQueue);
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDQueue::set_cancel_handler`"]
    pub fn IOHIDQueueSetCancelHandler(queue: &IOHIDQueue, handler: dispatch_block_t);
}

#[deprecated = "renamed to `IOHIDQueue::activate`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueActivate(queue: &IOHIDQueue) {
    extern "C-unwind" {
        fn IOHIDQueueActivate(queue: &IOHIDQueue);
    }
    unsafe { IOHIDQueueActivate(queue) }
}

#[deprecated = "renamed to `IOHIDQueue::cancel`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueCancel(queue: &IOHIDQueue) {
    extern "C-unwind" {
        fn IOHIDQueueCancel(queue: &IOHIDQueue);
    }
    unsafe { IOHIDQueueCancel(queue) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDQueue::register_value_available_callback`"]
    pub fn IOHIDQueueRegisterValueAvailableCallback(
        queue: &IOHIDQueue,
        callback: IOHIDCallback,
        context: *mut c_void,
    );
}

#[deprecated = "renamed to `IOHIDQueue::next_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueCopyNextValue(
    queue: &IOHIDQueue,
) -> Option<CFRetained<IOHIDValue>> {
    extern "C-unwind" {
        fn IOHIDQueueCopyNextValue(queue: &IOHIDQueue) -> Option<NonNull<IOHIDValue>>;
    }
    let ret = unsafe { IOHIDQueueCopyNextValue(queue) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDQueue::next_value_with_timeout`"]
#[inline]
pub extern "C-unwind" fn IOHIDQueueCopyNextValueWithTimeout(
    queue: &IOHIDQueue,
    timeout: CFTimeInterval,
) -> Option<CFRetained<IOHIDValue>> {
    extern "C-unwind" {
        fn IOHIDQueueCopyNextValueWithTimeout(
            queue: &IOHIDQueue,
            timeout: CFTimeInterval,
        ) -> Option<NonNull<IOHIDValue>>;
    }
    let ret = unsafe { IOHIDQueueCopyNextValueWithTimeout(queue, timeout) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[cfg(feature = "libc")]
#[deprecated = "renamed to `IOHIDDevice::new`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceCreate(
    allocator: Option<&CFAllocator>,
    service: io_service_t,
) -> Option<CFRetained<IOHIDDevice>> {
    extern "C-unwind" {
        fn IOHIDDeviceCreate(
            allocator: Option<&CFAllocator>,
            service: io_service_t,
        ) -> Option<NonNull<IOHIDDevice>>;
    }
    let ret = unsafe { IOHIDDeviceCreate(allocator, service) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[cfg(feature = "libc")]
#[deprecated = "renamed to `IOHIDDevice::service`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceGetService(device: &IOHIDDevice) -> io_service_t {
    extern "C-unwind" {
        fn IOHIDDeviceGetService(device: &IOHIDDevice) -> io_service_t;
    }
    unsafe { IOHIDDeviceGetService(device) }
}

#[deprecated = "renamed to `IOHIDDevice::open`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceOpen(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDDeviceOpen(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn;
    }
    unsafe { IOHIDDeviceOpen(device, options) }
}

#[deprecated = "renamed to `IOHIDDevice::close`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceClose(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDDeviceClose(device: &IOHIDDevice, options: IOOptionBits) -> IOReturn;
    }
    unsafe { IOHIDDeviceClose(device, options) }
}

#[deprecated = "renamed to `IOHIDDevice::conforms_to`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceConformsTo(
    device: &IOHIDDevice,
    usage_page: u32,
    usage: u32,
) -> bool {
    extern "C-unwind" {
        fn IOHIDDeviceConformsTo(device: &IOHIDDevice, usage_page: u32, usage: u32) -> Boolean;
    }
    let ret = unsafe { IOHIDDeviceConformsTo(device, usage_page, usage) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDDevice::property`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceGetProperty(
    device: &IOHIDDevice,
    key: &CFString,
) -> Option<CFRetained<CFType>> {
    extern "C-unwind" {
        fn IOHIDDeviceGetProperty(device: &IOHIDDevice, key: &CFString) -> Option<NonNull<CFType>>;
    }
    let ret = unsafe { IOHIDDeviceGetProperty(device, key) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDDevice::set_property`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDDeviceSetProperty(
    device: &IOHIDDevice,
    key: &CFString,
    property: &CFType,
) -> bool {
    extern "C-unwind" {
        fn IOHIDDeviceSetProperty(
            device: &IOHIDDevice,
            key: &CFString,
            property: &CFType,
        ) -> Boolean;
    }
    let ret = unsafe { IOHIDDeviceSetProperty(device, key, property) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDDevice::matching_elements`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDDeviceCopyMatchingElements(
    device: &IOHIDDevice,
    matching: Option<&CFDictionary>,
    options: IOOptionBits,
) -> Option<CFRetained<CFArray>> {
    extern "C-unwind" {
        fn IOHIDDeviceCopyMatchingElements(
            device: &IOHIDDevice,
            matching: Option<&CFDictionary>,
            options: IOOptionBits,
        ) -> Option<NonNull<CFArray>>;
    }
    let ret = unsafe { IOHIDDeviceCopyMatchingElements(device, matching, options) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::schedule_with_run_loop`"]
    pub fn IOHIDDeviceScheduleWithRunLoop(
        device: &IOHIDDevice,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::unschedule_from_run_loop`"]
    pub fn IOHIDDeviceUnscheduleFromRunLoop(
        device: &IOHIDDevice,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDDevice::set_dispatch_queue`"]
    pub fn IOHIDDeviceSetDispatchQueue(device: &IOHIDDevice, queue: &DispatchQueue);
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDDevice::set_cancel_handler`"]
    pub fn IOHIDDeviceSetCancelHandler(device: &IOHIDDevice, handler: dispatch_block_t);
}

#[deprecated = "renamed to `IOHIDDevice::activate`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceActivate(device: &IOHIDDevice) {
    extern "C-unwind" {
        fn IOHIDDeviceActivate(device: &IOHIDDevice);
    }
    unsafe { IOHIDDeviceActivate(device) }
}

#[deprecated = "renamed to `IOHIDDevice::cancel`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceCancel(device: &IOHIDDevice) {
    extern "C-unwind" {
        fn IOHIDDeviceCancel(device: &IOHIDDevice);
    }
    unsafe { IOHIDDeviceCancel(device) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::register_removal_callback`"]
    pub fn IOHIDDeviceRegisterRemovalCallback(
        device: &IOHIDDevice,
        callback: IOHIDCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::register_input_value_callback`"]
    pub fn IOHIDDeviceRegisterInputValueCallback(
        device: &IOHIDDevice,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::register_input_report_callback`"]
    pub fn IOHIDDeviceRegisterInputReportCallback(
        device: &IOHIDDevice,
        report: NonNull<u8>,
        report_length: CFIndex,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::register_input_report_with_time_stamp_callback`"]
    pub fn IOHIDDeviceRegisterInputReportWithTimeStampCallback(
        device: &IOHIDDevice,
        report: NonNull<u8>,
        report_length: CFIndex,
        callback: IOHIDReportWithTimeStampCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_input_value_matching`"]
    pub fn IOHIDDeviceSetInputValueMatching(device: &IOHIDDevice, matching: Option<&CFDictionary>);
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_input_value_matching_multiple`"]
    pub fn IOHIDDeviceSetInputValueMatchingMultiple(
        device: &IOHIDDevice,
        multiple: Option<&CFArray>,
    );
}

#[deprecated = "renamed to `IOHIDDevice::set_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDDeviceSetValue(
    device: &IOHIDDevice,
    element: &IOHIDElement,
    value: &IOHIDValue,
) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDDeviceSetValue(
            device: &IOHIDDevice,
            element: &IOHIDElement,
            value: &IOHIDValue,
        ) -> IOReturn;
    }
    unsafe { IOHIDDeviceSetValue(device, element, value) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_value_multiple`"]
    pub fn IOHIDDeviceSetValueMultiple(device: &IOHIDDevice, multiple: &CFDictionary) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_value_with_callback`"]
    pub fn IOHIDDeviceSetValueWithCallback(
        device: &IOHIDDevice,
        element: &IOHIDElement,
        value: &IOHIDValue,
        timeout: CFTimeInterval,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_value_multiple_with_callback`"]
    pub fn IOHIDDeviceSetValueMultipleWithCallback(
        device: &IOHIDDevice,
        multiple: &CFDictionary,
        timeout: CFTimeInterval,
        callback: IOHIDValueMultipleCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::value`"]
    pub fn IOHIDDeviceGetValue(
        device: &IOHIDDevice,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::value_with_options`"]
    pub fn IOHIDDeviceGetValueWithOptions(
        device: &IOHIDDevice,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
        options: u32,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::copy_value_multiple`"]
    pub fn IOHIDDeviceCopyValueMultiple(
        device: &IOHIDDevice,
        elements: &CFArray,
        p_multiple: *mut *const CFDictionary,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::value_with_callback`"]
    pub fn IOHIDDeviceGetValueWithCallback(
        device: &IOHIDDevice,
        element: &IOHIDElement,
        p_value: NonNull<NonNull<IOHIDValue>>,
        timeout: CFTimeInterval,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::copy_value_multiple_with_callback`"]
    pub fn IOHIDDeviceCopyValueMultipleWithCallback(
        device: &IOHIDDevice,
        elements: &CFArray,
        p_multiple: *mut *const CFDictionary,
        timeout: CFTimeInterval,
        callback: IOHIDValueMultipleCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_report`"]
    pub fn IOHIDDeviceSetReport(
        device: &IOHIDDevice,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        report_length: CFIndex,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::set_report_with_callback`"]
    pub fn IOHIDDeviceSetReportWithCallback(
        device: &IOHIDDevice,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        report_length: CFIndex,
        timeout: CFTimeInterval,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::report`"]
    pub fn IOHIDDeviceGetReport(
        device: &IOHIDDevice,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        p_report_length: NonNull<CFIndex>,
    ) -> IOReturn;
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDDevice::report_with_callback`"]
    pub fn IOHIDDeviceGetReportWithCallback(
        device: &IOHIDDevice,
        report_type: IOHIDReportType,
        report_id: CFIndex,
        report: NonNull<u8>,
        p_report_length: NonNull<CFIndex>,
        timeout: CFTimeInterval,
        callback: IOHIDReportCallback,
        context: NonNull<c_void>,
    ) -> IOReturn;
}

#[deprecated = "renamed to `IOHIDElement::with_dictionary`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDElementCreateWithDictionary(
    allocator: Option<&CFAllocator>,
    dictionary: &CFDictionary,
) -> CFRetained<IOHIDElement> {
    extern "C-unwind" {
        fn IOHIDElementCreateWithDictionary(
            allocator: Option<&CFAllocator>,
            dictionary: &CFDictionary,
        ) -> Option<NonNull<IOHIDElement>>;
    }
    let ret = unsafe { IOHIDElementCreateWithDictionary(allocator, dictionary) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::from_raw(ret) }
}

#[deprecated = "renamed to `IOHIDElement::device`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetDevice(element: &IOHIDElement) -> CFRetained<IOHIDDevice> {
    extern "C-unwind" {
        fn IOHIDElementGetDevice(element: &IOHIDElement) -> Option<NonNull<IOHIDDevice>>;
    }
    let ret = unsafe { IOHIDElementGetDevice(element) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::retain(ret) }
}

#[deprecated = "renamed to `IOHIDElement::parent`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetParent(
    element: &IOHIDElement,
) -> Option<CFRetained<IOHIDElement>> {
    extern "C-unwind" {
        fn IOHIDElementGetParent(element: &IOHIDElement) -> Option<NonNull<IOHIDElement>>;
    }
    let ret = unsafe { IOHIDElementGetParent(element) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDElement::children`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetChildren(
    element: &IOHIDElement,
) -> Option<CFRetained<CFArray>> {
    extern "C-unwind" {
        fn IOHIDElementGetChildren(element: &IOHIDElement) -> Option<NonNull<CFArray>>;
    }
    let ret = unsafe { IOHIDElementGetChildren(element) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDElement::attach`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementAttach(element: &IOHIDElement, to_attach: &IOHIDElement) {
    extern "C-unwind" {
        fn IOHIDElementAttach(element: &IOHIDElement, to_attach: &IOHIDElement);
    }
    unsafe { IOHIDElementAttach(element, to_attach) }
}

#[deprecated = "renamed to `IOHIDElement::detach`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementDetach(element: &IOHIDElement, to_detach: &IOHIDElement) {
    extern "C-unwind" {
        fn IOHIDElementDetach(element: &IOHIDElement, to_detach: &IOHIDElement);
    }
    unsafe { IOHIDElementDetach(element, to_detach) }
}

#[deprecated = "renamed to `IOHIDElement::attached`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementCopyAttached(
    element: &IOHIDElement,
) -> Option<CFRetained<CFArray>> {
    extern "C-unwind" {
        fn IOHIDElementCopyAttached(element: &IOHIDElement) -> Option<NonNull<CFArray>>;
    }
    let ret = unsafe { IOHIDElementCopyAttached(element) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDElement::cookie`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetCookie(element: &IOHIDElement) -> IOHIDElementCookie {
    extern "C-unwind" {
        fn IOHIDElementGetCookie(element: &IOHIDElement) -> IOHIDElementCookie;
    }
    unsafe { IOHIDElementGetCookie(element) }
}

#[deprecated = "renamed to `IOHIDElement::type`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetType(element: &IOHIDElement) -> IOHIDElementType {
    extern "C-unwind" {
        fn IOHIDElementGetType(element: &IOHIDElement) -> IOHIDElementType;
    }
    unsafe { IOHIDElementGetType(element) }
}

#[deprecated = "renamed to `IOHIDElement::collection_type`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetCollectionType(
    element: &IOHIDElement,
) -> IOHIDElementCollectionType {
    extern "C-unwind" {
        fn IOHIDElementGetCollectionType(element: &IOHIDElement) -> IOHIDElementCollectionType;
    }
    unsafe { IOHIDElementGetCollectionType(element) }
}

#[deprecated = "renamed to `IOHIDElement::usage_page`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetUsagePage(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetUsagePage(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetUsagePage(element) }
}

#[deprecated = "renamed to `IOHIDElement::usage`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetUsage(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetUsage(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetUsage(element) }
}

#[deprecated = "renamed to `IOHIDElement::is_virtual`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementIsVirtual(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementIsVirtual(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementIsVirtual(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::is_relative`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementIsRelative(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementIsRelative(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementIsRelative(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::is_wrapping`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementIsWrapping(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementIsWrapping(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementIsWrapping(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::is_array`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementIsArray(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementIsArray(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementIsArray(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::is_non_linear`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementIsNonLinear(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementIsNonLinear(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementIsNonLinear(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::has_preferred_state`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementHasPreferredState(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementHasPreferredState(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementHasPreferredState(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::has_null_state`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementHasNullState(element: &IOHIDElement) -> bool {
    extern "C-unwind" {
        fn IOHIDElementHasNullState(element: &IOHIDElement) -> Boolean;
    }
    let ret = unsafe { IOHIDElementHasNullState(element) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDElement::name`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetName(element: &IOHIDElement) -> CFRetained<CFString> {
    extern "C-unwind" {
        fn IOHIDElementGetName(element: &IOHIDElement) -> Option<NonNull<CFString>>;
    }
    let ret = unsafe { IOHIDElementGetName(element) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::retain(ret) }
}

#[deprecated = "renamed to `IOHIDElement::report_id`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetReportID(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetReportID(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetReportID(element) }
}

#[deprecated = "renamed to `IOHIDElement::report_size`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetReportSize(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetReportSize(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetReportSize(element) }
}

#[deprecated = "renamed to `IOHIDElement::report_count`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetReportCount(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetReportCount(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetReportCount(element) }
}

#[deprecated = "renamed to `IOHIDElement::unit`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetUnit(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetUnit(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetUnit(element) }
}

#[deprecated = "renamed to `IOHIDElement::unit_exponent`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetUnitExponent(element: &IOHIDElement) -> u32 {
    extern "C-unwind" {
        fn IOHIDElementGetUnitExponent(element: &IOHIDElement) -> u32;
    }
    unsafe { IOHIDElementGetUnitExponent(element) }
}

#[deprecated = "renamed to `IOHIDElement::logical_min`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetLogicalMin(element: &IOHIDElement) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDElementGetLogicalMin(element: &IOHIDElement) -> CFIndex;
    }
    unsafe { IOHIDElementGetLogicalMin(element) }
}

#[deprecated = "renamed to `IOHIDElement::logical_max`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetLogicalMax(element: &IOHIDElement) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDElementGetLogicalMax(element: &IOHIDElement) -> CFIndex;
    }
    unsafe { IOHIDElementGetLogicalMax(element) }
}

#[deprecated = "renamed to `IOHIDElement::physical_min`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetPhysicalMin(element: &IOHIDElement) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDElementGetPhysicalMin(element: &IOHIDElement) -> CFIndex;
    }
    unsafe { IOHIDElementGetPhysicalMin(element) }
}

#[deprecated = "renamed to `IOHIDElement::physical_max`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetPhysicalMax(element: &IOHIDElement) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDElementGetPhysicalMax(element: &IOHIDElement) -> CFIndex;
    }
    unsafe { IOHIDElementGetPhysicalMax(element) }
}

#[deprecated = "renamed to `IOHIDElement::property`"]
#[inline]
pub extern "C-unwind" fn IOHIDElementGetProperty(
    element: &IOHIDElement,
    key: &CFString,
) -> Option<CFRetained<CFType>> {
    extern "C-unwind" {
        fn IOHIDElementGetProperty(
            element: &IOHIDElement,
            key: &CFString,
        ) -> Option<NonNull<CFType>>;
    }
    let ret = unsafe { IOHIDElementGetProperty(element, key) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDElement::set_property`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDElementSetProperty(
    element: &IOHIDElement,
    key: &CFString,
    property: &CFType,
) -> bool {
    extern "C-unwind" {
        fn IOHIDElementSetProperty(
            element: &IOHIDElement,
            key: &CFString,
            property: &CFType,
        ) -> Boolean;
    }
    let ret = unsafe { IOHIDElementSetProperty(element, key, property) };
    ret != 0
}

#[deprecated = "renamed to `IOHIDManager::new`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerCreate(
    allocator: Option<&CFAllocator>,
    options: IOOptionBits,
) -> CFRetained<IOHIDManager> {
    extern "C-unwind" {
        fn IOHIDManagerCreate(
            allocator: Option<&CFAllocator>,
            options: IOOptionBits,
        ) -> Option<NonNull<IOHIDManager>>;
    }
    let ret = unsafe { IOHIDManagerCreate(allocator, options) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::from_raw(ret) }
}

#[deprecated = "renamed to `IOHIDManager::open`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerOpen(
    manager: &IOHIDManager,
    options: IOOptionBits,
) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDManagerOpen(manager: &IOHIDManager, options: IOOptionBits) -> IOReturn;
    }
    unsafe { IOHIDManagerOpen(manager, options) }
}

#[deprecated = "renamed to `IOHIDManager::close`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerClose(
    manager: &IOHIDManager,
    options: IOOptionBits,
) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDManagerClose(manager: &IOHIDManager, options: IOOptionBits) -> IOReturn;
    }
    unsafe { IOHIDManagerClose(manager, options) }
}

#[deprecated = "renamed to `IOHIDManager::property`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerGetProperty(
    manager: &IOHIDManager,
    key: &CFString,
) -> Option<CFRetained<CFType>> {
    extern "C-unwind" {
        fn IOHIDManagerGetProperty(
            manager: &IOHIDManager,
            key: &CFString,
        ) -> Option<NonNull<CFType>>;
    }
    let ret = unsafe { IOHIDManagerGetProperty(manager, key) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDManager::set_property`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDManagerSetProperty(
    manager: &IOHIDManager,
    key: &CFString,
    value: &CFType,
) -> bool {
    extern "C-unwind" {
        fn IOHIDManagerSetProperty(
            manager: &IOHIDManager,
            key: &CFString,
            value: &CFType,
        ) -> Boolean;
    }
    let ret = unsafe { IOHIDManagerSetProperty(manager, key, value) };
    ret != 0
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::schedule_with_run_loop`"]
    pub fn IOHIDManagerScheduleWithRunLoop(
        manager: &IOHIDManager,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::unschedule_from_run_loop`"]
    pub fn IOHIDManagerUnscheduleFromRunLoop(
        manager: &IOHIDManager,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDManager::set_dispatch_queue`"]
    pub fn IOHIDManagerSetDispatchQueue(manager: &IOHIDManager, queue: &DispatchQueue);
}

extern "C-unwind" {
    #[cfg(feature = "dispatch2")]
    #[deprecated = "renamed to `IOHIDManager::set_cancel_handler`"]
    pub fn IOHIDManagerSetCancelHandler(manager: &IOHIDManager, handler: dispatch_block_t);
}

#[deprecated = "renamed to `IOHIDManager::activate`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerActivate(manager: &IOHIDManager) {
    extern "C-unwind" {
        fn IOHIDManagerActivate(manager: &IOHIDManager);
    }
    unsafe { IOHIDManagerActivate(manager) }
}

#[deprecated = "renamed to `IOHIDManager::cancel`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerCancel(manager: &IOHIDManager) {
    extern "C-unwind" {
        fn IOHIDManagerCancel(manager: &IOHIDManager);
    }
    unsafe { IOHIDManagerCancel(manager) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::set_device_matching`"]
    pub fn IOHIDManagerSetDeviceMatching(manager: &IOHIDManager, matching: Option<&CFDictionary>);
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::set_device_matching_multiple`"]
    pub fn IOHIDManagerSetDeviceMatchingMultiple(
        manager: &IOHIDManager,
        multiple: Option<&CFArray>,
    );
}

#[deprecated = "renamed to `IOHIDManager::devices`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerCopyDevices(
    manager: &IOHIDManager,
) -> Option<CFRetained<CFSet>> {
    extern "C-unwind" {
        fn IOHIDManagerCopyDevices(manager: &IOHIDManager) -> Option<NonNull<CFSet>>;
    }
    let ret = unsafe { IOHIDManagerCopyDevices(manager) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::register_device_matching_callback`"]
    pub fn IOHIDManagerRegisterDeviceMatchingCallback(
        manager: &IOHIDManager,
        callback: IOHIDDeviceCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::register_device_removal_callback`"]
    pub fn IOHIDManagerRegisterDeviceRemovalCallback(
        manager: &IOHIDManager,
        callback: IOHIDDeviceCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::register_input_report_callback`"]
    pub fn IOHIDManagerRegisterInputReportCallback(
        manager: &IOHIDManager,
        callback: IOHIDReportCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::register_input_report_with_time_stamp_callback`"]
    pub fn IOHIDManagerRegisterInputReportWithTimeStampCallback(
        manager: &IOHIDManager,
        callback: IOHIDReportWithTimeStampCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::register_input_value_callback`"]
    pub fn IOHIDManagerRegisterInputValueCallback(
        manager: &IOHIDManager,
        callback: IOHIDValueCallback,
        context: *mut c_void,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::set_input_value_matching`"]
    pub fn IOHIDManagerSetInputValueMatching(
        manager: &IOHIDManager,
        matching: Option<&CFDictionary>,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDManager::set_input_value_matching_multiple`"]
    pub fn IOHIDManagerSetInputValueMatchingMultiple(
        manager: &IOHIDManager,
        multiple: Option<&CFArray>,
    );
}

#[deprecated = "renamed to `IOHIDManager::save_to_property_domain`"]
#[inline]
pub extern "C-unwind" fn IOHIDManagerSaveToPropertyDomain(
    manager: &IOHIDManager,
    application_id: &CFString,
    user_name: &CFString,
    host_name: &CFString,
    options: IOOptionBits,
) {
    extern "C-unwind" {
        fn IOHIDManagerSaveToPropertyDomain(
            manager: &IOHIDManager,
            application_id: &CFString,
            user_name: &CFString,
            host_name: &CFString,
            options: IOOptionBits,
        );
    }
    unsafe {
        IOHIDManagerSaveToPropertyDomain(manager, application_id, user_name, host_name, options)
    }
}

#[deprecated = "renamed to `IOHIDValue::with_integer_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueCreateWithIntegerValue(
    allocator: Option<&CFAllocator>,
    element: &IOHIDElement,
    time_stamp: u64,
    value: CFIndex,
) -> CFRetained<IOHIDValue> {
    extern "C-unwind" {
        fn IOHIDValueCreateWithIntegerValue(
            allocator: Option<&CFAllocator>,
            element: &IOHIDElement,
            time_stamp: u64,
            value: CFIndex,
        ) -> Option<NonNull<IOHIDValue>>;
    }
    let ret = unsafe { IOHIDValueCreateWithIntegerValue(allocator, element, time_stamp, value) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::from_raw(ret) }
}

#[deprecated = "renamed to `IOHIDValue::with_bytes`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDValueCreateWithBytes(
    allocator: Option<&CFAllocator>,
    element: &IOHIDElement,
    time_stamp: u64,
    bytes: NonNull<u8>,
    length: CFIndex,
) -> Option<CFRetained<IOHIDValue>> {
    extern "C-unwind" {
        fn IOHIDValueCreateWithBytes(
            allocator: Option<&CFAllocator>,
            element: &IOHIDElement,
            time_stamp: u64,
            bytes: NonNull<u8>,
            length: CFIndex,
        ) -> Option<NonNull<IOHIDValue>>;
    }
    let ret = unsafe { IOHIDValueCreateWithBytes(allocator, element, time_stamp, bytes, length) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDValue::with_bytes_no_copy`"]
#[inline]
pub unsafe extern "C-unwind" fn IOHIDValueCreateWithBytesNoCopy(
    allocator: Option<&CFAllocator>,
    element: &IOHIDElement,
    time_stamp: u64,
    bytes: NonNull<u8>,
    length: CFIndex,
) -> Option<CFRetained<IOHIDValue>> {
    extern "C-unwind" {
        fn IOHIDValueCreateWithBytesNoCopy(
            allocator: Option<&CFAllocator>,
            element: &IOHIDElement,
            time_stamp: u64,
            bytes: NonNull<u8>,
            length: CFIndex,
        ) -> Option<NonNull<IOHIDValue>>;
    }
    let ret =
        unsafe { IOHIDValueCreateWithBytesNoCopy(allocator, element, time_stamp, bytes, length) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDValue::element`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetElement(value: &IOHIDValue) -> CFRetained<IOHIDElement> {
    extern "C-unwind" {
        fn IOHIDValueGetElement(value: &IOHIDValue) -> Option<NonNull<IOHIDElement>>;
    }
    let ret = unsafe { IOHIDValueGetElement(value) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::retain(ret) }
}

#[deprecated = "renamed to `IOHIDValue::time_stamp`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetTimeStamp(value: &IOHIDValue) -> u64 {
    extern "C-unwind" {
        fn IOHIDValueGetTimeStamp(value: &IOHIDValue) -> u64;
    }
    unsafe { IOHIDValueGetTimeStamp(value) }
}

#[deprecated = "renamed to `IOHIDValue::length`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetLength(value: &IOHIDValue) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDValueGetLength(value: &IOHIDValue) -> CFIndex;
    }
    unsafe { IOHIDValueGetLength(value) }
}

#[deprecated = "renamed to `IOHIDValue::byte_ptr`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetBytePtr(value: &IOHIDValue) -> NonNull<u8> {
    extern "C-unwind" {
        fn IOHIDValueGetBytePtr(value: &IOHIDValue) -> Option<NonNull<u8>>;
    }
    let ret = unsafe { IOHIDValueGetBytePtr(value) };
    ret.expect("function was marked as returning non-null, but actually returned NULL")
}

#[deprecated = "renamed to `IOHIDValue::integer_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetIntegerValue(value: &IOHIDValue) -> CFIndex {
    extern "C-unwind" {
        fn IOHIDValueGetIntegerValue(value: &IOHIDValue) -> CFIndex;
    }
    unsafe { IOHIDValueGetIntegerValue(value) }
}

#[deprecated = "renamed to `IOHIDValue::scaled_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDValueGetScaledValue(
    value: &IOHIDValue,
    r#type: IOHIDValueScaleType,
) -> c_double {
    extern "C-unwind" {
        fn IOHIDValueGetScaledValue(value: &IOHIDValue, r#type: IOHIDValueScaleType) -> c_double;
    }
    unsafe { IOHIDValueGetScaledValue(value, r#type) }
}

#[deprecated = "renamed to `IOHIDTransaction::new`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionCreate(
    allocator: Option<&CFAllocator>,
    device: &IOHIDDevice,
    direction: IOHIDTransactionDirectionType,
    options: IOOptionBits,
) -> Option<CFRetained<IOHIDTransaction>> {
    extern "C-unwind" {
        fn IOHIDTransactionCreate(
            allocator: Option<&CFAllocator>,
            device: &IOHIDDevice,
            direction: IOHIDTransactionDirectionType,
            options: IOOptionBits,
        ) -> Option<NonNull<IOHIDTransaction>>;
    }
    let ret = unsafe { IOHIDTransactionCreate(allocator, device, direction, options) };
    ret.map(|ret| unsafe { CFRetained::from_raw(ret) })
}

#[deprecated = "renamed to `IOHIDTransaction::device`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionGetDevice(
    transaction: &IOHIDTransaction,
) -> CFRetained<IOHIDDevice> {
    extern "C-unwind" {
        fn IOHIDTransactionGetDevice(
            transaction: &IOHIDTransaction,
        ) -> Option<NonNull<IOHIDDevice>>;
    }
    let ret = unsafe { IOHIDTransactionGetDevice(transaction) };
    let ret = ret.expect("function was marked as returning non-null, but actually returned NULL");
    unsafe { CFRetained::retain(ret) }
}

#[deprecated = "renamed to `IOHIDTransaction::direction`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionGetDirection(
    transaction: &IOHIDTransaction,
) -> IOHIDTransactionDirectionType {
    extern "C-unwind" {
        fn IOHIDTransactionGetDirection(
            transaction: &IOHIDTransaction,
        ) -> IOHIDTransactionDirectionType;
    }
    unsafe { IOHIDTransactionGetDirection(transaction) }
}

#[deprecated = "renamed to `IOHIDTransaction::set_direction`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionSetDirection(
    transaction: &IOHIDTransaction,
    direction: IOHIDTransactionDirectionType,
) {
    extern "C-unwind" {
        fn IOHIDTransactionSetDirection(
            transaction: &IOHIDTransaction,
            direction: IOHIDTransactionDirectionType,
        );
    }
    unsafe { IOHIDTransactionSetDirection(transaction, direction) }
}

#[deprecated = "renamed to `IOHIDTransaction::add_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionAddElement(
    transaction: &IOHIDTransaction,
    element: &IOHIDElement,
) {
    extern "C-unwind" {
        fn IOHIDTransactionAddElement(transaction: &IOHIDTransaction, element: &IOHIDElement);
    }
    unsafe { IOHIDTransactionAddElement(transaction, element) }
}

#[deprecated = "renamed to `IOHIDTransaction::remove_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionRemoveElement(
    transaction: &IOHIDTransaction,
    element: &IOHIDElement,
) {
    extern "C-unwind" {
        fn IOHIDTransactionRemoveElement(transaction: &IOHIDTransaction, element: &IOHIDElement);
    }
    unsafe { IOHIDTransactionRemoveElement(transaction, element) }
}

#[deprecated = "renamed to `IOHIDTransaction::contains_element`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionContainsElement(
    transaction: &IOHIDTransaction,
    element: &IOHIDElement,
) -> bool {
    extern "C-unwind" {
        fn IOHIDTransactionContainsElement(
            transaction: &IOHIDTransaction,
            element: &IOHIDElement,
        ) -> Boolean;
    }
    let ret = unsafe { IOHIDTransactionContainsElement(transaction, element) };
    ret != 0
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDTransaction::schedule_with_run_loop`"]
    pub fn IOHIDTransactionScheduleWithRunLoop(
        transaction: &IOHIDTransaction,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDTransaction::unschedule_from_run_loop`"]
    pub fn IOHIDTransactionUnscheduleFromRunLoop(
        transaction: &IOHIDTransaction,
        run_loop: &CFRunLoop,
        run_loop_mode: &CFString,
    );
}

#[deprecated = "renamed to `IOHIDTransaction::set_value`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionSetValue(
    transaction: &IOHIDTransaction,
    element: &IOHIDElement,
    value: &IOHIDValue,
    options: IOOptionBits,
) {
    extern "C-unwind" {
        fn IOHIDTransactionSetValue(
            transaction: &IOHIDTransaction,
            element: &IOHIDElement,
            value: &IOHIDValue,
            options: IOOptionBits,
        );
    }
    unsafe { IOHIDTransactionSetValue(transaction, element, value, options) }
}

#[deprecated = "renamed to `IOHIDTransaction::value`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionGetValue(
    transaction: &IOHIDTransaction,
    element: &IOHIDElement,
    options: IOOptionBits,
) -> Option<CFRetained<IOHIDValue>> {
    extern "C-unwind" {
        fn IOHIDTransactionGetValue(
            transaction: &IOHIDTransaction,
            element: &IOHIDElement,
            options: IOOptionBits,
        ) -> Option<NonNull<IOHIDValue>>;
    }
    let ret = unsafe { IOHIDTransactionGetValue(transaction, element, options) };
    ret.map(|ret| unsafe { CFRetained::retain(ret) })
}

#[deprecated = "renamed to `IOHIDTransaction::commit`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionCommit(transaction: &IOHIDTransaction) -> IOReturn {
    extern "C-unwind" {
        fn IOHIDTransactionCommit(transaction: &IOHIDTransaction) -> IOReturn;
    }
    unsafe { IOHIDTransactionCommit(transaction) }
}

extern "C-unwind" {
    #[deprecated = "renamed to `IOHIDTransaction::commit_with_callback`"]
    pub fn IOHIDTransactionCommitWithCallback(
        transaction: &IOHIDTransaction,
        timeout: CFTimeInterval,
        callback: IOHIDCallback,
        context: *mut c_void,
    ) -> IOReturn;
}

#[deprecated = "renamed to `IOHIDTransaction::clear`"]
#[inline]
pub extern "C-unwind" fn IOHIDTransactionClear(transaction: &IOHIDTransaction) {
    extern "C-unwind" {
        fn IOHIDTransactionClear(transaction: &IOHIDTransaction);
    }
    unsafe { IOHIDTransactionClear(transaction) }
}