Commit e016451
committed
Log SDL keybaord events as part of RUNTIME_DEBUG.
Also, test_sdl_key_test.c to test_interactive.py. This test was not
being run anywhere else and serves as simple way to test/debug keyboard
events.
Also, only set the `RUNTIME_DEBUG` default if the user does not
explicitly set it themselves. This allows for `-sSOCKETS_DEBUG
-sRUNTIM_DEBUG=0` to opt out of the `RUNTIME_DEBUG` channel.
Finally, disable the `RUNTIME_DEBUG` traces that occur during turns of
the event loop unless `RUNTIME_DEBUG` is set to 2. This avoids flooding
the console will messages in applications that are using the event loop.1 parent c1540c3 commit e016451
File tree
6 files changed
+25
-17
lines changed- src
- test
- tools
6 files changed
+25
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2160 | 2160 | | |
2161 | 2161 | | |
2162 | 2162 | | |
2163 | | - | |
| 2163 | + | |
2164 | 2164 | | |
2165 | 2165 | | |
2166 | 2166 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
930 | 930 | | |
931 | 931 | | |
932 | 932 | | |
933 | | - | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
934 | 936 | | |
935 | 937 | | |
936 | 938 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2137 | 2137 | | |
2138 | 2138 | | |
2139 | 2139 | | |
2140 | | - | |
| 2140 | + | |
| 2141 | + | |
| 2142 | + | |
2141 | 2143 | | |
2142 | 2144 | | |
2143 | 2145 | | |
| |||
2151 | 2153 | | |
2152 | 2154 | | |
2153 | 2155 | | |
2154 | | - | |
| 2156 | + | |
2155 | 2157 | | |
2156 | 2158 | | |
2157 | 2159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | | - | |
671 | | - | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
679 | | - | |
680 | | - | |
| 669 | + | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
681 | 682 | | |
682 | 683 | | |
683 | 684 | | |
| |||
0 commit comments