pysdl-cffi / sdl / _sdl.py

   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
# this file is auto-generated. do not edit.
from __future__ import (print_function, division, absolute_import)

from cffi import FFI

UNMANGLED_EXPORTS = [
"_SDL_GetMouseState",
"_SDL_GetError",
"_SDL_GetDisplayMode",
"_SDL_GetDesktopDisplayMode",
"_SDL_GL_GetAttribute",
"_SDL_Init",
"_SDL_PollEvent",
"_SDL_GetWindowSize",
"_SDL_GetCurrentDisplayMode",

]

EXPORTS = [
"SDL_JoystickGetAxis",
"SDL_SetWindowTitle",
"SDL_SetSurfaceRLE",
"KMOD_LALT",
"SDLK_KP_MULTIPLY",
"SDLK_KBDILLUMUP",
"SDL_HAT_CENTERED",
"SDLK_WWW",
"SDL_UnionRect",
"SDL_JoystickNumBalls",
"SDL_SCANCODE_KP_PERCENT",
"SDLK_KP_MEMRECALL",
"SDL_ShowCursor",
"SDLK_KP_PERIOD",
"SDLK_KP_HASH",
"SDL_GL_SHARE_WITH_CURRENT_CONTEXT",
"SDL_WINDOWEVENT_NONE",
"SDL_SCANCODE_KP_6",
"SDL_SCANCODE_KP_HASH",
"SDLK_EXSEL",
"SDLK_QUOTEDBL",
"SDL_JOYAXISMOTION",
"SDLK_KP_000",
"SDL_GetMouseFocus",
"SDLK_ALTERASE",
"SDLK_MODE",
"SDLK_KP_9",
"SDL_SCANCODE_GRAVE",
"SDLK_AC_STOP",
"SDLK_KP_BACKSPACE",
"SDL_SCANCODE_CAPSLOCK",
"SDL_SCANCODE_PAGEDOWN",
"SDL_GL_CreateContext",
"SDL_GetScancodeFromKey",
"SDL_INIT_VIDEO",
"SDL_SCANCODE_KP_DECIMAL",
"SDL_SetTextInputRect",
"SDLK_AMPERSAND",
"SDL_INPUTWHEEL",
"SDL_VideoQuit",
"SDL_SCANCODE_PAGEUP",
"SDLK_HASH",
"SDL_SCANCODE_KP_8",
"SDL_SetSurfaceBlendMode",
"SDLK_KP_1",
"SDL_SCANCODE_THOUSANDSSEPARATOR",
"SDL_BUTTON_X1",
"SDL_BUTTON_X2",
"SDLK_KP_2",
"SDL_WINDOWEVENT_MAXIMIZED",
"SDL_JoystickIndex",
"SDL_HideWindow",
"SDL_SCANCODE_KP_LEFTPAREN",
"SDL_ReadBE16",
"SDLK_AUDIOPREV",
"SDLK_VOLUMEUP",
"SDL_HAT_RIGHT",
"SDL_SCANCODE_AC_STOP",
"SDL_QUERY",
"SDL_SetWindowSize",
"SDLK_RIGHTBRACKET",
"SDLK_SEMICOLON",
"SDL_QUIT",
"SDL_GetWindowTitle",
"SDL_GL_CONTEXT_FLAGS",
"SDL_SCANCODE_CUT",
"SDL_FillRect",
"SDL_WINDOWEVENT",
"SDL_SCANCODE_EJECT",
"SDL_SCANCODE_KP_C",
"SDL_DISABLE",
"SDL_WINDOWEVENT_RESTORED",
"SDL_SCANCODE_9",
"SDL_SCANCODE_8",
"SDL_HideScreenKeyboard",
"SDL_SCANCODE_5",
"SDL_SCANCODE_4",
"SDLK_KP_SPACE",
"SDL_SCANCODE_6",
"SDL_SCANCODE_1",
"SDLK_KP_RIGHTBRACE",
"SDL_SCANCODE_3",
"SDL_SCANCODE_2",
"SDL_SCANCODE_M",
"SDL_KEYDOWN",
"SDL_GL_ACCUM_GREEN_SIZE",
"SDL_SCANCODE_N",
"SDL_SCANCODE_I",
"SDL_SCANCODE_H",
"SDL_SCANCODE_K",
"SDL_SCANCODE_J",
"SDL_ShowScreenKeyboard",
"SDLK_HELP",
"SDL_SCANCODE_G",
"SDL_SCANCODE_F",
"SDL_SCANCODE_A",
"SDL_WINDOW_MOUSE_FOCUS",
"SDL_SCANCODE_C",
"SDL_SCANCODE_B",
"SDLK_AC_HOME",
"SDL_SCANCODE_Y",
"SDL_SCANCODE_X",
"SDL_MOUSEWHEEL",
"SDL_SCANCODE_Z",
"SDL_SCANCODE_U",
"SDL_SCANCODE_T",
"SDL_SCANCODE_W",
"SDL_SCANCODE_V",
"SDL_SCANCODE_Q",
"SDL_SCANCODE_P",
"SDL_SCANCODE_S",
"SDL_AddEventWatch",
"SDL_GL_RED_SIZE",
"SDL_SCANCODE_RETURN2",
"SDLK_MUTE",
"SDL_SCANCODE_AUDIOPLAY",
"SDL_SCANCODE_PASTE",
"SDL_GetWindowDisplayMode",
"SDL_FreeRW",
"SDL_BUTTON_RIGHT",
"SDL_ConvertSurface",
"SDL_ReadLE32",
"SDL_WINDOW_INPUT_GRABBED",
"SDL_GetPixelFormatName",
"SDLK_KP_LEFTPAREN",
"SDL_CreateRGBSurfaceFrom",
"SDLK_KP_AT",
"SDL_SCANCODE_COMMA",
"SDL_StartTextInput",
"SDL_UpdateWindowSurfaceRects",
"SDL_SCANCODE_NUMLOCKCLEAR",
"SDL_EnclosePoints",
"SDL_SCANCODE_MINUS",
"SDLK_ASTERISK",
"SDL_BUTTON_RMASK",
"SDL_JoystickGetBall",
"SDL_GL_GetSwapInterval",
"SDL_ENOMEM",
"SDLK_HOME",
"SDL_GetScancodeName",
"SDL_GetColorKey",
"SDL_UpperBlitScaled",
"SDL_SetWindowGrab",
"SDLK_MINUS",
"SDL_SCANCODE_KP_SPACE",
"SDL_EFSEEK",
"SDLK_BRIGHTNESSUP",
"SDL_EnableScreenSaver",
"SDL_GetNumVideoDisplays",
"SDL_Error",
"SDL_LASTERROR",
"SDL_WINDOW_RESIZABLE",
"SDLK_EJECT",
"SDL_GetKeyboardFocus",
"SDL_WINDOWPOS_CENTERED",
"SDLK_SLEEP",
"SDLK_KP_CLEARENTRY",
"SDL_GetCurrentVideoDriver",
"SDL_SCANCODE_LEFT",
"SDL_SCANCODE_COPY",
"SDL_LoadBMP_RW",
"SDL_SCANCODE_KP_VERTICALBAR",
"SDL_SCANCODE_KP_PERIOD",
"SDL_TEXTEDITINGEVENT_TEXT_SIZE",
"SDL_HasEvents",
"SDL_GetScancodeFromName",
"SDL_CreateCursor",
"SDLK_UP",
"SDL_FALSE",
"SDL_SoftStretch",
"SDL_WINDOW_FOREIGN",
"SDLK_THOUSANDSSEPARATOR",
"SDL_MOUSEBUTTONUP",
"SDL_UpperBlit",
"SDLK_LEFT",
"SDL_SCANCODE_AC_FORWARD",
"SDL_WriteLE16",
"SDL_RLEACCEL",
"SDL_SCANCODE_KP_BACKSPACE",
"SDL_GL_CONTEXT_MAJOR_VERSION",
"SDL_BUTTON_LMASK",
"SDLK_F8",
"SDLK_F9",
"SDL_WINDOWEVENT_HIDDEN",
"SDLK_F1",
"SDLK_F2",
"SDLK_F3",
"SDLK_F4",
"SDLK_F5",
"SDL_HasScreenKeyboardSupport",
"SDLK_F7",
"SDL_ConvertPixels",
"SDLK_CALCULATOR",
"SDL_FreePalette",
"SDLK_KP_OCTAL",
"SDL_AllocPalette",
"SDL_SCANCODE_KP_DBLAMPERSAND",
"SDL_INIT_HAPTIC",
"SDL_SCANCODE_PERIOD",
"SDL_SCANCODE_LEFTBRACKET",
"SDL_SCANCODE_AGAIN",
"SDL_SCANCODE_PRINTSCREEN",
"SDL_EFWRITE",
"SDL_SCANCODE_KP_MEMRECALL",
"SDL_SCANCODE_COMPUTER",
"SDL_HAT_RIGHTUP",
"SDL_RWFromMem",
"SDLK_STOP",
"SDL_LowerBlitScaled",
"SDL_WINDOW_MAXIMIZED",
"SDL_JOYBALLMOTION",
"SDL_JoystickNumHats",
"SDLK_CARET",
"SDL_JoystickOpened",
"SDL_SCANCODE_AC_REFRESH",
"SDL_JoystickOpen",
"SDL_MasksToPixelFormatEnum",
"SDL_HAT_UP",
"SDLK_KP_PLUSMINUS",
"SDL_GETEVENT",
"SDL_SCANCODE_CALCULATOR",
"SDLK_KP_EQUALS",
"SDL_SCANCODE_F1",
"SDLK_INSERT",
"SDL_GetWindowData",
"SDL_SCANCODE_7",
"SDL_SCANCODE_KP_COLON",
"KMOD_CAPS",
"SDL_GL_STEREO",
"SDL_WINDOW_INPUT_FOCUS",
"SDL_SCANCODE_KP_HEXADECIMAL",
"SDL_HAT_DOWN",
"SDL_BLENDMODE_BLEND",
"SDL_SCANCODE_RCTRL",
"SDLK_SLASH",
"SDL_ReadLE64",
"SDLK_RCTRL",
"SDL_BUTTON_MIDDLE",
"SDLK_PASTE",
"SDL_PEEKEVENT",
"SDL_SCANCODE_F24",
"SDL_SCANCODE_F23",
"SDL_SCANCODE_F22",
"SDL_SCANCODE_F21",
"SDLK_AGAIN",
"SDLK_DECIMALSEPARATOR",
"SDL_SCANCODE_LALT",
"SDL_SCANCODE_HELP",
"SDLK_AUDIONEXT",
"SDL_FreeCursor",
"SDL_INPUTPROXIMITYIN",
"SDLK_KP_POWER",
"SDLK_KBDILLUMDOWN",
"SDL_SCANCODE_STOP",
"SDL_HasEvent",
"SDL_SCANCODE_RETURN",
"SDL_BLENDMODE_MOD",
"SDL_FreeFormat",
"SDL_GetTouch",
"SDL_SCANCODE_FIND",
"SDL_SetColorKey",
"SDL_GL_ACCUM_ALPHA_SIZE",
"SDLK_KP_MEMMULTIPLY",
"SDL_SCANCODE_NONUSBACKSLASH",
"SDL_GetRelativeMouseState",
"SDL_SetModState",
"SDLK_MEDIASELECT",
"SDLK_KP_XOR",
"SDL_RELEASED",
"SDL_GetKeyboardState",
"SDLK_F24",
"SDLK_F23",
"SDLK_F22",
"SDLK_F21",
"SDLK_F20",
"SDL_GetWindowID",
"SDLK_EXECUTE",
"KMOD_NUM",
"SDL_SCANCODE_KP_4",
"SDL_SCANCODE_KP_5",
"SDL_SetEventFilter",
"SDL_SCANCODE_KP_7",
"SDLK_KP_8",
"SDL_SCANCODE_KP_1",
"SDL_SCANCODE_KP_2",
"SDL_SCANCODE_KP_3",
"SDLK_KP_4",
"SDLK_KP_5",
"SDLK_KP_6",
"SDLK_KP_7",
"SDLK_KP_0",
"SDL_GL_MULTISAMPLEBUFFERS",
"SDL_IGNORE",
"SDLK_KP_3",
"SDL_SCANCODE_KP_D",
"SDL_SCANCODE_KP_E",
"SDL_SCANCODE_KP_F",
"SDL_SCANCODE_KP_A",
"SDL_SCANCODE_KP_B",
"SDL_GetWindowGammaRamp",
"SDLK_KP_D",
"SDLK_KP_E",
"SDLK_KP_F",
"SDLK_KP_A",
"SDLK_KP_B",
"SDLK_KP_C",
"SDLK_EQUALS",
"KMOD_SHIFT",
"SDLK_F6",
"SDL_GL_CONTEXT_PROFILE_MASK",
"SDL_INPUTMOTION",
"SDLK_AUDIOPLAY",
"SDL_SCANCODE_SELECT",
"SDL_GL_CONTEXT_PROFILE_COMPATIBILITY",
"SDL_GL_GREEN_SIZE",
"SDL_WINDOWEVENT_CLOSE",
"SDL_ShowWindow",
"SDL_GL_CONTEXT_EGL",
"KMOD_RESERVED",
"SDL_GetClipRect",
"SDL_SCANCODE_SPACE",
"SDL_WriteBE16",
"SDL_SCANCODE_KP_MEMADD",
"RW_SEEK_SET",
"SDL_INIT_TIMER",
"SDL_UNSUPPORTED",
"SDL_GetNumVideoDrivers",
"SDL_SetSurfacePalette",
"SDL_WINDOWEVENT_FOCUS_LOST",
"SDL_GetWindowBrightness",
"SDL_SCANCODE_KP_00",
"SDL_PREALLOC",
"SDL_EventState",
"SDL_GetNumDisplayModes",
"SDL_MULTIGESTURE",
"KMOD_ALT",
"SDLK_ESCAPE",
"SDL_SCANCODE_KP_ENTER",
"SDL_SaveDollarTemplate",
"SDLK_RSHIFT",
"SDL_SCANCODE_KP_CLEARENTRY",
"SDLK_KP_PLUS",
"SDL_GetRelativeMouseMode",
"SDLK_PAGEDOWN",
"KMOD_LGUI",
"KMOD_NONE",
"SDL_SCANCODE_SEPARATOR",
"SDL_GetSurfaceBlendMode",
"SDL_MinimizeWindow",
"SDL_SetWindowPosition",
"SDL_GL_SetSwapInterval",
"KMOD_RSHIFT",
"KMOD_CTRL",
"SDL_SCANCODE_TAB",
"SDL_GetSurfaceColorMod",
"SDLK_KP_DECIMAL",
"SDLK_AT",
"SDL_CreateWindowFrom",
"SDLK_LGUI",
"SDL_WINDOW_HIDDEN",
"SDL_RecordGesture",
"SDLK_KP_GREATER",
"SDL_PushEvent",
"SDL_Quit",
"SDLK_TAB",
"SDLK_PLUS",
"SDL_INIT_EVERYTHING",
"SDL_GetKeyFromScancode",
"SDL_MapRGB",
"SDL_GetWindowGrab",
"SDL_SCANCODE_RALT",
"SDL_IntersectRectAndLine",
"SDLK_APPLICATION",
"SDL_GetKeyName",
"SDLK_KP_MEMSTORE",
"SDL_SCANCODE_MEDIASELECT",
"SDL_WINDOWEVENT_FOCUS_GAINED",
"SDLK_KP_LESS",
"SDLK_DOWN",
"SDLK_u",
"SDLK_t",
"SDLK_w",
"SDLK_v",
"SDLK_q",
"SDLK_p",
"SDLK_s",
"SDLK_r",
"SDLK_BACKSPACE",
"SDL_ConvertSurfaceFormat",
"SDLK_y",
"SDLK_x",
"SDL_WINDOWEVENT_MOVED",
"SDL_SCANCODE_CURRENCYSUBUNIT",
"SDL_GL_MULTISAMPLESAMPLES",
"SDLK_g",
"SDLK_f",
"SDLK_a",
"SDLK_c",
"SDLK_b",
"SDLK_m",
"SDLK_l",
"SDL_GetModState",
"SDL_SCANCODE_PAUSE",
"SDLK_i",
"SDLK_h",
"SDLK_k",
"SDLK_j",
"SDL_GL_DeleteContext",
"SDL_GL_BUFFER_SIZE",
"SDLK_AC_BACK",
"SDL_SCANCODE_KP_MEMSTORE",
"SDL_WINDOW_SHOWN",
"SDL_PixelFormatEnumToMasks",
"SDLK_LALT",
"SDL_GetVideoDriver",
"SDLK_EXCLAIM",
"SDLK_5",
"SDLK_4",
"SDL_SCANCODE_AC_SEARCH",
"SDLK_6",
"SDLK_1",
"SDLK_MENU",
"SDLK_3",
"SDLK_2",
"SDLK_RIGHTPAREN",
"SDLK_8",
"SDLK_KP_DIVIDE",
"SDL_SCANCODE_KBDILLUMDOWN",
"SDL_SCANCODE_0",
"SDL_FINGERUP",
"SDLK_LEFTBRACKET",
"SDL_SCANCODE_KP_XOR",
"SDL_GL_ACCUM_BLUE_SIZE",
"SDL_WriteLE64",
"SDLK_SPACE",
"SDL_SCANCODE_BACKSPACE",
"SDL_SCANCODE_HOME",
"SDL_WaitEvent",
"SDLK_SEPARATOR",
"SDL_TEXTEDITING",
"SDL_ClearError",
"SDL_ReadBE32",
"SDLK_CANCEL",
"SDL_JoystickGetButton",
"SDLK_COMPUTER",
"SDL_SCANCODE_KP_MEMSUBTRACT",
"KMOD_RALT",
"SDL_ALPHA_OPAQUE",
"SDL_WarpMouseInWindow",
"SDL_GL_DOUBLEBUFFER",
"SDL_SCANCODE_KP_MULTIPLY",
"SDLK_AC_BOOKMARKS",
"SDL_GL_GetProcAddress",
"KMOD_LCTRL",
"SDL_FIRSTEVENT",
"SDLK_COMMA",
"SDLK_DELETE",
"SDLK_RETURN2",
"SDL_SCANCODE_KP_MEMDIVIDE",
"SDL_SCANCODE_MAIL",
"SDL_GL_MakeCurrent",
"RW_SEEK_CUR",
"SDL_BUTTON_X2MASK",
"SDLK_BRIGHTNESSDOWN",
"SDL_GL_BLUE_SIZE",
"SDL_SetWindowData",
"SDL_GetWindowDisplay",
"SDLK_KP_COMMA",
"SDL_NumJoysticks",
"SDLK_KP_RIGHTPAREN",
"SDLK_KP_MEMSUBTRACT",
"SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG",
"SDL_SCANCODE_AC_BACK",
"SDL_GetWindowFromID",
"SDL_SCANCODE_BRIGHTNESSUP",
"SDL_SCANCODE_AC_HOME",
"SDL_PumpEvents",
"SDL_INPUTPROXIMITYOUT",
"SDLK_PERIOD",
"SDL_RegisterEvents",
"SDL_AllocFormat",
"SDLK_z",
"SDLK_CURRENCYSUBUNIT",
"SDLK_CURRENCYUNIT",
"SDL_SCANCODE_MUTE",
"SDL_SaveAllDollarTemplates",
"SDL_GetWindowPixelFormat",
"SDL_RWFromConstMem",
"SDL_SCANCODE_KP_9",
"SDL_RestoreWindow",
"SDL_SCANCODE_L",
"SDLK_RGUI",
"SDL_SCANCODE_KP_BINARY",
"SDL_ReadLE16",
"SDL_INIT_NOPARACHUTE",
"SDL_JoystickClose",
"SDL_SCANCODE_F18",
"SDL_SCANCODE_CURRENCYUNIT",
"SDLK_DOLLAR",
"SDL_SetCursor",
"SDL_SCANCODE_KP_TAB",
"SDL_SCANCODE_F12",
"SDL_SCANCODE_F13",
"SDL_SCANCODE_F10",
"SDL_SCANCODE_F11",
"SDL_SCANCODE_F16",
"SDL_SCANCODE_F17",
"SDL_SCANCODE_F14",
"SDL_SCANCODE_F15",
"SDLK_d",
"SDL_SCANCODE_DECIMALSEPARATOR",
"SDL_GetWindowFlags",
"SDL_ENABLE",
"SDL_SCANCODE_E",
"SDLK_UNDO",
"SDL_SCANCODE_D",
"SDL_GL_CONTEXT_MINOR_VERSION",
"SDL_WriteLE32",
"SDL_SCANCODE_PRIOR",
"SDL_TEXTINPUTEVENT_TEXT_SIZE",
"SDL_LowerBlit",
"SDLK_PRINTSCREEN",
"SDLK_SYSREQ",
"SDLK_F12",
"SDLK_KP_EXCLAM",
"SDLK_F10",
"SDLK_F11",
"SDL_WINDOWPOS_UNDEFINED_MASK",
"SDLK_F17",
"SDLK_F14",
"SDLK_F15",
"SDL_SWSURFACE",
"SDLK_BACKSLASH",
"SDLK_F18",
"SDLK_F19",
"SDLK_UNKNOWN",
"SDL_SCANCODE_LANG9",
"SDL_SCANCODE_LANG8",
"SDL_GetWindowPosition",
"SDL_SCANCODE_CANCEL",
"SDL_JoystickGetHat",
"SDLK_F13",
"SDLK_KP_MEMDIVIDE",
"SDL_GetRGB",
"SDLK_SELECT",
"SDL_HAT_LEFTDOWN",
"SDL_SCANCODE_KP_LESS",
"SDL_WINDOW_OPENGL",
"SDLK_LCTRL",
"SDL_DOLLARRECORD",
"SDL_SCANCODE_KP_RIGHTPAREN",
"SDL_FillRects",
"SDLK_F16",
"SDL_SCANCODE_SEMICOLON",
"SDL_SetWindowDisplayMode",
"SDL_INPUTBUTTONUP",
"SDLK_RALT",
"SDL_SCANCODE_APPLICATION",
"SDLK_RETURN",
"SDLK_KP_PERCENT",
"SDL_BLENDMODE_ADD",
"SDLK_PAUSE",
"SDL_SCANCODE_LGUI",
"SDLK_SCROLLLOCK",
"SDL_SetWindowGammaRamp",
"SDLK_KP_TAB",
"SDL_SetWindowIcon",
"SDL_GL_SetAttribute",
"SDLK_KP_DBLVERTICALBAR",
"SDL_GetRGBA",
"SDLK_POWER",
"SDL_UnlockSurface",
"SDL_FlushEvents",
"SDL_SCANCODE_KP_RIGHTBRACE",
"SDLK_MAIL",
"SDL_BLENDMODE_NONE",
"SDL_SetWindowFullscreen",
"SDLK_FIND",
"SDLK_KP_MINUS",
"SDL_SCANCODE_KP_MEMMULTIPLY",
"SDL_WINDOWEVENT_MINIMIZED",
"SDL_SCANCODE_R",
"SDL_HAT_LEFT",
"KMOD_RGUI",
"SDL_SCANCODE_INSERT",
"SDL_SCANCODE_LCTRL",
"SDL_GL_DEPTH_SIZE",
"SDLK_PAGEUP",
"SDL_SCANCODE_VOLUMEUP",
"SDLK_COLON",
"SDL_SCANCODE_BACKSLASH",
"SDL_ReadBE64",
"SDL_DONTFREE",
"SDL_SCANCODE_CLEARAGAIN",
"SDL_SCANCODE_AUDIOMUTE",
"SDL_LoadDollarTemplates",
"SDLK_CLEARAGAIN",
"SDL_GetCursor",
"SDL_SCANCODE_DISPLAYSWITCH",
"SDL_SCANCODE_KP_DIVIDE",
"SDL_SaveBMP_RW",
"SDL_SCANCODE_BRIGHTNESSDOWN",
"SDL_SCANCODE_LANG1",
"SDL_SCANCODE_RSHIFT",
"SDLK_AC_SEARCH",
"SDL_ADDEVENT",
"SDL_TOUCHBUTTONDOWN",
"SDL_QuitSubSystem",
"SDL_WINDOWPOS_UNDEFINED",
"SDL_SCANCODE_LANG2",
"SDL_VideoInit",
"SDL_SCANCODE_LANG5",
"SDL_SCANCODE_LANG4",
"SDL_DOLLARGESTURE",
"SDL_NUM_SCANCODES",
"SDL_GetDisplayBounds",
"SDL_SCANCODE_DOWN",
"SDL_SCANCODE_LANG7",
"SDLK_RIGHT",
"SDLK_LEFTPAREN",
"SDL_BUTTON_MMASK",
"SDL_WINDOW_MINIMIZED",
"SDL_BUTTON_X1MASK",
"SDL_USEREVENT",
"SDL_GL_CONTEXT_DEBUG_FLAG",
"SDL_SCANCODE_SCROLLLOCK",
"SDL_SetPixelFormatPalette",
"SDL_SCANCODE_F2",
"SDL_SCANCODE_F3",
"SDL_SCANCODE_F4",
"SDL_SCANCODE_F5",
"SDL_SCANCODE_F6",
"SDL_SCANCODE_F7",
"SDL_SCANCODE_F8",
"SDL_SCANCODE_F9",
"SDLK_OPER",
"SDL_INPUTBUTTONDOWN",
"SDLK_DISPLAYSWITCH",
"KMOD_LSHIFT",
"SDLK_PRIOR",
"SDL_HAT_LEFTUP",
"SDL_FilterEvents",
"SDL_SCANCODE_EXSEL",
"SDLK_KP_HEXADECIMAL",
"SDL_ALPHA_TRANSPARENT",
"SDLK_BACKQUOTE",
"SDL_WINDOWPOS_CENTERED_MASK",
"SDL_WINDOWEVENT_SIZE_CHANGED",
"SDL_SCANCODE_OUT",
"SDL_DelEventWatch",
"SDL_SCANCODE_KP_OCTAL",
"SDL_SetSurfaceAlphaMod",
"SDL_SCANCODE_AUDIONEXT",
"SDLK_AUDIOSTOP",
"SDL_SCANCODE_KP_EXCLAM",
"SDL_MOUSEBUTTONDOWN",
"SDL_SCANCODE_MODE",
"SDL_KEYUP",
"SDL_SCANCODE_WWW",
"SDLK_PERCENT",
"SDL_SCANCODE_F20",
"SDLK_CAPSLOCK",
"SDL_RWFromFP",
"SDL_SCANCODE_KP_MINUS",
"SDL_SCANCODE_KBDILLUMTOGGLE",
"SDL_WaitEventTimeout",
"SDL_SetWindowBrightness",
"SDL_SCANCODE_EQUALS",
"SDL_DisableScreenSaver",
"SDL_SCANCODE_KP_PLUSMINUS",
"SDLK_e",
"SDL_HAT_RIGHTDOWN",
"SDL_UpdateWindowSurface",
"SDL_SCANCODE_EXECUTE",
"KMOD_GUI",
"SDLK_SCANCODE_MASK",
"SDL_WriteBE64",
"SDLK_KP_AMPERSAND",
"SDL_SetSurfaceColorMod",
"SDL_SCANCODE_DELETE",
"SDL_WasInit",
"SDL_SCANCODE_O",
"SDLK_KP_CLEAR",
"SDL_EFREAD",
"SDL_SCANCODE_UP",
"SDLK_COPY",
"SDLK_NUMLOCKCLEAR",
"SDLK_o",
"SDL_SetClipRect",
"SDL_SCANCODE_UNKNOWN",
"SDLK_n",
"SDLK_KP_COLON",
"SDL_SetError",
"SDL_CreateRGBSurface",
"SDLK_KP_BINARY",
"SDL_IsScreenSaverEnabled",
"SDLK_QUOTE",
"SDL_SCANCODE_RIGHTBRACKET",
"SDL_SYSWMEVENT",
"SDL_MOUSEMOTION",
"SDL_RaiseWindow",
"RW_SEEK_END",
"SDL_WINDOWEVENT_RESIZED",
"SDL_JoystickName",
"SDLK_AC_REFRESH",
"SDL_GetWindowSurface",
"SDL_SCANCODE_OPER",
"SDL_FINGERMOTION",
"SDL_SCANCODE_POWER",
"SDLK_QUESTION",
"SDL_ToggleScreenKeyboard",
"SDL_GL_ACCUM_RED_SIZE",
"SDL_IntersectRect",
"SDL_JoystickNumAxes",
"SDL_DestroyWindow",
"SDL_SCANCODE_ESCAPE",
"SDLK_OUT",
"SDL_LockSurface",
"SDL_WINDOWEVENT_ENTER",
"SDL_SCANCODE_CLEAR",
"SDL_SCANCODE_AUDIOPREV",
"SDL_FINGERDOWN",
"SDL_INIT_JOYSTICK",
"SDL_JOYBUTTONDOWN",
"SDL_PeepEvents",
"SDL_SCANCODE_KP_AMPERSAND",
"SDLK_KP_VERTICALBAR",
"SDL_SCANCODE_UNDO",
"SDL_SCANCODE_SLEEP",
"SDL_SCANCODE_CRSEL",
"SDL_LASTEVENT",
"SDL_SCANCODE_KP_GREATER",
"SDL_SCANCODE_KBDILLUMUP",
"SDL_SCANCODE_KP_COMMA",
"SDLK_KP_EQUALSAS400",
"SDL_GetEventFilter",
"SDL_SCANCODE_KP_DBLVERTICALBAR",
"SDL_SCANCODE_LANG6",
"SDL_SCANCODE_RIGHT",
"SDL_CreateWindow",
"SDLK_UNDERSCORE",
"SDLK_KBDILLUMTOGGLE",
"SDL_GL_STENCIL_SIZE",
"SDL_SCANCODE_KP_LEFTBRACE",
"SDL_SCANCODE_APOSTROPHE",
"SDL_GL_ExtensionSupported",
"SDL_SCANCODE_AC_BOOKMARKS",
"SDL_GL_RETAINED_BACKING",
"SDL_JoystickEventState",
"SDL_JOYHATMOTION",
"SDL_GL_UnloadLibrary",
"SDL_JOYBUTTONUP",
"SDLK_LESS",
"SDL_JoystickNumButtons",
"SDL_SetPaletteColors",
"SDL_SCANCODE_RGUI",
"SDL_INIT_AUDIO",
"SDL_GL_CONTEXT_PROFILE_ES",
"SDL_IsScreenKeyboardShown",
"SDL_SCANCODE_MENU",
"SDL_SetRelativeMouseMode",
"SDL_TEXTINPUT",
"SDLK_KP_ENTER",
"SDL_GL_LoadLibrary",
"KMOD_MODE",
"SDL_SCANCODE_KP_EQUALS",
"SDL_RWFromFile",
"SDLK_AUDIOMUTE",
"SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG",
"SDL_GetClosestDisplayMode",
"SDL_SCANCODE_KP_PLUS",
"SDL_InitSubSystem",
"SDLK_KP_MEMADD",
"SDL_CreateColorCursor",
"SDL_SCANCODE_KP_000",
"SDL_GetSurfaceAlphaMod",
"SDLK_GREATER",
"SDLK_7",
"SDL_WINDOWEVENT_SHOWN",
"SDL_StopTextInput",
"SDL_BUTTON_LEFT",
"SDL_SCANCODE_LSHIFT",
"SDL_GL_ACCELERATED_VISUAL",
"SDL_DROPFILE",
"SDL_WINDOW_FULLSCREEN",
"SDL_CLIPBOARDUPDATE",
"SDL_SCANCODE_KP_AT",
"SDL_SCANCODE_NONUSHASH",
"SDL_TOUCHBUTTONUP",
"SDLK_AC_FORWARD",
"SDL_SCANCODE_KP_CLEAR",
"SDLK_KP_00",
"SDL_HasIntersection",
"SDLK_END",
"SDL_GL_ALPHA_SIZE",
"SDL_GetKeyFromName",
"SDL_SCANCODE_END",
"SDL_SCANCODE_SYSREQ",
"SDL_WriteBE32",
"SDL_WINDOWEVENT_EXPOSED",
"SDL_CalculateGammaRamp",
"SDL_GL_SwapWindow",
"SDL_SCANCODE_KP_POWER",
"SDL_GetFinger",
"SDLK_9",
"KMOD_RCTRL",
"SDLK_VOLUMEDOWN",
"SDL_PRESSED",
"SDLK_CLEAR",
"SDLK_0",
"SDL_GL_CONTEXT_PROFILE_CORE",
"SDL_SCANCODE_AUDIOSTOP",
"SDL_SCANCODE_KP_MEMCLEAR",
"SDL_SCANCODE_SLASH",
"SDL_WINDOWEVENT_LEAVE",
"SDLK_KP_MEMCLEAR",
"SDL_SCANCODE_KP_0",
"SDL_MapRGBA",
"SDL_SCANCODE_ALTERASE",
"SDL_FlushEvent",
"SDLK_CUT",
"SDL_WINDOW_BORDERLESS",
"SDLK_LSHIFT",
"SDL_GL_CONTEXT_RESET_ISOLATION_FLAG",
"SDL_FreeSurface",
"SDL_AllocRW",
"SDLK_KP_LEFTBRACE",
"SDL_SCANCODE_INTERNATIONAL2",
"SDL_SCANCODE_INTERNATIONAL3",
"SDL_SCANCODE_INTERNATIONAL1",
"SDL_SCANCODE_INTERNATIONAL6",
"SDL_SCANCODE_INTERNATIONAL7",
"SDL_SCANCODE_INTERNATIONAL4",
"SDL_SCANCODE_INTERNATIONAL5",
"SDL_SCANCODE_LANG3",
"SDL_SCANCODE_INTERNATIONAL8",
"SDL_SCANCODE_INTERNATIONAL9",
"SDL_SCANCODE_F19",
"SDL_MaximizeWindow",
"SDLK_CRSEL",
"SDL_TRUE",
"SDL_SCANCODE_KP_EQUALSAS400",
"SDL_JoystickUpdate",
"SDLK_KP_DBLAMPERSAND",
"SDL_SCANCODE_VOLUMEDOWN",

]

INTERNAL_EXPORTS = [
'_ffi',
'EXPORTS',
'UNMANGLED_EXPORTS',
]

__all__ = EXPORTS + UNMANGLED_EXPORTS + INTERNAL_EXPORTS

from .internal import *

_LIB = load_lib("""
typedef enum
{
SDL_FALSE = 0,
SDL_TRUE = 1
} SDL_bool;
typedef int8_t Sint8;
typedef uint8_t Uint8;
typedef int16_t Sint16;
typedef uint16_t Uint16;
typedef int32_t Sint32;
typedef uint32_t Uint32;
typedef int64_t Sint64;
typedef uint64_t Uint64;
typedef enum SDL_BlendMode
{
SDL_BLENDMODE_NONE = 0x00000000,
SDL_BLENDMODE_BLEND = 0x00000001,
SDL_BLENDMODE_ADD = 0x00000002,
SDL_BLENDMODE_MOD = 0x00000004
} SDL_BlendMode;
typedef enum
{
SDL_SCANCODE_UNKNOWN = 0,
SDL_SCANCODE_A = 4,
SDL_SCANCODE_B = 5,
SDL_SCANCODE_C = 6,
SDL_SCANCODE_D = 7,
SDL_SCANCODE_E = 8,
SDL_SCANCODE_F = 9,
SDL_SCANCODE_G = 10,
SDL_SCANCODE_H = 11,
SDL_SCANCODE_I = 12,
SDL_SCANCODE_J = 13,
SDL_SCANCODE_K = 14,
SDL_SCANCODE_L = 15,
SDL_SCANCODE_M = 16,
SDL_SCANCODE_N = 17,
SDL_SCANCODE_O = 18,
SDL_SCANCODE_P = 19,
SDL_SCANCODE_Q = 20,
SDL_SCANCODE_R = 21,
SDL_SCANCODE_S = 22,
SDL_SCANCODE_T = 23,
SDL_SCANCODE_U = 24,
SDL_SCANCODE_V = 25,
SDL_SCANCODE_W = 26,
SDL_SCANCODE_X = 27,
SDL_SCANCODE_Y = 28,
SDL_SCANCODE_Z = 29,
SDL_SCANCODE_1 = 30,
SDL_SCANCODE_2 = 31,
SDL_SCANCODE_3 = 32,
SDL_SCANCODE_4 = 33,
SDL_SCANCODE_5 = 34,
SDL_SCANCODE_6 = 35,
SDL_SCANCODE_7 = 36,
SDL_SCANCODE_8 = 37,
SDL_SCANCODE_9 = 38,
SDL_SCANCODE_0 = 39,
SDL_SCANCODE_RETURN = 40,
SDL_SCANCODE_ESCAPE = 41,
SDL_SCANCODE_BACKSPACE = 42,
SDL_SCANCODE_TAB = 43,
SDL_SCANCODE_SPACE = 44,
SDL_SCANCODE_MINUS = 45,
SDL_SCANCODE_EQUALS = 46,
SDL_SCANCODE_LEFTBRACKET = 47,
SDL_SCANCODE_RIGHTBRACKET = 48,
SDL_SCANCODE_BACKSLASH = 49,
SDL_SCANCODE_NONUSHASH = 50,
SDL_SCANCODE_SEMICOLON = 51,
SDL_SCANCODE_APOSTROPHE = 52,
SDL_SCANCODE_GRAVE = 53,
SDL_SCANCODE_COMMA = 54,
SDL_SCANCODE_PERIOD = 55,
SDL_SCANCODE_SLASH = 56,
SDL_SCANCODE_CAPSLOCK = 57,
SDL_SCANCODE_F1 = 58,
SDL_SCANCODE_F2 = 59,
SDL_SCANCODE_F3 = 60,
SDL_SCANCODE_F4 = 61,
SDL_SCANCODE_F5 = 62,
SDL_SCANCODE_F6 = 63,
SDL_SCANCODE_F7 = 64,
SDL_SCANCODE_F8 = 65,
SDL_SCANCODE_F9 = 66,
SDL_SCANCODE_F10 = 67,
SDL_SCANCODE_F11 = 68,
SDL_SCANCODE_F12 = 69,
SDL_SCANCODE_PRINTSCREEN = 70,
SDL_SCANCODE_SCROLLLOCK = 71,
SDL_SCANCODE_PAUSE = 72,
SDL_SCANCODE_INSERT = 73,
SDL_SCANCODE_HOME = 74,
SDL_SCANCODE_PAGEUP = 75,
SDL_SCANCODE_DELETE = 76,
SDL_SCANCODE_END = 77,
SDL_SCANCODE_PAGEDOWN = 78,
SDL_SCANCODE_RIGHT = 79,
SDL_SCANCODE_LEFT = 80,
SDL_SCANCODE_DOWN = 81,
SDL_SCANCODE_UP = 82,
SDL_SCANCODE_NUMLOCKCLEAR = 83,
SDL_SCANCODE_KP_DIVIDE = 84,
SDL_SCANCODE_KP_MULTIPLY = 85,
SDL_SCANCODE_KP_MINUS = 86,
SDL_SCANCODE_KP_PLUS = 87,
SDL_SCANCODE_KP_ENTER = 88,
SDL_SCANCODE_KP_1 = 89,
SDL_SCANCODE_KP_2 = 90,
SDL_SCANCODE_KP_3 = 91,
SDL_SCANCODE_KP_4 = 92,
SDL_SCANCODE_KP_5 = 93,
SDL_SCANCODE_KP_6 = 94,
SDL_SCANCODE_KP_7 = 95,
SDL_SCANCODE_KP_8 = 96,
SDL_SCANCODE_KP_9 = 97,
SDL_SCANCODE_KP_0 = 98,
SDL_SCANCODE_KP_PERIOD = 99,
SDL_SCANCODE_NONUSBACKSLASH = 100,
SDL_SCANCODE_APPLICATION = 101,
SDL_SCANCODE_POWER = 102,
SDL_SCANCODE_KP_EQUALS = 103,
SDL_SCANCODE_F13 = 104,
SDL_SCANCODE_F14 = 105,
SDL_SCANCODE_F15 = 106,
SDL_SCANCODE_F16 = 107,
SDL_SCANCODE_F17 = 108,
SDL_SCANCODE_F18 = 109,
SDL_SCANCODE_F19 = 110,
SDL_SCANCODE_F20 = 111,
SDL_SCANCODE_F21 = 112,
SDL_SCANCODE_F22 = 113,
SDL_SCANCODE_F23 = 114,
SDL_SCANCODE_F24 = 115,
SDL_SCANCODE_EXECUTE = 116,
SDL_SCANCODE_HELP = 117,
SDL_SCANCODE_MENU = 118,
SDL_SCANCODE_SELECT = 119,
SDL_SCANCODE_STOP = 120,
SDL_SCANCODE_AGAIN = 121,
SDL_SCANCODE_UNDO = 122,
SDL_SCANCODE_CUT = 123,
SDL_SCANCODE_COPY = 124,
SDL_SCANCODE_PASTE = 125,
SDL_SCANCODE_FIND = 126,
SDL_SCANCODE_MUTE = 127,
SDL_SCANCODE_VOLUMEUP = 128,
SDL_SCANCODE_VOLUMEDOWN = 129,
SDL_SCANCODE_KP_COMMA = 133,
SDL_SCANCODE_KP_EQUALSAS400 = 134,
SDL_SCANCODE_INTERNATIONAL1 = 135,
SDL_SCANCODE_INTERNATIONAL2 = 136,
SDL_SCANCODE_INTERNATIONAL3 = 137,
SDL_SCANCODE_INTERNATIONAL4 = 138,
SDL_SCANCODE_INTERNATIONAL5 = 139,
SDL_SCANCODE_INTERNATIONAL6 = 140,
SDL_SCANCODE_INTERNATIONAL7 = 141,
SDL_SCANCODE_INTERNATIONAL8 = 142,
SDL_SCANCODE_INTERNATIONAL9 = 143,
SDL_SCANCODE_LANG1 = 144,
SDL_SCANCODE_LANG2 = 145,
SDL_SCANCODE_LANG3 = 146,
SDL_SCANCODE_LANG4 = 147,
SDL_SCANCODE_LANG5 = 148,
SDL_SCANCODE_LANG6 = 149,
SDL_SCANCODE_LANG7 = 150,
SDL_SCANCODE_LANG8 = 151,
SDL_SCANCODE_LANG9 = 152,
SDL_SCANCODE_ALTERASE = 153,
SDL_SCANCODE_SYSREQ = 154,
SDL_SCANCODE_CANCEL = 155,
SDL_SCANCODE_CLEAR = 156,
SDL_SCANCODE_PRIOR = 157,
SDL_SCANCODE_RETURN2 = 158,
SDL_SCANCODE_SEPARATOR = 159,
SDL_SCANCODE_OUT = 160,
SDL_SCANCODE_OPER = 161,
SDL_SCANCODE_CLEARAGAIN = 162,
SDL_SCANCODE_CRSEL = 163,
SDL_SCANCODE_EXSEL = 164,
SDL_SCANCODE_KP_00 = 176,
SDL_SCANCODE_KP_000 = 177,
SDL_SCANCODE_THOUSANDSSEPARATOR = 178,
SDL_SCANCODE_DECIMALSEPARATOR = 179,
SDL_SCANCODE_CURRENCYUNIT = 180,
SDL_SCANCODE_CURRENCYSUBUNIT = 181,
SDL_SCANCODE_KP_LEFTPAREN = 182,
SDL_SCANCODE_KP_RIGHTPAREN = 183,
SDL_SCANCODE_KP_LEFTBRACE = 184,
SDL_SCANCODE_KP_RIGHTBRACE = 185,
SDL_SCANCODE_KP_TAB = 186,
SDL_SCANCODE_KP_BACKSPACE = 187,
SDL_SCANCODE_KP_A = 188,
SDL_SCANCODE_KP_B = 189,
SDL_SCANCODE_KP_C = 190,
SDL_SCANCODE_KP_D = 191,
SDL_SCANCODE_KP_E = 192,
SDL_SCANCODE_KP_F = 193,
SDL_SCANCODE_KP_XOR = 194,
SDL_SCANCODE_KP_POWER = 195,
SDL_SCANCODE_KP_PERCENT = 196,
SDL_SCANCODE_KP_LESS = 197,
SDL_SCANCODE_KP_GREATER = 198,
SDL_SCANCODE_KP_AMPERSAND = 199,
SDL_SCANCODE_KP_DBLAMPERSAND = 200,
SDL_SCANCODE_KP_VERTICALBAR = 201,
SDL_SCANCODE_KP_DBLVERTICALBAR = 202,
SDL_SCANCODE_KP_COLON = 203,
SDL_SCANCODE_KP_HASH = 204,
SDL_SCANCODE_KP_SPACE = 205,
SDL_SCANCODE_KP_AT = 206,
SDL_SCANCODE_KP_EXCLAM = 207,
SDL_SCANCODE_KP_MEMSTORE = 208,
SDL_SCANCODE_KP_MEMRECALL = 209,
SDL_SCANCODE_KP_MEMCLEAR = 210,
SDL_SCANCODE_KP_MEMADD = 211,
SDL_SCANCODE_KP_MEMSUBTRACT = 212,
SDL_SCANCODE_KP_MEMMULTIPLY = 213,
SDL_SCANCODE_KP_MEMDIVIDE = 214,
SDL_SCANCODE_KP_PLUSMINUS = 215,
SDL_SCANCODE_KP_CLEAR = 216,
SDL_SCANCODE_KP_CLEARENTRY = 217,
SDL_SCANCODE_KP_BINARY = 218,
SDL_SCANCODE_KP_OCTAL = 219,
SDL_SCANCODE_KP_DECIMAL = 220,
SDL_SCANCODE_KP_HEXADECIMAL = 221,
SDL_SCANCODE_LCTRL = 224,
SDL_SCANCODE_LSHIFT = 225,
SDL_SCANCODE_LALT = 226,
SDL_SCANCODE_LGUI = 227,
SDL_SCANCODE_RCTRL = 228,
SDL_SCANCODE_RSHIFT = 229,
SDL_SCANCODE_RALT = 230,
SDL_SCANCODE_RGUI = 231,
SDL_SCANCODE_MODE = 257,
SDL_SCANCODE_AUDIONEXT = 258,
SDL_SCANCODE_AUDIOPREV = 259,
SDL_SCANCODE_AUDIOSTOP = 260,
SDL_SCANCODE_AUDIOPLAY = 261,
SDL_SCANCODE_AUDIOMUTE = 262,
SDL_SCANCODE_MEDIASELECT = 263,
SDL_SCANCODE_WWW = 264,
SDL_SCANCODE_MAIL = 265,
SDL_SCANCODE_CALCULATOR = 266,
SDL_SCANCODE_COMPUTER = 267,
SDL_SCANCODE_AC_SEARCH = 268,
SDL_SCANCODE_AC_HOME = 269,
SDL_SCANCODE_AC_BACK = 270,
SDL_SCANCODE_AC_FORWARD = 271,
SDL_SCANCODE_AC_STOP = 272,
SDL_SCANCODE_AC_REFRESH = 273,
SDL_SCANCODE_AC_BOOKMARKS = 274,
SDL_SCANCODE_BRIGHTNESSDOWN = 275,
SDL_SCANCODE_BRIGHTNESSUP = 276,
SDL_SCANCODE_DISPLAYSWITCH = 277,
SDL_SCANCODE_KBDILLUMTOGGLE = 278,
SDL_SCANCODE_KBDILLUMDOWN = 279,
SDL_SCANCODE_KBDILLUMUP = 280,
SDL_SCANCODE_EJECT = 281,
SDL_SCANCODE_SLEEP = 282,
SDL_NUM_SCANCODES = 512
} SDL_Scancode;
#define SDL_ALPHA_OPAQUE ...
#define SDL_ALPHA_TRANSPARENT ...
enum
{
SDL_PIXELTYPE_UNKNOWN,
SDL_PIXELTYPE_INDEX1,
SDL_PIXELTYPE_INDEX4,
SDL_PIXELTYPE_INDEX8,
SDL_PIXELTYPE_PACKED8,
SDL_PIXELTYPE_PACKED16,
SDL_PIXELTYPE_PACKED32,
SDL_PIXELTYPE_ARRAYU8,
SDL_PIXELTYPE_ARRAYU16,
SDL_PIXELTYPE_ARRAYU32,
SDL_PIXELTYPE_ARRAYF16,
SDL_PIXELTYPE_ARRAYF32
};
enum
{
SDL_BITMAPORDER_NONE,
SDL_BITMAPORDER_4321,
SDL_BITMAPORDER_1234
};
enum
{
SDL_PACKEDORDER_NONE,
SDL_PACKEDORDER_XRGB,
SDL_PACKEDORDER_RGBX,
SDL_PACKEDORDER_ARGB,
SDL_PACKEDORDER_RGBA,
SDL_PACKEDORDER_XBGR,
SDL_PACKEDORDER_BGRX,
SDL_PACKEDORDER_ABGR,
SDL_PACKEDORDER_BGRA
};
enum
{
SDL_ARRAYORDER_NONE,
SDL_ARRAYORDER_RGB,
SDL_ARRAYORDER_RGBA,
SDL_ARRAYORDER_ARGB,
SDL_ARRAYORDER_BGR,
SDL_ARRAYORDER_BGRA,
SDL_ARRAYORDER_ABGR
};
enum
{
SDL_PACKEDLAYOUT_NONE,
SDL_PACKEDLAYOUT_332,
SDL_PACKEDLAYOUT_4444,
SDL_PACKEDLAYOUT_1555,
SDL_PACKEDLAYOUT_5551,
SDL_PACKEDLAYOUT_565,
SDL_PACKEDLAYOUT_8888,
SDL_PACKEDLAYOUT_2101010,
SDL_PACKEDLAYOUT_1010102
};
typedef struct SDL_Color
{
Uint8 r;
Uint8 g;
Uint8 b;
Uint8 unused;
} SDL_Color;
typedef struct SDL_Palette
{
int ncolors;
SDL_Color *colors;
Uint32 version;
int refcount;
} SDL_Palette;
typedef struct SDL_PixelFormat
{
Uint32 format;
SDL_Palette *palette;
Uint8 BitsPerPixel;
Uint8 BytesPerPixel;
Uint8 padding[2];
Uint32 Rmask;
Uint32 Gmask;
Uint32 Bmask;
Uint32 Amask;
Uint8 Rloss;
Uint8 Gloss;
Uint8 Bloss;
Uint8 Aloss;
Uint8 Rshift;
Uint8 Gshift;
Uint8 Bshift;
Uint8 Ashift;
int refcount;
struct SDL_PixelFormat *next;
} SDL_PixelFormat;
extern const char* SDL_GetPixelFormatName(Uint32 format);
extern SDL_bool SDL_PixelFormatEnumToMasks(Uint32 format,
int *bpp,
Uint32 * Rmask,
Uint32 * Gmask,
Uint32 * Bmask,
Uint32 * Amask);
extern Uint32 SDL_MasksToPixelFormatEnum(int bpp,
Uint32 Rmask,
Uint32 Gmask,
Uint32 Bmask,
Uint32 Amask);
extern SDL_PixelFormat * SDL_AllocFormat(Uint32 pixel_format);
extern void SDL_FreeFormat(SDL_PixelFormat *format);
extern SDL_Palette * SDL_AllocPalette(int ncolors);
extern int SDL_SetPixelFormatPalette(SDL_PixelFormat * format,
SDL_Palette *palette);
extern int SDL_SetPaletteColors(SDL_Palette * palette,
const SDL_Color * colors,
int firstcolor, int ncolors);
extern void SDL_FreePalette(SDL_Palette * palette);
extern Uint32 SDL_MapRGB(const SDL_PixelFormat * format,
Uint8 r, Uint8 g, Uint8 b);
extern Uint32 SDL_MapRGBA(const SDL_PixelFormat * format,
Uint8 r, Uint8 g, Uint8 b,
Uint8 a);
extern void SDL_GetRGB(Uint32 pixel,
const SDL_PixelFormat * format,
Uint8 * r, Uint8 * g, Uint8 * b);
extern void SDL_GetRGBA(Uint32 pixel,
const SDL_PixelFormat * format,
Uint8 * r, Uint8 * g, Uint8 * b,
Uint8 * a);
extern void SDL_CalculateGammaRamp(float gamma, Uint16 * ramp);
typedef struct
{
int x;
int y;
} SDL_Point;
typedef struct SDL_Rect
{
int x, y;
int w, h;
} SDL_Rect;
extern SDL_bool SDL_HasIntersection(const SDL_Rect * A,
const SDL_Rect * B);
extern SDL_bool SDL_IntersectRect(const SDL_Rect * A,
const SDL_Rect * B,
SDL_Rect * result);
extern void SDL_UnionRect(const SDL_Rect * A,
const SDL_Rect * B,
SDL_Rect * result);
extern SDL_bool SDL_EnclosePoints(const SDL_Point * points,
int count,
const SDL_Rect * clip,
SDL_Rect * result);
extern SDL_bool SDL_IntersectRectAndLine(const SDL_Rect *
rect, int *X1,
int *Y1, int *X2,
int *Y2);
typedef struct file_p FILE;
typedef struct SDL_RWops
{
long ( * seek) (struct SDL_RWops * context, long offset,
int whence);
size_t( * read) (struct SDL_RWops * context, void *ptr,
size_t size, size_t maxnum);
size_t( * write) (struct SDL_RWops * context, const void *ptr,
size_t size, size_t num);
int ( * close) (struct SDL_RWops * context);
Uint32 type;
union
{
struct
{
SDL_bool autoclose;
FILE *fp;
} stdio;
struct
{
Uint8 *base;
Uint8 *here;
Uint8 *stop;
} mem;
struct
{
void *data1;
} unknown;
} hidden;
} SDL_RWops;
extern SDL_RWops * SDL_RWFromFile(const char *file,
const char *mode);
extern SDL_RWops * SDL_RWFromFP(FILE * fp,
SDL_bool autoclose);
extern SDL_RWops * SDL_RWFromMem(void *mem, int size);
extern SDL_RWops * SDL_RWFromConstMem(const void *mem,
int size);
extern SDL_RWops * SDL_AllocRW(void);
extern void SDL_FreeRW(SDL_RWops * area);
#define RW_SEEK_SET ...
#define RW_SEEK_CUR ...
#define RW_SEEK_END ...
extern Uint16 SDL_ReadLE16(SDL_RWops * src);
extern Uint16 SDL_ReadBE16(SDL_RWops * src);
extern Uint32 SDL_ReadLE32(SDL_RWops * src);
extern Uint32 SDL_ReadBE32(SDL_RWops * src);
extern Uint64 SDL_ReadLE64(SDL_RWops * src);
extern Uint64 SDL_ReadBE64(SDL_RWops * src);
extern size_t SDL_WriteLE16(SDL_RWops * dst, Uint16 value);
extern size_t SDL_WriteBE16(SDL_RWops * dst, Uint16 value);
extern size_t SDL_WriteLE32(SDL_RWops * dst, Uint32 value);
extern size_t SDL_WriteBE32(SDL_RWops * dst, Uint32 value);
extern size_t SDL_WriteLE64(SDL_RWops * dst, Uint64 value);
extern size_t SDL_WriteBE64(SDL_RWops * dst, Uint64 value);
#define SDL_SWSURFACE ...
#define SDL_PREALLOC ...
#define SDL_RLEACCEL ...
#define SDL_DONTFREE ...
typedef struct SDL_Surface
{
Uint32 flags;
SDL_PixelFormat *format;
int w, h;
int pitch;
void *pixels;
void *userdata;
int locked;
void *lock_data;
SDL_Rect clip_rect;
struct SDL_BlitMap *map;
int refcount;
} SDL_Surface;
typedef int (*SDL_blit) (struct SDL_Surface * src, SDL_Rect * srcrect,
struct SDL_Surface * dst, SDL_Rect * dstrect);
extern SDL_Surface * SDL_CreateRGBSurface
(Uint32 flags, int width, int height, int depth,
Uint32 Rmask, Uint32 Gmask, Uint32 Bmask, Uint32 Amask);
extern SDL_Surface * SDL_CreateRGBSurfaceFrom(void *pixels,
int width,
int height,
int depth,
int pitch,
Uint32 Rmask,
Uint32 Gmask,
Uint32 Bmask,
Uint32 Amask);
extern void SDL_FreeSurface(SDL_Surface * surface);
extern int SDL_SetSurfacePalette(SDL_Surface * surface,
SDL_Palette * palette);
extern int SDL_LockSurface(SDL_Surface * surface);
extern void SDL_UnlockSurface(SDL_Surface * surface);
extern SDL_Surface * SDL_LoadBMP_RW(SDL_RWops * src,
int freesrc);
extern int SDL_SaveBMP_RW
(SDL_Surface * surface, SDL_RWops * dst, int freedst);
extern int SDL_SetSurfaceRLE(SDL_Surface * surface,
int flag);
extern int SDL_SetColorKey(SDL_Surface * surface,
int flag, Uint32 key);
extern int SDL_GetColorKey(SDL_Surface * surface,
Uint32 * key);
extern int SDL_SetSurfaceColorMod(SDL_Surface * surface,
Uint8 r, Uint8 g, Uint8 b);
extern int SDL_GetSurfaceColorMod(SDL_Surface * surface,
Uint8 * r, Uint8 * g,
Uint8 * b);
extern int SDL_SetSurfaceAlphaMod(SDL_Surface * surface,
Uint8 alpha);
extern int SDL_GetSurfaceAlphaMod(SDL_Surface * surface,
Uint8 * alpha);
extern int SDL_SetSurfaceBlendMode(SDL_Surface * surface,
SDL_BlendMode blendMode);
extern int SDL_GetSurfaceBlendMode(SDL_Surface * surface,
SDL_BlendMode *blendMode);
extern SDL_bool SDL_SetClipRect(SDL_Surface * surface,
const SDL_Rect * rect);
extern void SDL_GetClipRect(SDL_Surface * surface,
SDL_Rect * rect);
extern SDL_Surface * SDL_ConvertSurface
(SDL_Surface * src, SDL_PixelFormat * fmt, Uint32 flags);
extern SDL_Surface * SDL_ConvertSurfaceFormat
(SDL_Surface * src, Uint32 pixel_format, Uint32 flags);
extern int SDL_ConvertPixels(int width, int height,
Uint32 src_format,
const void * src, int src_pitch,
Uint32 dst_format,
void * dst, int dst_pitch);
extern int SDL_FillRect
(SDL_Surface * dst, const SDL_Rect * rect, Uint32 color);
extern int SDL_FillRects
(SDL_Surface * dst, const SDL_Rect * rects, int count, Uint32 color);
extern int SDL_UpperBlit
(SDL_Surface * src, const SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect);
extern int SDL_LowerBlit
(SDL_Surface * src, SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect);
extern int SDL_SoftStretch(SDL_Surface * src,
const SDL_Rect * srcrect,
SDL_Surface * dst,
const SDL_Rect * dstrect);
extern int SDL_UpperBlitScaled
(SDL_Surface * src, const SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect);
extern int SDL_LowerBlitScaled
(SDL_Surface * src, SDL_Rect * srcrect,
SDL_Surface * dst, SDL_Rect * dstrect);
typedef Sint32 SDL_Keycode;
#define SDLK_SCANCODE_MASK ...
#define SDLK_UNKNOWN ...
#define SDLK_RETURN ...
#define SDLK_ESCAPE ...
#define SDLK_BACKSPACE ...
#define SDLK_TAB ...
#define SDLK_SPACE ...
#define SDLK_EXCLAIM ...
#define SDLK_QUOTEDBL ...
#define SDLK_HASH ...
#define SDLK_PERCENT ...
#define SDLK_DOLLAR ...
#define SDLK_AMPERSAND ...
#define SDLK_QUOTE ...
#define SDLK_LEFTPAREN ...
#define SDLK_RIGHTPAREN ...
#define SDLK_ASTERISK ...
#define SDLK_PLUS ...
#define SDLK_COMMA ...
#define SDLK_MINUS ...
#define SDLK_PERIOD ...
#define SDLK_SLASH ...
#define SDLK_0 ...
#define SDLK_1 ...
#define SDLK_2 ...
#define SDLK_3 ...
#define SDLK_4 ...
#define SDLK_5 ...
#define SDLK_6 ...
#define SDLK_7 ...
#define SDLK_8 ...
#define SDLK_9 ...
#define SDLK_COLON ...
#define SDLK_SEMICOLON ...
#define SDLK_LESS ...
#define SDLK_EQUALS ...
#define SDLK_GREATER ...
#define SDLK_QUESTION ...
#define SDLK_AT ...
#define SDLK_LEFTBRACKET ...
#define SDLK_BACKSLASH ...
#define SDLK_RIGHTBRACKET ...
#define SDLK_CARET ...
#define SDLK_UNDERSCORE ...
#define SDLK_BACKQUOTE ...
#define SDLK_a ...
#define SDLK_b ...
#define SDLK_c ...
#define SDLK_d ...
#define SDLK_e ...
#define SDLK_f ...
#define SDLK_g ...
#define SDLK_h ...
#define SDLK_i ...
#define SDLK_j ...
#define SDLK_k ...
#define SDLK_l ...
#define SDLK_m ...
#define SDLK_n ...
#define SDLK_o ...
#define SDLK_p ...
#define SDLK_q ...
#define SDLK_r ...
#define SDLK_s ...
#define SDLK_t ...
#define SDLK_u ...
#define SDLK_v ...
#define SDLK_w ...
#define SDLK_x ...
#define SDLK_y ...
#define SDLK_z ...
#define SDLK_CAPSLOCK ...
#define SDLK_F1 ...
#define SDLK_F2 ...
#define SDLK_F3 ...
#define SDLK_F4 ...
#define SDLK_F5 ...
#define SDLK_F6 ...
#define SDLK_F7 ...
#define SDLK_F8 ...
#define SDLK_F9 ...
#define SDLK_F10 ...
#define SDLK_F11 ...
#define SDLK_F12 ...
#define SDLK_PRINTSCREEN ...
#define SDLK_SCROLLLOCK ...
#define SDLK_PAUSE ...
#define SDLK_INSERT ...
#define SDLK_HOME ...
#define SDLK_PAGEUP ...
#define SDLK_DELETE ...
#define SDLK_END ...
#define SDLK_PAGEDOWN ...
#define SDLK_RIGHT ...
#define SDLK_LEFT ...
#define SDLK_DOWN ...
#define SDLK_UP ...
#define SDLK_NUMLOCKCLEAR ...
#define SDLK_KP_DIVIDE ...
#define SDLK_KP_MULTIPLY ...
#define SDLK_KP_MINUS ...
#define SDLK_KP_PLUS ...
#define SDLK_KP_ENTER ...
#define SDLK_KP_1 ...
#define SDLK_KP_2 ...
#define SDLK_KP_3 ...
#define SDLK_KP_4 ...
#define SDLK_KP_5 ...
#define SDLK_KP_6 ...
#define SDLK_KP_7 ...
#define SDLK_KP_8 ...
#define SDLK_KP_9 ...
#define SDLK_KP_0 ...
#define SDLK_KP_PERIOD ...
#define SDLK_APPLICATION ...
#define SDLK_POWER ...
#define SDLK_KP_EQUALS ...
#define SDLK_F13 ...
#define SDLK_F14 ...
#define SDLK_F15 ...
#define SDLK_F16 ...
#define SDLK_F17 ...
#define SDLK_F18 ...
#define SDLK_F19 ...
#define SDLK_F20 ...
#define SDLK_F21 ...
#define SDLK_F22 ...
#define SDLK_F23 ...
#define SDLK_F24 ...
#define SDLK_EXECUTE ...
#define SDLK_HELP ...
#define SDLK_MENU ...
#define SDLK_SELECT ...
#define SDLK_STOP ...
#define SDLK_AGAIN ...
#define SDLK_UNDO ...
#define SDLK_CUT ...
#define SDLK_COPY ...
#define SDLK_PASTE ...
#define SDLK_FIND ...
#define SDLK_MUTE ...
#define SDLK_VOLUMEUP ...
#define SDLK_VOLUMEDOWN ...
#define SDLK_KP_COMMA ...
#define SDLK_KP_EQUALSAS400 ...
#define SDLK_ALTERASE ...
#define SDLK_SYSREQ ...
#define SDLK_CANCEL ...
#define SDLK_CLEAR ...
#define SDLK_PRIOR ...
#define SDLK_RETURN2 ...
#define SDLK_SEPARATOR ...
#define SDLK_OUT ...
#define SDLK_OPER ...
#define SDLK_CLEARAGAIN ...
#define SDLK_CRSEL ...
#define SDLK_EXSEL ...
#define SDLK_KP_00 ...
#define SDLK_KP_000 ...
#define SDLK_THOUSANDSSEPARATOR ...
#define SDLK_DECIMALSEPARATOR ...
#define SDLK_CURRENCYUNIT ...
#define SDLK_CURRENCYSUBUNIT ...
#define SDLK_KP_LEFTPAREN ...
#define SDLK_KP_RIGHTPAREN ...
#define SDLK_KP_LEFTBRACE ...
#define SDLK_KP_RIGHTBRACE ...
#define SDLK_KP_TAB ...
#define SDLK_KP_BACKSPACE ...
#define SDLK_KP_A ...
#define SDLK_KP_B ...
#define SDLK_KP_C ...
#define SDLK_KP_D ...
#define SDLK_KP_E ...
#define SDLK_KP_F ...
#define SDLK_KP_XOR ...
#define SDLK_KP_POWER ...
#define SDLK_KP_PERCENT ...
#define SDLK_KP_LESS ...
#define SDLK_KP_GREATER ...
#define SDLK_KP_AMPERSAND ...
#define SDLK_KP_DBLAMPERSAND ...
#define SDLK_KP_VERTICALBAR ...
#define SDLK_KP_DBLVERTICALBAR ...
#define SDLK_KP_COLON ...
#define SDLK_KP_HASH ...
#define SDLK_KP_SPACE ...
#define SDLK_KP_AT ...
#define SDLK_KP_EXCLAM ...
#define SDLK_KP_MEMSTORE ...
#define SDLK_KP_MEMRECALL ...
#define SDLK_KP_MEMCLEAR ...
#define SDLK_KP_MEMADD ...
#define SDLK_KP_MEMSUBTRACT ...
#define SDLK_KP_MEMMULTIPLY ...
#define SDLK_KP_MEMDIVIDE ...
#define SDLK_KP_PLUSMINUS ...
#define SDLK_KP_CLEAR ...
#define SDLK_KP_CLEARENTRY ...
#define SDLK_KP_BINARY ...
#define SDLK_KP_OCTAL ...
#define SDLK_KP_DECIMAL ...
#define SDLK_KP_HEXADECIMAL ...
#define SDLK_LCTRL ...
#define SDLK_LSHIFT ...
#define SDLK_LALT ...
#define SDLK_LGUI ...
#define SDLK_RCTRL ...
#define SDLK_RSHIFT ...
#define SDLK_RALT ...
#define SDLK_RGUI ...
#define SDLK_MODE ...
#define SDLK_AUDIONEXT ...
#define SDLK_AUDIOPREV ...
#define SDLK_AUDIOSTOP ...
#define SDLK_AUDIOPLAY ...
#define SDLK_AUDIOMUTE ...
#define SDLK_MEDIASELECT ...
#define SDLK_WWW ...
#define SDLK_MAIL ...
#define SDLK_CALCULATOR ...
#define SDLK_COMPUTER ...
#define SDLK_AC_SEARCH ...
#define SDLK_AC_HOME ...
#define SDLK_AC_BACK ...
#define SDLK_AC_FORWARD ...
#define SDLK_AC_STOP ...
#define SDLK_AC_REFRESH ...
#define SDLK_AC_BOOKMARKS ...
#define SDLK_BRIGHTNESSDOWN ...
#define SDLK_BRIGHTNESSUP ...
#define SDLK_DISPLAYSWITCH ...
#define SDLK_KBDILLUMTOGGLE ...
#define SDLK_KBDILLUMDOWN ...
#define SDLK_KBDILLUMUP ...
#define SDLK_EJECT ...
#define SDLK_SLEEP ...
typedef enum
{
KMOD_NONE = 0x0000,
KMOD_LSHIFT = 0x0001,
KMOD_RSHIFT = 0x0002,
KMOD_LCTRL = 0x0040,
KMOD_RCTRL = 0x0080,
KMOD_LALT = 0x0100,
KMOD_RALT = 0x0200,
KMOD_LGUI = 0x0400,
KMOD_RGUI = 0x0800,
KMOD_NUM = 0x1000,
KMOD_CAPS = 0x2000,
KMOD_MODE = 0x4000,
KMOD_RESERVED = 0x8000
} SDL_Keymod;
#define KMOD_CTRL ...
#define KMOD_SHIFT ...
#define KMOD_ALT ...
#define KMOD_GUI ...
extern void SDL_SetError(const char *fmt, ...);
extern const char * SDL_GetError(void);
extern void SDL_ClearError(void);
typedef enum
{
SDL_ENOMEM,
SDL_EFREAD,
SDL_EFWRITE,
SDL_EFSEEK,
SDL_UNSUPPORTED,
SDL_LASTERROR
} SDL_errorcode;
extern void SDL_Error(SDL_errorcode code);
typedef struct
{
Uint32 format;
int w;
int h;
int refresh_rate;
void *driverdata;
} SDL_DisplayMode;
typedef struct SDL_Window SDL_Window;
typedef enum SDL_WindowFlags
{
SDL_WINDOW_FULLSCREEN = 0x00000001,
SDL_WINDOW_OPENGL = 0x00000002,
SDL_WINDOW_SHOWN = 0x00000004,
SDL_WINDOW_HIDDEN = 0x00000008,
SDL_WINDOW_BORDERLESS = 0x00000010,
SDL_WINDOW_RESIZABLE = 0x00000020,
SDL_WINDOW_MINIMIZED = 0x00000040,
SDL_WINDOW_MAXIMIZED = 0x00000080,
SDL_WINDOW_INPUT_GRABBED = 0x00000100,
SDL_WINDOW_INPUT_FOCUS = 0x00000200,
SDL_WINDOW_MOUSE_FOCUS = 0x00000400,
SDL_WINDOW_FOREIGN = 0x00000800
} SDL_WindowFlags;
#define SDL_WINDOWPOS_UNDEFINED_MASK ...
#define SDL_WINDOWPOS_UNDEFINED ...
#define SDL_WINDOWPOS_CENTERED_MASK ...
#define SDL_WINDOWPOS_CENTERED ...
typedef enum SDL_WindowEventID
{
SDL_WINDOWEVENT_NONE,
SDL_WINDOWEVENT_SHOWN,
SDL_WINDOWEVENT_HIDDEN,
SDL_WINDOWEVENT_EXPOSED,
SDL_WINDOWEVENT_MOVED,
SDL_WINDOWEVENT_RESIZED,
SDL_WINDOWEVENT_SIZE_CHANGED,
SDL_WINDOWEVENT_MINIMIZED,
SDL_WINDOWEVENT_MAXIMIZED,
SDL_WINDOWEVENT_RESTORED,
SDL_WINDOWEVENT_ENTER,
SDL_WINDOWEVENT_LEAVE,
SDL_WINDOWEVENT_FOCUS_GAINED,
SDL_WINDOWEVENT_FOCUS_LOST,
SDL_WINDOWEVENT_CLOSE
} SDL_WindowEventID;
typedef void *SDL_GLContext;
typedef enum SDL_GLattr
{
SDL_GL_RED_SIZE,
SDL_GL_GREEN_SIZE,
SDL_GL_BLUE_SIZE,
SDL_GL_ALPHA_SIZE,
SDL_GL_BUFFER_SIZE,
SDL_GL_DOUBLEBUFFER,
SDL_GL_DEPTH_SIZE,
SDL_GL_STENCIL_SIZE,
SDL_GL_ACCUM_RED_SIZE,
SDL_GL_ACCUM_GREEN_SIZE,
SDL_GL_ACCUM_BLUE_SIZE,
SDL_GL_ACCUM_ALPHA_SIZE,
SDL_GL_STEREO,
SDL_GL_MULTISAMPLEBUFFERS,
SDL_GL_MULTISAMPLESAMPLES,
SDL_GL_ACCELERATED_VISUAL,
SDL_GL_RETAINED_BACKING,
SDL_GL_CONTEXT_MAJOR_VERSION,
SDL_GL_CONTEXT_MINOR_VERSION,
SDL_GL_CONTEXT_EGL,
SDL_GL_CONTEXT_FLAGS,
SDL_GL_CONTEXT_PROFILE_MASK,
SDL_GL_SHARE_WITH_CURRENT_CONTEXT
} SDL_GLattr;
typedef enum SDL_GLprofile
{
SDL_GL_CONTEXT_PROFILE_CORE = 0x0001,
SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = 0x0002,
SDL_GL_CONTEXT_PROFILE_ES = 0x0004
} SDL_GLprofile;
typedef enum SDL_GLcontextFlag
{
SDL_GL_CONTEXT_DEBUG_FLAG = 0x0001,
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 0x0002,
SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 0x0004,
SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 0x0008
} SDL_GLcontextFlag;
extern int SDL_GetNumVideoDrivers(void);
extern const char * SDL_GetVideoDriver(int index);
extern int SDL_VideoInit(const char *driver_name);
extern void SDL_VideoQuit(void);
extern const char * SDL_GetCurrentVideoDriver(void);
extern int SDL_GetNumVideoDisplays(void);
extern int SDL_GetDisplayBounds(int displayIndex, SDL_Rect * rect);
extern int SDL_GetNumDisplayModes(int displayIndex);
extern int SDL_GetDisplayMode(int displayIndex, int modeIndex,
SDL_DisplayMode * mode);
extern int SDL_GetDesktopDisplayMode(int displayIndex, SDL_DisplayMode * mode);
extern int SDL_GetCurrentDisplayMode(int displayIndex, SDL_DisplayMode * mode);
extern SDL_DisplayMode * SDL_GetClosestDisplayMode(int displayIndex, const SDL_DisplayMode * mode, SDL_DisplayMode * closest);
extern int SDL_GetWindowDisplay(SDL_Window * window);
extern int SDL_SetWindowDisplayMode(SDL_Window * window,
const SDL_DisplayMode
* mode);
extern int SDL_GetWindowDisplayMode(SDL_Window * window,
SDL_DisplayMode * mode);
extern Uint32 SDL_GetWindowPixelFormat(SDL_Window * window);
extern SDL_Window * SDL_CreateWindow(const char *title,
int x, int y, int w,
int h, Uint32 flags);
extern SDL_Window * SDL_CreateWindowFrom(const void *data);
extern Uint32 SDL_GetWindowID(SDL_Window * window);
extern SDL_Window * SDL_GetWindowFromID(Uint32 id);
extern Uint32 SDL_GetWindowFlags(SDL_Window * window);
extern void SDL_SetWindowTitle(SDL_Window * window,
const char *title);
extern const char * SDL_GetWindowTitle(SDL_Window * window);
extern void SDL_SetWindowIcon(SDL_Window * window,
SDL_Surface * icon);
extern void* SDL_SetWindowData(SDL_Window * window,
const char *name,
void *userdata);
extern void * SDL_GetWindowData(SDL_Window * window,
const char *name);
extern void SDL_SetWindowPosition(SDL_Window * window,
int x, int y);
extern void SDL_GetWindowPosition(SDL_Window * window,
int *x, int *y);
extern void SDL_SetWindowSize(SDL_Window * window, int w,
int h);
extern void SDL_GetWindowSize(SDL_Window * window, int *w,
int *h);
extern void SDL_ShowWindow(SDL_Window * window);
extern void SDL_HideWindow(SDL_Window * window);
extern void SDL_RaiseWindow(SDL_Window * window);
extern void SDL_MaximizeWindow(SDL_Window * window);
extern void SDL_MinimizeWindow(SDL_Window * window);
extern void SDL_RestoreWindow(SDL_Window * window);
extern int SDL_SetWindowFullscreen(SDL_Window * window,
SDL_bool fullscreen);
extern SDL_Surface * SDL_GetWindowSurface(SDL_Window * window);
extern int SDL_UpdateWindowSurface(SDL_Window * window);
extern int SDL_UpdateWindowSurfaceRects(SDL_Window * window,
SDL_Rect * rects,
int numrects);
extern void SDL_SetWindowGrab(SDL_Window * window,
SDL_bool grabbed);
extern SDL_bool SDL_GetWindowGrab(SDL_Window * window);
extern int SDL_SetWindowBrightness(SDL_Window * window, float brightness);
extern float SDL_GetWindowBrightness(SDL_Window * window);
extern int SDL_SetWindowGammaRamp(SDL_Window * window,
const Uint16 * red,
const Uint16 * green,
const Uint16 * blue);
extern int SDL_GetWindowGammaRamp(SDL_Window * window,
Uint16 * red,
Uint16 * green,
Uint16 * blue);
extern void SDL_DestroyWindow(SDL_Window * window);
extern SDL_bool SDL_IsScreenSaverEnabled(void);
extern void SDL_EnableScreenSaver(void);
extern void SDL_DisableScreenSaver(void);
extern int SDL_GL_LoadLibrary(const char *path);
extern void * SDL_GL_GetProcAddress(const char *proc);
extern void SDL_GL_UnloadLibrary(void);
extern SDL_bool SDL_GL_ExtensionSupported(const char
*extension);
extern int SDL_GL_SetAttribute(SDL_GLattr attr, int value);
extern int SDL_GL_GetAttribute(SDL_GLattr attr, int *value);
extern SDL_GLContext SDL_GL_CreateContext(SDL_Window *
window);
extern int SDL_GL_MakeCurrent(SDL_Window * window,
SDL_GLContext context);
extern int SDL_GL_SetSwapInterval(int interval);
extern int SDL_GL_GetSwapInterval(void);
extern void SDL_GL_SwapWindow(SDL_Window * window);
extern void SDL_GL_DeleteContext(SDL_GLContext context);
typedef struct SDL_Keysym
{
SDL_Scancode scancode;
SDL_Keycode sym;
Uint16 mod;
Uint32 unicode;
} SDL_Keysym;
extern SDL_Window * SDL_GetKeyboardFocus(void);
extern Uint8 * SDL_GetKeyboardState(int *numkeys);
extern SDL_Keymod SDL_GetModState(void);
extern void SDL_SetModState(SDL_Keymod modstate);
extern SDL_Keycode SDL_GetKeyFromScancode(SDL_Scancode scancode);
extern SDL_Scancode SDL_GetScancodeFromKey(SDL_Keycode key);
extern const char * SDL_GetScancodeName(SDL_Scancode scancode);
extern SDL_Scancode SDL_GetScancodeFromName(const char *name);
extern const char * SDL_GetKeyName(SDL_Keycode key);
extern SDL_Keycode SDL_GetKeyFromName(const char *name);
extern void SDL_StartTextInput(void);
extern void SDL_StopTextInput(void);
extern void SDL_SetTextInputRect(SDL_Rect *rect);
extern SDL_bool SDL_HasScreenKeyboardSupport(SDL_Window *window);
extern int SDL_ShowScreenKeyboard(SDL_Window *window);
extern int SDL_HideScreenKeyboard(SDL_Window *window);
extern int SDL_ToggleScreenKeyboard(SDL_Window * window);
extern SDL_bool SDL_IsScreenKeyboardShown(SDL_Window *window);
typedef struct SDL_Cursor SDL_Cursor;
extern SDL_Window * SDL_GetMouseFocus(void);
extern Uint8 SDL_GetMouseState(int *x, int *y);
extern Uint8 SDL_GetRelativeMouseState(int *x, int *y);
extern void SDL_WarpMouseInWindow(SDL_Window * window,
int x, int y);
extern int SDL_SetRelativeMouseMode(SDL_bool enabled);
extern SDL_bool SDL_GetRelativeMouseMode(void);
extern SDL_Cursor * SDL_CreateCursor(const Uint8 * data,
const Uint8 * mask,
int w, int h, int hot_x,
int hot_y);
extern SDL_Cursor * SDL_CreateColorCursor(SDL_Surface *surface,
int hot_x,
int hot_y);
extern void SDL_SetCursor(SDL_Cursor * cursor);
extern SDL_Cursor * SDL_GetCursor(void);
extern void SDL_FreeCursor(SDL_Cursor * cursor);
extern int SDL_ShowCursor(int toggle);
#define SDL_BUTTON_LEFT ...
#define SDL_BUTTON_MIDDLE ...
#define SDL_BUTTON_RIGHT ...
#define SDL_BUTTON_X1 ...
#define SDL_BUTTON_X2 ...
#define SDL_BUTTON_LMASK ...
#define SDL_BUTTON_MMASK ...
#define SDL_BUTTON_RMASK ...
#define SDL_BUTTON_X1MASK ...
#define SDL_BUTTON_X2MASK ...
struct _SDL_Joystick;
typedef struct _SDL_Joystick SDL_Joystick;
extern int SDL_NumJoysticks(void);
extern const char * SDL_JoystickName(int device_index);
extern SDL_Joystick * SDL_JoystickOpen(int device_index);
extern int SDL_JoystickOpened(int device_index);
extern int SDL_JoystickIndex(SDL_Joystick * joystick);
extern int SDL_JoystickNumAxes(SDL_Joystick * joystick);
extern int SDL_JoystickNumBalls(SDL_Joystick * joystick);
extern int SDL_JoystickNumHats(SDL_Joystick * joystick);
extern int SDL_JoystickNumButtons(SDL_Joystick * joystick);
extern void SDL_JoystickUpdate(void);
extern int SDL_JoystickEventState(int state);
extern Sint16 SDL_JoystickGetAxis(SDL_Joystick * joystick,
int axis);
#define SDL_HAT_CENTERED ...
#define SDL_HAT_UP ...
#define SDL_HAT_RIGHT ...
#define SDL_HAT_DOWN ...
#define SDL_HAT_LEFT ...
#define SDL_HAT_RIGHTUP ...
#define SDL_HAT_RIGHTDOWN ...
#define SDL_HAT_LEFTUP ...
#define SDL_HAT_LEFTDOWN ...
extern Uint8 SDL_JoystickGetHat(SDL_Joystick * joystick,
int hat);
extern int SDL_JoystickGetBall(SDL_Joystick * joystick,
int ball, int *dx, int *dy);
extern Uint8 SDL_JoystickGetButton(SDL_Joystick * joystick,
int button);
extern void SDL_JoystickClose(SDL_Joystick * joystick);
typedef Sint64 SDL_TouchID;
typedef Sint64 SDL_FingerID;
struct SDL_Finger {
SDL_FingerID id;
Uint16 x;
Uint16 y;
Uint16 pressure;
Uint16 xdelta;
Uint16 ydelta;
Uint16 last_x, last_y,last_pressure;
SDL_bool down;
};
typedef struct SDL_Touch SDL_Touch;
typedef struct SDL_Finger SDL_Finger;
struct SDL_Touch {
void (*FreeTouch) (SDL_Touch * touch);
float pressure_max, pressure_min;
float x_max,x_min;
float y_max,y_min;
Uint16 xres,yres,pressureres;
float native_xres,native_yres,native_pressureres;
float tilt_x;
float tilt_y;
float rotation;
SDL_TouchID id;
SDL_Window *focus;
char *name;
Uint8 buttonstate;
SDL_bool relative_mode;
SDL_bool flush_motion;
int num_fingers;
int max_fingers;
SDL_Finger** fingers;
void *driverdata;
};
extern SDL_Touch* SDL_GetTouch(SDL_TouchID id);
extern
SDL_Finger* SDL_GetFinger(SDL_Touch *touch, SDL_FingerID id);
typedef Sint64 SDL_GestureID;
extern int SDL_RecordGesture(SDL_TouchID touchId);
extern int SDL_SaveAllDollarTemplates(SDL_RWops *src);
extern int SDL_SaveDollarTemplate(SDL_GestureID gestureId,SDL_RWops *src);
extern int SDL_LoadDollarTemplates(SDL_TouchID touchId, SDL_RWops *src);
#define SDL_RELEASED ...
#define SDL_PRESSED ...
typedef enum
{
SDL_FIRSTEVENT = 0,
SDL_QUIT = 0x100,
SDL_WINDOWEVENT = 0x200,
SDL_SYSWMEVENT,
SDL_KEYDOWN = 0x300,
SDL_KEYUP,
SDL_TEXTEDITING,
SDL_TEXTINPUT,
SDL_MOUSEMOTION = 0x400,
SDL_MOUSEBUTTONDOWN,
SDL_MOUSEBUTTONUP,
SDL_MOUSEWHEEL,
SDL_INPUTMOTION = 0x500,
SDL_INPUTBUTTONDOWN,
SDL_INPUTBUTTONUP,
SDL_INPUTWHEEL,
SDL_INPUTPROXIMITYIN,
SDL_INPUTPROXIMITYOUT,
SDL_JOYAXISMOTION = 0x600,
SDL_JOYBALLMOTION,
SDL_JOYHATMOTION,
SDL_JOYBUTTONDOWN,
SDL_JOYBUTTONUP,
SDL_FINGERDOWN = 0x700,
SDL_FINGERUP,
SDL_FINGERMOTION,
SDL_TOUCHBUTTONDOWN,
SDL_TOUCHBUTTONUP,
SDL_DOLLARGESTURE = 0x800,
SDL_DOLLARRECORD,
SDL_MULTIGESTURE,
SDL_CLIPBOARDUPDATE = 0x900,
SDL_DROPFILE = 0x1000,
SDL_USEREVENT = 0x8000,
SDL_LASTEVENT = 0xFFFF
} SDL_EventType;
typedef struct SDL_WindowEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
Uint8 event;
Uint8 padding1;
Uint8 padding2;
Uint8 padding3;
int data1;
int data2;
} SDL_WindowEvent;
typedef struct SDL_KeyboardEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
Uint8 state;
Uint8 repeat;
Uint8 padding2;
Uint8 padding3;
SDL_Keysym keysym;
} SDL_KeyboardEvent;
#define SDL_TEXTEDITINGEVENT_TEXT_SIZE ...
typedef struct SDL_TextEditingEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
char text[32];
int start;
int length;
} SDL_TextEditingEvent;
#define SDL_TEXTINPUTEVENT_TEXT_SIZE ...
typedef struct SDL_TextInputEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
char text[32];
} SDL_TextInputEvent;
typedef struct SDL_MouseMotionEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
Uint8 state;
Uint8 padding1;
Uint8 padding2;
Uint8 padding3;
int x;
int y;
int xrel;
int yrel;
} SDL_MouseMotionEvent;
typedef struct SDL_MouseButtonEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
Uint8 button;
Uint8 state;
Uint8 padding1;
Uint8 padding2;
int x;
int y;
} SDL_MouseButtonEvent;
typedef struct SDL_MouseWheelEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
int x;
int y;
} SDL_MouseWheelEvent;
typedef struct SDL_JoyAxisEvent
{
Uint32 type;
Uint32 timestamp;
Uint8 which;
Uint8 axis;
Uint8 padding1;
Uint8 padding2;
int value;
} SDL_JoyAxisEvent;
typedef struct SDL_JoyBallEvent
{
Uint32 type;
Uint32 timestamp;
Uint8 which;
Uint8 ball;
Uint8 padding1;
Uint8 padding2;
int xrel;
int yrel;
} SDL_JoyBallEvent;
typedef struct SDL_JoyHatEvent
{
Uint32 type;
Uint32 timestamp;
Uint8 which;
Uint8 hat;
Uint8 value;
Uint8 padding1;
} SDL_JoyHatEvent;
typedef struct SDL_JoyButtonEvent
{
Uint32 type;
Uint32 timestamp;
Uint8 which;
Uint8 button;
Uint8 state;
Uint8 padding1;
} SDL_JoyButtonEvent;
typedef struct SDL_TouchFingerEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
SDL_TouchID touchId;
SDL_FingerID fingerId;
Uint8 state;
Uint8 padding1;
Uint8 padding2;
Uint8 padding3;
Uint16 x;
Uint16 y;
Sint16 dx;
Sint16 dy;
Uint16 pressure;
} SDL_TouchFingerEvent;
typedef struct SDL_TouchButtonEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
SDL_TouchID touchId;
Uint8 state;
Uint8 button;
Uint8 padding1;
Uint8 padding2;
} SDL_TouchButtonEvent;
typedef struct SDL_MultiGestureEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
SDL_TouchID touchId;
float dTheta;
float dDist;
float x;
float y;
Uint16 numFingers;
Uint16 padding;
} SDL_MultiGestureEvent;
typedef struct SDL_DollarGestureEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
SDL_TouchID touchId;
SDL_GestureID gestureId;
Uint32 numFingers;
float error;
} SDL_DollarGestureEvent;
typedef struct SDL_DropEvent
{
Uint32 type;
Uint32 timestamp;
char *file;
} SDL_DropEvent;
typedef struct SDL_QuitEvent
{
Uint32 type;
Uint32 timestamp;
} SDL_QuitEvent;
typedef struct SDL_UserEvent
{
Uint32 type;
Uint32 timestamp;
Uint32 windowID;
int code;
void *data1;
void *data2;
} SDL_UserEvent;
struct SDL_SysWMmsg;
typedef struct SDL_SysWMmsg SDL_SysWMmsg;
typedef struct SDL_SysWMEvent
{
Uint32 type;
Uint32 timestamp;
SDL_SysWMmsg *msg;
} SDL_SysWMEvent;
typedef union SDL_Event
{
Uint32 type;
SDL_WindowEvent window;
SDL_KeyboardEvent key;
SDL_TextEditingEvent edit;
SDL_TextInputEvent text;
SDL_MouseMotionEvent motion;
SDL_MouseButtonEvent button;
SDL_MouseWheelEvent wheel;
SDL_JoyAxisEvent jaxis;
SDL_JoyBallEvent jball;
SDL_JoyHatEvent jhat;
SDL_JoyButtonEvent jbutton;
SDL_QuitEvent quit;
SDL_UserEvent user;
SDL_SysWMEvent syswm;
SDL_TouchFingerEvent tfinger;
SDL_TouchButtonEvent tbutton;
SDL_MultiGestureEvent mgesture;
SDL_DollarGestureEvent dgesture;
SDL_DropEvent drop;
} SDL_Event;
extern void SDL_PumpEvents(void);
typedef enum
{
SDL_ADDEVENT,
SDL_PEEKEVENT,
SDL_GETEVENT
} SDL_eventaction;
extern int SDL_PeepEvents(SDL_Event * events, int numevents,
SDL_eventaction action,
Uint32 minType, Uint32 maxType);
extern SDL_bool SDL_HasEvent(Uint32 type);
extern SDL_bool SDL_HasEvents(Uint32 minType, Uint32 maxType);
extern void SDL_FlushEvent(Uint32 type);
extern void SDL_FlushEvents(Uint32 minType, Uint32 maxType);
extern int SDL_PollEvent(SDL_Event * event);
extern int SDL_WaitEvent(SDL_Event * event);
extern int SDL_WaitEventTimeout(SDL_Event * event,
int timeout);
extern int SDL_PushEvent(SDL_Event * event);
typedef int ( * SDL_EventFilter) (void *userdata, SDL_Event * event);
extern void SDL_SetEventFilter(SDL_EventFilter filter,
void *userdata);
extern SDL_bool SDL_GetEventFilter(SDL_EventFilter * filter,
void **userdata);
extern void SDL_AddEventWatch(SDL_EventFilter filter,
void *userdata);
extern void SDL_DelEventWatch(SDL_EventFilter filter,
void *userdata);
extern void SDL_FilterEvents(SDL_EventFilter filter,
void *userdata);
#define SDL_QUERY ...
#define SDL_IGNORE ...
#define SDL_DISABLE ...
#define SDL_ENABLE ...
extern Uint8 SDL_EventState(Uint32 type, int state);
extern Uint32 SDL_RegisterEvents(int numevents);
#define SDL_INIT_TIMER ...
#define SDL_INIT_AUDIO ...
#define SDL_INIT_VIDEO ...
#define SDL_INIT_JOYSTICK ...
#define SDL_INIT_HAPTIC ...
#define SDL_INIT_NOPARACHUTE ...
#define SDL_INIT_EVERYTHING ...
extern int SDL_Init(Uint32 flags);
extern int SDL_InitSubSystem(Uint32 flags);
extern void SDL_QuitSubSystem(Uint32 flags);
extern Uint32 SDL_WasInit(Uint32 flags);
extern void SDL_Quit(void);

""")

SDL_JoystickGetAxis = guard(lookup('SDL_JoystickGetAxis'))
SDL_SetWindowTitle = guard(lookup('SDL_SetWindowTitle'))
SDL_SetSurfaceRLE = guard(lookup('SDL_SetSurfaceRLE'))
KMOD_LALT = 256
SDLK_KP_MULTIPLY = 1073741909
SDLK_KBDILLUMUP = 1073742104
SDL_HAT_CENTERED = 0
SDLK_WWW = 1073742088
SDL_UnionRect = guard(lookup('SDL_UnionRect'))
SDL_JoystickNumBalls = guard(lookup('SDL_JoystickNumBalls'))
SDL_SCANCODE_KP_PERCENT = 196
_SDL_GetMouseState = guard(lookup('SDL_GetMouseState'))
SDLK_KP_MEMRECALL = 1073742033
SDL_ShowCursor = guard(lookup('SDL_ShowCursor'))
SDLK_KP_PERIOD = 1073741923
SDLK_KP_HASH = 1073742028
SDL_GL_SHARE_WITH_CURRENT_CONTEXT = 22
SDL_WINDOWEVENT_NONE = 0
SDL_SCANCODE_KP_6 = 94
SDL_SCANCODE_KP_HASH = 204
SDLK_EXSEL = 1073741988
SDLK_QUOTEDBL = 34
SDL_JOYAXISMOTION = 1536
SDLK_KP_000 = 1073742001
SDL_GetMouseFocus = guard(lookup('SDL_GetMouseFocus'))
SDLK_ALTERASE = 1073741977
SDLK_MODE = 1073742081
SDLK_KP_9 = 1073741921
SDL_SCANCODE_GRAVE = 53
SDLK_AC_STOP = 1073742096
SDLK_KP_BACKSPACE = 1073742011
SDL_SCANCODE_CAPSLOCK = 57
SDL_SCANCODE_PAGEDOWN = 78
SDL_GL_CreateContext = guard(lookup('SDL_GL_CreateContext'))
SDL_GetScancodeFromKey = guard(lookup('SDL_GetScancodeFromKey'))
SDL_INIT_VIDEO = 32
SDL_SCANCODE_KP_DECIMAL = 220
SDL_SetTextInputRect = guard(lookup('SDL_SetTextInputRect'))
SDLK_AMPERSAND = 38
SDL_INPUTWHEEL = 1283
SDL_VideoQuit = guard(lookup('SDL_VideoQuit'))
SDL_SCANCODE_PAGEUP = 75
SDLK_HASH = 35
SDL_SCANCODE_KP_8 = 96
SDL_SetSurfaceBlendMode = guard(lookup('SDL_SetSurfaceBlendMode'))
SDLK_KP_1 = 1073741913
SDL_SCANCODE_THOUSANDSSEPARATOR = 178
SDL_BUTTON_X1 = 4
SDL_BUTTON_X2 = 5
SDLK_KP_2 = 1073741914
SDL_WINDOWEVENT_MAXIMIZED = 8
SDL_JoystickIndex = guard(lookup('SDL_JoystickIndex'))
SDL_HideWindow = guard(lookup('SDL_HideWindow'))
SDL_SCANCODE_KP_LEFTPAREN = 182
SDL_ReadBE16 = guard(lookup('SDL_ReadBE16'))
SDLK_AUDIOPREV = 1073742083
SDLK_VOLUMEUP = 1073741952
SDL_HAT_RIGHT = 2
SDL_SCANCODE_AC_STOP = 272
SDL_QUERY = -1
SDL_SetWindowSize = guard(lookup('SDL_SetWindowSize'))
SDLK_RIGHTBRACKET = 93
SDLK_SEMICOLON = 59
SDL_QUIT = 256
SDL_GetWindowTitle = guard(lookup('SDL_GetWindowTitle'))
SDL_GL_CONTEXT_FLAGS = 20
SDL_SCANCODE_CUT = 123
SDL_FillRect = guard(lookup('SDL_FillRect'))
SDL_WINDOWEVENT = 512
SDL_SCANCODE_EJECT = 281
SDL_SCANCODE_KP_C = 190
SDL_DISABLE = 0
SDL_WINDOWEVENT_RESTORED = 9
SDL_SCANCODE_9 = 38
SDL_SCANCODE_8 = 37
SDL_HideScreenKeyboard = guard(lookup('SDL_HideScreenKeyboard'))
SDL_SCANCODE_5 = 34
SDL_SCANCODE_4 = 33
SDLK_KP_SPACE = 1073742029
SDL_SCANCODE_6 = 35
SDL_SCANCODE_1 = 30
SDLK_KP_RIGHTBRACE = 1073742009
SDL_SCANCODE_3 = 32
SDL_SCANCODE_2 = 31
SDL_SCANCODE_M = 16
SDL_KEYDOWN = 768
SDL_GL_ACCUM_GREEN_SIZE = 9
SDL_SCANCODE_N = 17
SDL_SCANCODE_I = 12
SDL_SCANCODE_H = 11
SDL_SCANCODE_K = 14
SDL_SCANCODE_J = 13
SDL_ShowScreenKeyboard = guard(lookup('SDL_ShowScreenKeyboard'))
SDLK_HELP = 1073741941
SDL_SCANCODE_G = 10
SDL_SCANCODE_F = 9
SDL_SCANCODE_A = 4
SDL_WINDOW_MOUSE_FOCUS = 1024
SDL_SCANCODE_C = 6
SDL_SCANCODE_B = 5
SDLK_AC_HOME = 1073742093
SDL_SCANCODE_Y = 28
SDL_SCANCODE_X = 27
SDL_MOUSEWHEEL = 1027
SDL_SCANCODE_Z = 29
SDL_SCANCODE_U = 24
SDL_SCANCODE_T = 23
SDL_SCANCODE_W = 26
SDL_SCANCODE_V = 25
SDL_SCANCODE_Q = 20
SDL_SCANCODE_P = 19
SDL_SCANCODE_S = 22
SDL_AddEventWatch = guard(lookup('SDL_AddEventWatch'))
SDL_GL_RED_SIZE = 0
SDL_SCANCODE_RETURN2 = 158
SDLK_MUTE = 1073741951
SDL_SCANCODE_AUDIOPLAY = 261
SDL_SCANCODE_PASTE = 125
SDL_GetWindowDisplayMode = guard(lookup('SDL_GetWindowDisplayMode'))
SDL_FreeRW = guard(lookup('SDL_FreeRW'))
SDL_BUTTON_RIGHT = 3
SDL_ConvertSurface = guard(lookup('SDL_ConvertSurface'))
SDL_ReadLE32 = guard(lookup('SDL_ReadLE32'))
SDL_WINDOW_INPUT_GRABBED = 256
SDL_GetPixelFormatName = guard(lookup('SDL_GetPixelFormatName'))
SDLK_KP_LEFTPAREN = 1073742006
SDL_CreateRGBSurfaceFrom = guard(lookup('SDL_CreateRGBSurfaceFrom'))
SDLK_KP_AT = 1073742030
SDL_SCANCODE_COMMA = 54
SDL_StartTextInput = guard(lookup('SDL_StartTextInput'))
SDL_UpdateWindowSurfaceRects = guard(lookup('SDL_UpdateWindowSurfaceRects'))
SDL_SCANCODE_NUMLOCKCLEAR = 83
SDL_EnclosePoints = guard(lookup('SDL_EnclosePoints'))
SDL_SCANCODE_MINUS = 45
SDLK_ASTERISK = 42
SDL_BUTTON_RMASK = 4
SDL_JoystickGetBall = guard(lookup('SDL_JoystickGetBall'))
SDL_GL_GetSwapInterval = guard(lookup('SDL_GL_GetSwapInterval'))
SDL_ENOMEM = 0
SDLK_HOME = 1073741898
SDL_GetScancodeName = guard(lookup('SDL_GetScancodeName'))
SDL_GetColorKey = guard(lookup('SDL_GetColorKey'))
_SDL_GetError = lookup('SDL_GetError')
SDL_UpperBlitScaled = guard(lookup('SDL_UpperBlitScaled'))
SDL_SetWindowGrab = guard(lookup('SDL_SetWindowGrab'))
SDLK_MINUS = 45
SDL_SCANCODE_KP_SPACE = 205
SDL_EFSEEK = 3
SDLK_BRIGHTNESSUP = 1073742100
SDL_EnableScreenSaver = guard(lookup('SDL_EnableScreenSaver'))
SDL_GetNumVideoDisplays = guard(lookup('SDL_GetNumVideoDisplays'))
SDL_Error = guard(lookup('SDL_Error'))
SDL_LASTERROR = 5
SDL_WINDOW_RESIZABLE = 32
SDLK_EJECT = 1073742105
SDL_GetKeyboardFocus = guard(lookup('SDL_GetKeyboardFocus'))
SDL_WINDOWPOS_CENTERED = 805240832
SDLK_SLEEP = 1073742106
SDLK_KP_CLEARENTRY = 1073742041
SDL_GetCurrentVideoDriver = guard(lookup('SDL_GetCurrentVideoDriver'))
SDL_SCANCODE_LEFT = 80
SDL_SCANCODE_COPY = 124
SDL_LoadBMP_RW = guard(lookup('SDL_LoadBMP_RW'))
SDL_SCANCODE_KP_VERTICALBAR = 201
SDL_SCANCODE_KP_PERIOD = 99
SDL_TEXTEDITINGEVENT_TEXT_SIZE = 32
SDL_HasEvents = guard(lookup('SDL_HasEvents'))
SDL_GetScancodeFromName = guard(lookup('SDL_GetScancodeFromName'))
SDL_CreateCursor = guard(lookup('SDL_CreateCursor'))
SDLK_UP = 1073741906
SDL_FALSE = 0
SDL_SoftStretch = guard(lookup('SDL_SoftStretch'))
SDL_WINDOW_FOREIGN = 2048
SDLK_THOUSANDSSEPARATOR = 1073742002
SDL_MOUSEBUTTONUP = 1026
SDL_UpperBlit = guard(lookup('SDL_UpperBlit'))
SDLK_LEFT = 1073741904
SDL_SCANCODE_AC_FORWARD = 271
SDL_WriteLE16 = guard(lookup('SDL_WriteLE16'))
SDL_RLEACCEL = 2
SDL_SCANCODE_KP_BACKSPACE = 187
SDL_GL_CONTEXT_MAJOR_VERSION = 17
SDL_BUTTON_LMASK = 1
SDLK_F8 = 1073741889
SDLK_F9 = 1073741890
SDL_WINDOWEVENT_HIDDEN = 2
SDLK_F1 = 1073741882
SDLK_F2 = 1073741883
SDLK_F3 = 1073741884
SDLK_F4 = 1073741885
SDLK_F5 = 1073741886
SDL_HasScreenKeyboardSupport = guard(lookup('SDL_HasScreenKeyboardSupport'))
SDLK_F7 = 1073741888
SDL_ConvertPixels = guard(lookup('SDL_ConvertPixels'))
SDLK_CALCULATOR = 1073742090
SDL_FreePalette = guard(lookup('SDL_FreePalette'))
SDLK_KP_OCTAL = 1073742043
SDL_AllocPalette = guard(lookup('SDL_AllocPalette'))
SDL_SCANCODE_KP_DBLAMPERSAND = 200
SDL_INIT_HAPTIC = 4096
SDL_SCANCODE_PERIOD = 55
SDL_SCANCODE_LEFTBRACKET = 47
SDL_SCANCODE_AGAIN = 121
SDL_SCANCODE_PRINTSCREEN = 70
SDL_EFWRITE = 2
SDL_SCANCODE_KP_MEMRECALL = 209
SDL_SCANCODE_COMPUTER = 267
SDL_HAT_RIGHTUP = 3
SDL_RWFromMem = guard(lookup('SDL_RWFromMem'))
SDLK_STOP = 1073741944
SDL_LowerBlitScaled = guard(lookup('SDL_LowerBlitScaled'))
SDL_WINDOW_MAXIMIZED = 128
SDL_JOYBALLMOTION = 1537
SDL_JoystickNumHats = guard(lookup('SDL_JoystickNumHats'))
SDLK_CARET = 94
SDL_JoystickOpened = guard(lookup('SDL_JoystickOpened'))
SDL_SCANCODE_AC_REFRESH = 273
SDL_JoystickOpen = guard(lookup('SDL_JoystickOpen'))
SDL_MasksToPixelFormatEnum = guard(lookup('SDL_MasksToPixelFormatEnum'))
SDL_HAT_UP = 1
SDLK_KP_PLUSMINUS = 1073742039
SDL_GETEVENT = 2
SDL_SCANCODE_CALCULATOR = 266
SDLK_KP_EQUALS = 1073741927
SDL_SCANCODE_F1 = 58
SDLK_INSERT = 1073741897
SDL_GetWindowData = guard(lookup('SDL_GetWindowData'))
SDL_SCANCODE_7 = 36
SDL_SCANCODE_KP_COLON = 203
KMOD_CAPS = 8192
SDL_GL_STEREO = 12
SDL_WINDOW_INPUT_FOCUS = 512
SDL_SCANCODE_KP_HEXADECIMAL = 221
SDL_HAT_DOWN = 4
SDL_BLENDMODE_BLEND = 1
SDL_SCANCODE_RCTRL = 228
SDLK_SLASH = 47
SDL_ReadLE64 = guard(lookup('SDL_ReadLE64'))
SDLK_RCTRL = 1073742052
SDL_BUTTON_MIDDLE = 2
SDLK_PASTE = 1073741949
SDL_PEEKEVENT = 1
SDL_SCANCODE_F24 = 115
SDL_SCANCODE_F23 = 114
SDL_SCANCODE_F22 = 113
SDL_SCANCODE_F21 = 112
SDLK_AGAIN = 1073741945
SDLK_DECIMALSEPARATOR = 1073742003
SDL_SCANCODE_LALT = 226
SDL_SCANCODE_HELP = 117
SDLK_AUDIONEXT = 1073742082
SDL_FreeCursor = guard(lookup('SDL_FreeCursor'))
SDL_INPUTPROXIMITYIN = 1284
SDLK_KP_POWER = 1073742019
SDLK_KBDILLUMDOWN = 1073742103
SDL_SCANCODE_STOP = 120
SDL_HasEvent = guard(lookup('SDL_HasEvent'))
SDL_SCANCODE_RETURN = 40
SDL_BLENDMODE_MOD = 4
SDL_FreeFormat = guard(lookup('SDL_FreeFormat'))
SDL_GetTouch = guard(lookup('SDL_GetTouch'))
SDL_SCANCODE_FIND = 126
SDL_SetColorKey = guard(lookup('SDL_SetColorKey'))
SDL_GL_ACCUM_ALPHA_SIZE = 11
SDLK_KP_MEMMULTIPLY = 1073742037
SDL_SCANCODE_NONUSBACKSLASH = 100
SDL_GetRelativeMouseState = guard(lookup('SDL_GetRelativeMouseState'))
SDL_SetModState = guard(lookup('SDL_SetModState'))
SDLK_MEDIASELECT = 1073742087
SDLK_KP_XOR = 1073742018
SDL_RELEASED = 0
SDL_GetKeyboardState = guard(lookup('SDL_GetKeyboardState'))
SDLK_F24 = 1073741939
SDLK_F23 = 1073741938
SDLK_F22 = 1073741937
SDLK_F21 = 1073741936
SDLK_F20 = 1073741935
SDL_GetWindowID = guard(lookup('SDL_GetWindowID'))
SDLK_EXECUTE = 1073741940
KMOD_NUM = 4096
SDL_SCANCODE_KP_4 = 92
SDL_SCANCODE_KP_5 = 93
SDL_SetEventFilter = guard(lookup('SDL_SetEventFilter'))
SDL_SCANCODE_KP_7 = 95
SDLK_KP_8 = 1073741920
SDL_SCANCODE_KP_1 = 89
SDL_SCANCODE_KP_2 = 90
SDL_SCANCODE_KP_3 = 91
SDLK_KP_4 = 1073741916
SDLK_KP_5 = 1073741917
SDLK_KP_6 = 1073741918
SDLK_KP_7 = 1073741919
SDLK_KP_0 = 1073741922
SDL_GL_MULTISAMPLEBUFFERS = 13
SDL_IGNORE = 0
SDLK_KP_3 = 1073741915
SDL_SCANCODE_KP_D = 191
SDL_SCANCODE_KP_E = 192
SDL_SCANCODE_KP_F = 193
SDL_SCANCODE_KP_A = 188
SDL_SCANCODE_KP_B = 189
SDL_GetWindowGammaRamp = guard(lookup('SDL_GetWindowGammaRamp'))
SDLK_KP_D = 1073742015
SDLK_KP_E = 1073742016
SDLK_KP_F = 1073742017
SDLK_KP_A = 1073742012
SDLK_KP_B = 1073742013
SDLK_KP_C = 1073742014
SDLK_EQUALS = 61
KMOD_SHIFT = 3
SDLK_F6 = 1073741887
SDL_GL_CONTEXT_PROFILE_MASK = 21
SDL_INPUTMOTION = 1280
SDLK_AUDIOPLAY = 1073742085
SDL_SCANCODE_SELECT = 119
SDL_GL_CONTEXT_PROFILE_COMPATIBILITY = 2
SDL_GL_GREEN_SIZE = 1
SDL_WINDOWEVENT_CLOSE = 14
SDL_ShowWindow = guard(lookup('SDL_ShowWindow'))
SDL_GL_CONTEXT_EGL = 19
KMOD_RESERVED = 32768
SDL_GetClipRect = guard(lookup('SDL_GetClipRect'))
SDL_SCANCODE_SPACE = 44
SDL_WriteBE16 = guard(lookup('SDL_WriteBE16'))
SDL_SCANCODE_KP_MEMADD = 211
RW_SEEK_SET = 0
SDL_INIT_TIMER = 1
SDL_UNSUPPORTED = 4
SDL_GetNumVideoDrivers = guard(lookup('SDL_GetNumVideoDrivers'))
SDL_SetSurfacePalette = guard(lookup('SDL_SetSurfacePalette'))
SDL_WINDOWEVENT_FOCUS_LOST = 13
SDL_GetWindowBrightness = guard(lookup('SDL_GetWindowBrightness'))
SDL_SCANCODE_KP_00 = 176
SDL_PREALLOC = 1
SDL_EventState = guard(lookup('SDL_EventState'))
SDL_GetNumDisplayModes = guard(lookup('SDL_GetNumDisplayModes'))
SDL_MULTIGESTURE = 2050
KMOD_ALT = 768
SDLK_ESCAPE = 27
SDL_SCANCODE_KP_ENTER = 88
SDL_SaveDollarTemplate = guard(lookup('SDL_SaveDollarTemplate'))
SDLK_RSHIFT = 1073742053
SDL_SCANCODE_KP_CLEARENTRY = 217
SDLK_KP_PLUS = 1073741911
SDL_GetRelativeMouseMode = guard(lookup('SDL_GetRelativeMouseMode'))
SDLK_PAGEDOWN = 1073741902
KMOD_LGUI = 1024
KMOD_NONE = 0
SDL_SCANCODE_SEPARATOR = 159
SDL_GetSurfaceBlendMode = guard(lookup('SDL_GetSurfaceBlendMode'))
SDL_MinimizeWindow = guard(lookup('SDL_MinimizeWindow'))
SDL_SetWindowPosition = guard(lookup('SDL_SetWindowPosition'))
SDL_GL_SetSwapInterval = guard(lookup('SDL_GL_SetSwapInterval'))
KMOD_RSHIFT = 2
KMOD_CTRL = 192
SDL_SCANCODE_TAB = 43
SDL_GetSurfaceColorMod = guard(lookup('SDL_GetSurfaceColorMod'))
SDLK_KP_DECIMAL = 1073742044
SDLK_AT = 64
SDL_CreateWindowFrom = guard(lookup('SDL_CreateWindowFrom'))
SDLK_LGUI = 1073742051
SDL_WINDOW_HIDDEN = 8
SDL_RecordGesture = guard(lookup('SDL_RecordGesture'))
SDLK_KP_GREATER = 1073742022
SDL_PushEvent = guard(lookup('SDL_PushEvent'))
SDL_Quit = lookup('SDL_Quit')
SDLK_TAB = 9
SDLK_PLUS = 43
SDL_INIT_EVERYTHING = 65535
SDL_GetKeyFromScancode = guard(lookup('SDL_GetKeyFromScancode'))
SDL_MapRGB = guard(lookup('SDL_MapRGB'))
SDL_GetWindowGrab = guard(lookup('SDL_GetWindowGrab'))
SDL_SCANCODE_RALT = 230
SDL_IntersectRectAndLine = guard(lookup('SDL_IntersectRectAndLine'))
SDLK_APPLICATION = 1073741925
SDL_GetKeyName = guard(lookup('SDL_GetKeyName'))
SDLK_KP_MEMSTORE = 1073742032
SDL_SCANCODE_MEDIASELECT = 263
SDL_WINDOWEVENT_FOCUS_GAINED = 12
SDLK_KP_LESS = 1073742021
SDLK_DOWN = 1073741905
SDLK_u = 117
SDLK_t = 116
SDLK_w = 119
SDLK_v = 118
SDLK_q = 113
SDLK_p = 112
SDLK_s = 115
SDLK_r = 114
SDLK_BACKSPACE = 8
SDL_ConvertSurfaceFormat = guard(lookup('SDL_ConvertSurfaceFormat'))
SDLK_y = 121
SDLK_x = 120
SDL_WINDOWEVENT_MOVED = 4
SDL_SCANCODE_CURRENCYSUBUNIT = 181
SDL_GL_MULTISAMPLESAMPLES = 14
SDLK_g = 103
SDLK_f = 102
SDLK_a = 97
SDLK_c = 99
SDLK_b = 98
SDLK_m = 109
SDLK_l = 108
SDL_GetModState = guard(lookup('SDL_GetModState'))
SDL_SCANCODE_PAUSE = 72
SDLK_i = 105
SDLK_h = 104
SDLK_k = 107
SDLK_j = 106
SDL_GL_DeleteContext = guard(lookup('SDL_GL_DeleteContext'))
SDL_GL_BUFFER_SIZE = 4
SDLK_AC_BACK = 1073742094
SDL_SCANCODE_KP_MEMSTORE = 208
SDL_WINDOW_SHOWN = 4
SDL_PixelFormatEnumToMasks = guard(lookup('SDL_PixelFormatEnumToMasks'))
SDLK_LALT = 1073742050
SDL_GetVideoDriver = guard(lookup('SDL_GetVideoDriver'))
SDLK_EXCLAIM = 33
SDLK_5 = 53
SDLK_4 = 52
SDL_SCANCODE_AC_SEARCH = 268
SDLK_6 = 54
SDLK_1 = 49
SDLK_MENU = 1073741942
SDLK_3 = 51
SDLK_2 = 50
SDLK_RIGHTPAREN = 41
SDLK_8 = 56
SDLK_KP_DIVIDE = 1073741908
SDL_SCANCODE_KBDILLUMDOWN = 279
SDL_SCANCODE_0 = 39
SDL_FINGERUP = 1793
SDLK_LEFTBRACKET = 91
SDL_SCANCODE_KP_XOR = 194
_SDL_GetDisplayMode = guard(lookup('SDL_GetDisplayMode'))
SDL_GL_ACCUM_BLUE_SIZE = 10
SDL_WriteLE64 = guard(lookup('SDL_WriteLE64'))
SDLK_SPACE = 32
SDL_SCANCODE_BACKSPACE = 42
SDL_SCANCODE_HOME = 74
SDL_WaitEvent = guard(lookup('SDL_WaitEvent'))
SDLK_SEPARATOR = 1073741983
SDL_TEXTEDITING = 770
SDL_ClearError = lookup('SDL_ClearError')
SDL_ReadBE32 = guard(lookup('SDL_ReadBE32'))
SDLK_CANCEL = 1073741979
SDL_JoystickGetButton = guard(lookup('SDL_JoystickGetButton'))
SDLK_COMPUTER = 1073742091
SDL_SCANCODE_KP_MEMSUBTRACT = 212
KMOD_RALT = 512
SDL_ALPHA_OPAQUE = 255
SDL_WarpMouseInWindow = guard(lookup('SDL_WarpMouseInWindow'))
SDL_GL_DOUBLEBUFFER = 5
SDL_SCANCODE_KP_MULTIPLY = 85
SDLK_AC_BOOKMARKS = 1073742098
SDL_GL_GetProcAddress = guard(lookup('SDL_GL_GetProcAddress'))
KMOD_LCTRL = 64
SDL_FIRSTEVENT = 0
SDLK_COMMA = 44
SDLK_DELETE = 127
SDLK_RETURN2 = 1073741982
SDL_SCANCODE_KP_MEMDIVIDE = 214
SDL_SCANCODE_MAIL = 265
SDL_GL_MakeCurrent = guard(lookup('SDL_GL_MakeCurrent'))
RW_SEEK_CUR = 1
SDL_BUTTON_X2MASK = 16
SDLK_BRIGHTNESSDOWN = 1073742099
SDL_GL_BLUE_SIZE = 2
SDL_SetWindowData = guard(lookup('SDL_SetWindowData'))
SDL_GetWindowDisplay = guard(lookup('SDL_GetWindowDisplay'))
SDLK_KP_COMMA = 1073741957
SDL_NumJoysticks = guard(lookup('SDL_NumJoysticks'))
_SDL_GetDesktopDisplayMode = guard(lookup('SDL_GetDesktopDisplayMode'))
SDLK_KP_RIGHTPAREN = 1073742007
SDLK_KP_MEMSUBTRACT = 1073742036
SDL_GL_CONTEXT_ROBUST_ACCESS_FLAG = 4
SDL_SCANCODE_AC_BACK = 270
SDL_GetWindowFromID = guard(lookup('SDL_GetWindowFromID'))
SDL_SCANCODE_BRIGHTNESSUP = 276
SDL_SCANCODE_AC_HOME = 269
SDL_PumpEvents = guard(lookup('SDL_PumpEvents'))
SDL_INPUTPROXIMITYOUT = 1285
SDLK_PERIOD = 46
SDL_RegisterEvents = guard(lookup('SDL_RegisterEvents'))
SDL_AllocFormat = guard(lookup('SDL_AllocFormat'))
SDLK_z = 122
SDLK_CURRENCYSUBUNIT = 1073742005
SDLK_CURRENCYUNIT = 1073742004
SDL_SCANCODE_MUTE = 127
SDL_SaveAllDollarTemplates = guard(lookup('SDL_SaveAllDollarTemplates'))
SDL_GetWindowPixelFormat = guard(lookup('SDL_GetWindowPixelFormat'))
SDL_RWFromConstMem = guard(lookup('SDL_RWFromConstMem'))
SDL_SCANCODE_KP_9 = 97
SDL_RestoreWindow = guard(lookup('SDL_RestoreWindow'))
SDL_SCANCODE_L = 15
SDLK_RGUI = 1073742055
SDL_SCANCODE_KP_BINARY = 218
SDL_ReadLE16 = guard(lookup('SDL_ReadLE16'))
SDL_INIT_NOPARACHUTE = 1048576
SDL_JoystickClose = guard(lookup('SDL_JoystickClose'))
SDL_SCANCODE_F18 = 109
SDL_SCANCODE_CURRENCYUNIT = 180
SDLK_DOLLAR = 36
SDL_SetCursor = guard(lookup('SDL_SetCursor'))
SDL_SCANCODE_KP_TAB = 186
SDL_SCANCODE_F12 = 69
SDL_SCANCODE_F13 = 104
SDL_SCANCODE_F10 = 67
SDL_SCANCODE_F11 = 68
SDL_SCANCODE_F16 = 107
SDL_SCANCODE_F17 = 108
SDL_SCANCODE_F14 = 105
SDL_SCANCODE_F15 = 106
SDLK_d = 100
SDL_SCANCODE_DECIMALSEPARATOR = 179
SDL_GetWindowFlags = guard(lookup('SDL_GetWindowFlags'))
SDL_ENABLE = 1
SDL_SCANCODE_E = 8
SDLK_UNDO = 1073741946
SDL_SCANCODE_D = 7
SDL_GL_CONTEXT_MINOR_VERSION = 18
SDL_WriteLE32 = guard(lookup('SDL_WriteLE32'))
SDL_SCANCODE_PRIOR = 157
SDL_TEXTINPUTEVENT_TEXT_SIZE = 32
SDL_LowerBlit = guard(lookup('SDL_LowerBlit'))
SDLK_PRINTSCREEN = 1073741894
SDLK_SYSREQ = 1073741978
SDLK_F12 = 1073741893
SDLK_KP_EXCLAM = 1073742031
SDLK_F10 = 1073741891
SDLK_F11 = 1073741892
SDL_WINDOWPOS_UNDEFINED_MASK = 536805376
SDLK_F17 = 1073741932
SDLK_F14 = 1073741929
SDLK_F15 = 1073741930
SDL_SWSURFACE = 0
SDLK_BACKSLASH = 92
SDLK_F18 = 1073741933
SDLK_F19 = 1073741934
SDLK_UNKNOWN = 0
SDL_SCANCODE_LANG9 = 152
SDL_SCANCODE_LANG8 = 151
SDL_GetWindowPosition = guard(lookup('SDL_GetWindowPosition'))
SDL_SCANCODE_CANCEL = 155
SDL_JoystickGetHat = guard(lookup('SDL_JoystickGetHat'))
SDLK_F13 = 1073741928
SDLK_KP_MEMDIVIDE = 1073742038
SDL_GetRGB = guard(lookup('SDL_GetRGB'))
SDLK_SELECT = 1073741943
SDL_HAT_LEFTDOWN = 12
SDL_SCANCODE_KP_LESS = 197
SDL_WINDOW_OPENGL = 2
SDLK_LCTRL = 1073742048
SDL_DOLLARRECORD = 2049
SDL_SCANCODE_KP_RIGHTPAREN = 183
SDL_FillRects = guard(lookup('SDL_FillRects'))
SDLK_F16 = 1073741931
SDL_SCANCODE_SEMICOLON = 51
SDL_SetWindowDisplayMode = guard(lookup('SDL_SetWindowDisplayMode'))
SDL_INPUTBUTTONUP = 1282
SDLK_RALT = 1073742054
SDL_SCANCODE_APPLICATION = 101
SDLK_RETURN = 13
SDLK_KP_PERCENT = 1073742020
SDL_BLENDMODE_ADD = 2
SDLK_PAUSE = 1073741896
_SDL_GL_GetAttribute = guard(lookup('SDL_GL_GetAttribute'))
SDL_SCANCODE_LGUI = 227
SDLK_SCROLLLOCK = 1073741895
SDL_SetWindowGammaRamp = guard(lookup('SDL_SetWindowGammaRamp'))
SDLK_KP_TAB = 1073742010
SDL_SetWindowIcon = guard(lookup('SDL_SetWindowIcon'))
SDL_GL_SetAttribute = guard(lookup('SDL_GL_SetAttribute'))
SDLK_KP_DBLVERTICALBAR = 1073742026
SDL_GetRGBA = guard(lookup('SDL_GetRGBA'))
SDLK_POWER = 1073741926
SDL_UnlockSurface = guard(lookup('SDL_UnlockSurface'))
SDL_FlushEvents = guard(lookup('SDL_FlushEvents'))
SDL_SCANCODE_KP_RIGHTBRACE = 185
SDLK_MAIL = 1073742089
SDL_BLENDMODE_NONE = 0
SDL_SetWindowFullscreen = guard(lookup('SDL_SetWindowFullscreen'))
SDLK_FIND = 1073741950
SDLK_KP_MINUS = 1073741910
SDL_SCANCODE_KP_MEMMULTIPLY = 213
SDL_WINDOWEVENT_MINIMIZED = 7
SDL_SCANCODE_R = 21
SDL_HAT_LEFT = 8
KMOD_RGUI = 2048
SDL_SCANCODE_INSERT = 73
SDL_SCANCODE_LCTRL = 224
SDL_GL_DEPTH_SIZE = 6
SDLK_PAGEUP = 1073741899
SDL_SCANCODE_VOLUMEUP = 128
SDLK_COLON = 58
SDL_SCANCODE_BACKSLASH = 49
SDL_ReadBE64 = guard(lookup('SDL_ReadBE64'))
SDL_DONTFREE = 4
SDL_SCANCODE_CLEARAGAIN = 162
SDL_SCANCODE_AUDIOMUTE = 262
SDL_LoadDollarTemplates = guard(lookup('SDL_LoadDollarTemplates'))
SDLK_CLEARAGAIN = 1073741986
SDL_GetCursor = guard(lookup('SDL_GetCursor'))
SDL_SCANCODE_DISPLAYSWITCH = 277
SDL_SCANCODE_KP_DIVIDE = 84
SDL_SaveBMP_RW = guard(lookup('SDL_SaveBMP_RW'))
SDL_SCANCODE_BRIGHTNESSDOWN = 275
SDL_SCANCODE_LANG1 = 144
SDL_SCANCODE_RSHIFT = 229
SDLK_AC_SEARCH = 1073742092
SDL_ADDEVENT = 0
SDL_TOUCHBUTTONDOWN = 1795
SDL_QuitSubSystem = guard(lookup('SDL_QuitSubSystem'))
SDL_WINDOWPOS_UNDEFINED = 536805376
SDL_SCANCODE_LANG2 = 145
SDL_VideoInit = guard(lookup('SDL_VideoInit'))
SDL_SCANCODE_LANG5 = 148
SDL_SCANCODE_LANG4 = 147
SDL_DOLLARGESTURE = 2048
SDL_NUM_SCANCODES = 512
SDL_GetDisplayBounds = guard(lookup('SDL_GetDisplayBounds'))
SDL_SCANCODE_DOWN = 81
SDL_SCANCODE_LANG7 = 150
SDLK_RIGHT = 1073741903
SDLK_LEFTPAREN = 40
SDL_BUTTON_MMASK = 2
SDL_WINDOW_MINIMIZED = 64
SDL_BUTTON_X1MASK = 8
SDL_USEREVENT = 32768
SDL_GL_CONTEXT_DEBUG_FLAG = 1
SDL_SCANCODE_SCROLLLOCK = 71
SDL_SetPixelFormatPalette = guard(lookup('SDL_SetPixelFormatPalette'))
SDL_SCANCODE_F2 = 59
SDL_SCANCODE_F3 = 60
SDL_SCANCODE_F4 = 61
SDL_SCANCODE_F5 = 62
SDL_SCANCODE_F6 = 63
SDL_SCANCODE_F7 = 64
SDL_SCANCODE_F8 = 65
SDL_SCANCODE_F9 = 66
SDLK_OPER = 1073741985
SDL_INPUTBUTTONDOWN = 1281
SDLK_DISPLAYSWITCH = 1073742101
KMOD_LSHIFT = 1
SDLK_PRIOR = 1073741981
SDL_HAT_LEFTUP = 9
SDL_FilterEvents = guard(lookup('SDL_FilterEvents'))
SDL_SCANCODE_EXSEL = 164
SDLK_KP_HEXADECIMAL = 1073742045
SDL_ALPHA_TRANSPARENT = 0
SDLK_BACKQUOTE = 96
SDL_WINDOWPOS_CENTERED_MASK = 805240832
SDL_WINDOWEVENT_SIZE_CHANGED = 6
SDL_SCANCODE_OUT = 160
SDL_DelEventWatch = guard(lookup('SDL_DelEventWatch'))
SDL_SCANCODE_KP_OCTAL = 219
SDL_SetSurfaceAlphaMod = guard(lookup('SDL_SetSurfaceAlphaMod'))
SDL_SCANCODE_AUDIONEXT = 258
SDLK_AUDIOSTOP = 1073742084
SDL_SCANCODE_KP_EXCLAM = 207
SDL_MOUSEBUTTONDOWN = 1025
SDL_SCANCODE_MODE = 257
SDL_KEYUP = 769
SDL_SCANCODE_WWW = 264
SDLK_PERCENT = 37
SDL_SCANCODE_F20 = 111
SDLK_CAPSLOCK = 1073741881
SDL_RWFromFP = guard(lookup('SDL_RWFromFP'))
SDL_SCANCODE_KP_MINUS = 86
SDL_SCANCODE_KBDILLUMTOGGLE = 278
SDL_WaitEventTimeout = guard(lookup('SDL_WaitEventTimeout'))
SDL_SetWindowBrightness = guard(lookup('SDL_SetWindowBrightness'))
SDL_SCANCODE_EQUALS = 46
SDL_DisableScreenSaver = guard(lookup('SDL_DisableScreenSaver'))
SDL_SCANCODE_KP_PLUSMINUS = 215
SDLK_e = 101
SDL_HAT_RIGHTDOWN = 6
SDL_UpdateWindowSurface = guard(lookup('SDL_UpdateWindowSurface'))
SDL_SCANCODE_EXECUTE = 116
KMOD_GUI = 3072
SDLK_SCANCODE_MASK = 1073741824
SDL_WriteBE64 = guard(lookup('SDL_WriteBE64'))
SDLK_KP_AMPERSAND = 1073742023
SDL_SetSurfaceColorMod = guard(lookup('SDL_SetSurfaceColorMod'))
SDL_SCANCODE_DELETE = 76
SDL_WasInit = guard(lookup('SDL_WasInit'))
SDL_SCANCODE_O = 18
SDLK_KP_CLEAR = 1073742040
SDL_EFREAD = 1
SDL_SCANCODE_UP = 82
SDLK_COPY = 1073741948
SDLK_NUMLOCKCLEAR = 1073741907
SDLK_o = 111
SDL_SetClipRect = guard(lookup('SDL_SetClipRect'))
SDL_SCANCODE_UNKNOWN = 0
SDLK_n = 110
SDLK_KP_COLON = 1073742027
SDL_SetError = guard(lookup('SDL_SetError'))
SDL_CreateRGBSurface = guard(lookup('SDL_CreateRGBSurface'))
SDLK_KP_BINARY = 1073742042
SDL_IsScreenSaverEnabled = guard(lookup('SDL_IsScreenSaverEnabled'))
SDLK_QUOTE = 39
SDL_SCANCODE_RIGHTBRACKET = 48
SDL_SYSWMEVENT = 513
SDL_MOUSEMOTION = 1024
SDL_RaiseWindow = guard(lookup('SDL_RaiseWindow'))
RW_SEEK_END = 2
SDL_WINDOWEVENT_RESIZED = 5
SDL_JoystickName = guard(lookup('SDL_JoystickName'))
SDLK_AC_REFRESH = 1073742097
SDL_GetWindowSurface = guard(lookup('SDL_GetWindowSurface'))
SDL_SCANCODE_OPER = 161
SDL_FINGERMOTION = 1794
SDL_SCANCODE_POWER = 102
SDLK_QUESTION = 63
SDL_ToggleScreenKeyboard = guard(lookup('SDL_ToggleScreenKeyboard'))
SDL_GL_ACCUM_RED_SIZE = 8
SDL_IntersectRect = guard(lookup('SDL_IntersectRect'))
SDL_JoystickNumAxes = guard(lookup('SDL_JoystickNumAxes'))
SDL_DestroyWindow = guard(lookup('SDL_DestroyWindow'))
SDL_SCANCODE_ESCAPE = 41
SDLK_OUT = 1073741984
SDL_LockSurface = guard(lookup('SDL_LockSurface'))
SDL_WINDOWEVENT_ENTER = 10
SDL_SCANCODE_CLEAR = 156
SDL_SCANCODE_AUDIOPREV = 259
SDL_FINGERDOWN = 1792
SDL_INIT_JOYSTICK = 512
SDL_JOYBUTTONDOWN = 1539
SDL_PeepEvents = guard(lookup('SDL_PeepEvents'))
SDL_SCANCODE_KP_AMPERSAND = 199
SDLK_KP_VERTICALBAR = 1073742025
SDL_SCANCODE_UNDO = 122
SDL_SCANCODE_SLEEP = 282
SDL_SCANCODE_CRSEL = 163
SDL_LASTEVENT = 65535
SDL_SCANCODE_KP_GREATER = 198
SDL_SCANCODE_KBDILLUMUP = 280
SDL_SCANCODE_KP_COMMA = 133
SDLK_KP_EQUALSAS400 = 1073741958
SDL_GetEventFilter = guard(lookup('SDL_GetEventFilter'))
SDL_SCANCODE_KP_DBLVERTICALBAR = 202
SDL_SCANCODE_LANG6 = 149
SDL_SCANCODE_RIGHT = 79
SDL_CreateWindow = guard(lookup('SDL_CreateWindow'))
SDLK_UNDERSCORE = 95
_SDL_Init = lookup('SDL_Init')
SDLK_KBDILLUMTOGGLE = 1073742102
SDL_GL_STENCIL_SIZE = 7
SDL_SCANCODE_KP_LEFTBRACE = 184
SDL_SCANCODE_APOSTROPHE = 52
SDL_GL_ExtensionSupported = guard(lookup('SDL_GL_ExtensionSupported'))
SDL_SCANCODE_AC_BOOKMARKS = 274
SDL_GL_RETAINED_BACKING = 16
SDL_JoystickEventState = guard(lookup('SDL_JoystickEventState'))
SDL_JOYHATMOTION = 1538
SDL_GL_UnloadLibrary = guard(lookup('SDL_GL_UnloadLibrary'))
SDL_JOYBUTTONUP = 1540
SDLK_LESS = 60
SDL_JoystickNumButtons = guard(lookup('SDL_JoystickNumButtons'))
SDL_SetPaletteColors = guard(lookup('SDL_SetPaletteColors'))
SDL_SCANCODE_RGUI = 231
SDL_INIT_AUDIO = 16
SDL_GL_CONTEXT_PROFILE_ES = 4
SDL_IsScreenKeyboardShown = guard(lookup('SDL_IsScreenKeyboardShown'))
SDL_SCANCODE_MENU = 118
SDL_SetRelativeMouseMode = guard(lookup('SDL_SetRelativeMouseMode'))
SDL_TEXTINPUT = 771
SDLK_KP_ENTER = 1073741912
SDL_GL_LoadLibrary = guard(lookup('SDL_GL_LoadLibrary'))
_SDL_PollEvent = guard(lookup('SDL_PollEvent'))
KMOD_MODE = 16384
SDL_SCANCODE_KP_EQUALS = 103
SDL_RWFromFile = guard(lookup('SDL_RWFromFile'))
SDLK_AUDIOMUTE = 1073742086
SDL_GL_CONTEXT_FORWARD_COMPATIBLE_FLAG = 2
SDL_GetClosestDisplayMode = guard(lookup('SDL_GetClosestDisplayMode'))
SDL_SCANCODE_KP_PLUS = 87
SDL_InitSubSystem = guard(lookup('SDL_InitSubSystem'))
SDLK_KP_MEMADD = 1073742035
SDL_CreateColorCursor = guard(lookup('SDL_CreateColorCursor'))
SDL_SCANCODE_KP_000 = 177
SDL_GetSurfaceAlphaMod = guard(lookup('SDL_GetSurfaceAlphaMod'))
_SDL_GetWindowSize = guard(lookup('SDL_GetWindowSize'))
SDLK_GREATER = 62
SDLK_7 = 55
SDL_WINDOWEVENT_SHOWN = 1
SDL_StopTextInput = guard(lookup('SDL_StopTextInput'))
SDL_BUTTON_LEFT = 1
SDL_SCANCODE_LSHIFT = 225
SDL_GL_ACCELERATED_VISUAL = 15
SDL_DROPFILE = 4096
_SDL_GetCurrentDisplayMode = guard(lookup('SDL_GetCurrentDisplayMode'))
SDL_WINDOW_FULLSCREEN = 1
SDL_CLIPBOARDUPDATE = 2304
SDL_SCANCODE_KP_AT = 206
SDL_SCANCODE_NONUSHASH = 50
SDL_TOUCHBUTTONUP = 1796
SDLK_AC_FORWARD = 1073742095
SDL_SCANCODE_KP_CLEAR = 216
SDLK_KP_00 = 1073742000
SDL_HasIntersection = guard(lookup('SDL_HasIntersection'))
SDLK_END = 1073741901
SDL_GL_ALPHA_SIZE = 3
SDL_GetKeyFromName = guard(lookup('SDL_GetKeyFromName'))
SDL_SCANCODE_END = 77
SDL_SCANCODE_SYSREQ = 154
SDL_WriteBE32 = guard(lookup('SDL_WriteBE32'))
SDL_WINDOWEVENT_EXPOSED = 3
SDL_CalculateGammaRamp = guard(lookup('SDL_CalculateGammaRamp'))
SDL_GL_SwapWindow = guard(lookup('SDL_GL_SwapWindow'))
SDL_SCANCODE_KP_POWER = 195
SDL_GetFinger = guard(lookup('SDL_GetFinger'))
SDLK_9 = 57
KMOD_RCTRL = 128
SDLK_VOLUMEDOWN = 1073741953
SDL_PRESSED = 1
SDLK_CLEAR = 1073741980
SDLK_0 = 48
SDL_GL_CONTEXT_PROFILE_CORE = 1
SDL_SCANCODE_AUDIOSTOP = 260
SDL_SCANCODE_KP_MEMCLEAR = 210
SDL_SCANCODE_SLASH = 56
SDL_WINDOWEVENT_LEAVE = 11
SDLK_KP_MEMCLEAR = 1073742034
SDL_SCANCODE_KP_0 = 98
SDL_MapRGBA = guard(lookup('SDL_MapRGBA'))
SDL_SCANCODE_ALTERASE = 153
SDL_FlushEvent = guard(lookup('SDL_FlushEvent'))
SDLK_CUT = 1073741947
SDL_WINDOW_BORDERLESS = 16
SDLK_LSHIFT = 1073742049
SDL_GL_CONTEXT_RESET_ISOLATION_FLAG = 8
SDL_FreeSurface = guard(lookup('SDL_FreeSurface'))
SDL_AllocRW = guard(lookup('SDL_AllocRW'))
SDLK_KP_LEFTBRACE = 1073742008
SDL_SCANCODE_INTERNATIONAL2 = 136
SDL_SCANCODE_INTERNATIONAL3 = 137
SDL_SCANCODE_INTERNATIONAL1 = 135
SDL_SCANCODE_INTERNATIONAL6 = 140
SDL_SCANCODE_INTERNATIONAL7 = 141
SDL_SCANCODE_INTERNATIONAL4 = 138
SDL_SCANCODE_INTERNATIONAL5 = 139
SDL_SCANCODE_LANG3 = 146
SDL_SCANCODE_INTERNATIONAL8 = 142
SDL_SCANCODE_INTERNATIONAL9 = 143
SDL_SCANCODE_F19 = 110
SDL_MaximizeWindow = guard(lookup('SDL_MaximizeWindow'))
SDLK_CRSEL = 1073741987
SDL_TRUE = 1
SDL_SCANCODE_KP_EQUALSAS400 = 134
SDL_JoystickUpdate = guard(lookup('SDL_JoystickUpdate'))
SDLK_KP_DBLAMPERSAND = 1073742024
SDL_SCANCODE_VOLUMEDOWN = 129
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.