move joystick init/close from video backend to main
commit465eb6ec8443186098c361f5f4f05a4ce991926e
authorrofl0r <rofl0r@users.noreply.github.com>
Sat, 28 Aug 2021 22:57:03 +0000 (28 22:57 +0000)
committerrofl0r <rofl0r@users.noreply.github.com>
Sat, 28 Aug 2021 22:57:03 +0000 (28 22:57 +0000)
tree524367117e263381e160f863b13148771cfb178c
parent37b7989ed84e0152aedf927b01f4fe9223b07449
move joystick init/close from video backend to main

in thinlib's case, it was executed in vid_preinit - this might
require review. though it's unlikely anyone is going to use
that backend anyhow.
main.c
sys/linux/fbdev.c
sys/sdl/sdl.c
sys/sdl2/sdl2.c
sys/svga/svgalib.c
sys/thinlib/thinlib.c
sys/x11/xlib.c