move joytest functionality into main()
commit78f6644b2a019e9e78dfc0cb5d6cb1aacb00a63a
authorrofl0r <rofl0r@users.noreply.github.com>
Sat, 28 Aug 2021 23:19:46 +0000 (28 23:19 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Sat, 28 Aug 2021 23:21:39 +0000 (28 23:21 +0000)
treef506c14e41da643807fc49a5dc6f96651909d27c
parent465eb6ec8443186098c361f5f4f05a4ce991926e
move joytest functionality into main()

just run ./XXXgnuboy --joytest

unfortunately, SDL 1.2's SDL_PollEvent() returns immediately if
the video subsystem wasn't initialized; but it works with all
other backends.
joytest.c [deleted file]
main.c
sys/x11/xlib.c