Menu

#295 Better joystick name detection on windows without directx

closed-accepted
None
5
2014-12-31
2014-10-24
Joerg
No

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.

Discussion

  • Michael Zeilfelder

    • status: open --> closed-accepted
    • assigned_to: Michael Zeilfelder
     
  • Michael Zeilfelder

    Applied to svn trunk r5006.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.