Better joystick name detection on windows without directx
3D Engine c++
Brought to you by:
cutealien,
nimphoenix2
For supertuxkart we ported some part of SDL that detects joystick names using the registry. This fixes the problem that atm all joysticks are named "microsoft pc-joystick driver". You can take the patch from our git:
https://github.com/supertuxkart/stk-code/commit/759182bb6856139f2d9bfbc49fe6ff602b651fcc
(and https://github.com/supertuxkart/stk-code/commit/d8cb6e1069592ae46113f888de06a0c31e958b11 for a little bit of cleanup).
Note that the code is basically taken from SDL ( (c) line is added) and released under zlib, I only did some minor porting.
Applied to svn trunk r5006.