From: SourceForge.net <no...@so...> - 2009-11-05 01:29:44
|
Bugs item #2889755, was opened at 2009-10-30 23:53 Message generated for change (Comment added) made by mthuurne You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=421861&aid=2889755&group_id=38274 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: FRS (sd-snatcher) Assigned to: Nobody/Anonymous (nobody) Summary: Joystick axes incorrectly mapped on Mac-OS-X Initial Comment: I do have a playstation-like USB joystick, but openMSX is not reading its axes correctly. The buttons seems to work fine. As almost all playstation-like USB joysticks, it has the following configuration: Button #1 : Minimum = 0, Default = 0, Maximum = 1 Button #2 : Minimum = 0, Default = 0, Maximum = 1 Button #3 : Minimum = 0, Default = 0, Maximum = 1 Button #4 : Minimum = 0, Default = 0, Maximum = 1 Button #5 : Minimum = 0, Default = 0, Maximum = 1 Button #6 : Minimum = 0, Default = 0, Maximum = 1 Button #7 : Minimum = 0, Default = 0, Maximum = 1 Button #8 : Minimum = 0, Default = 0, Maximum = 1 Button #9 : Minimum = 0, Default = 0, Maximum = 1 Button #10 : Minimum = 0, Default = 0, Maximum = 1 Button #11 : Minimum = 0, Default = 0, Maximum = 1 Button #12 : Minimum = 0, Default = 0, Maximum = 1 Page: 0xff00, Usage: 0x1 : Minimum = 0, Default = 0, Maximum = 0 Z-Axis : Minimum = 1, Default = 1, Maximum = 1 Z-Axis : Minimum = 0, Default = 128, Maximum = 255 Z-Rotation : Minimum = 0, Default = 128, Maximum = 255 X-Axis : Minimum = 0, Default = 128, Maximum = 255 Y-Axis : Minimum = 0, Default = 128, Maximum = 255 Hatswitch : Minimum = 0, Default = 15, Maximum = 15 This is mapped as follows (on analog mode): Digital stick = Hatswitch Left Analog stick = Axes X and Y Right Analog stick = Z-Axis and Z-Rotation When working on digital mode, both the Digital stick and Left Analog stick are both mapped to use the axes X and Y. The right analog stick is mapped to the buttons 1-4. The openMSX reacts to the joystick as this: Digital Mode: the game reacts as if the joystick is pointing left always. Analog Mode: The right-stick works for up/down and the game still reacts as if the joystick is pointing left always. ---------------------------------------------------------------------- >Comment By: Maarten ter Huurne (mthuurne) Date: 2009-11-05 02:29 Message: SDL 1.2.13 (the latest release at this time) was used to build openMSX 0.7.2. There is no easy way to get this information from the binary. I'll try to reproduce this problem on my Mac and post when I have the results. I have used joysticks with openMSX under Linux without problems and you reported it works fine under Windows, so there is something Mac specific going on here. Maybe we use SDL in the wrong way and that only leads to problems on Mac. Or maybe there is a bug in the Mac specific code of SDL. Did this problem occur on an Intel or PowerPC Mac? ---------------------------------------------------------------------- Comment By: FRS (sd-snatcher) Date: 2009-11-05 01:12 Message: I'm using the stock openMSX 0.7.2 downloaded from the openMSX site, installed inside the NekoLauncher ppenMSX.App v0.9. How do I get the included SDL version? ---------------------------------------------------------------------- Comment By: Manuel Bilderbeek (manuelbi) Date: 2009-11-04 19:18 Message: As I also asked in the other thread: what kind of version/build are you using? Which SDL version is included? ---------------------------------------------------------------------- Comment By: FRS (sd-snatcher) Date: 2009-11-04 01:44 Message: The bug only seems to affect the Mac OS X version. The windows version works fine. ---------------------------------------------------------------------- Comment By: Manuel Bilderbeek (manuelbi) Date: 2009-10-31 11:54 Message: My guess would be that this is an SDL bug... openMSX uses the information it gets from SDL for joystick. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=421861&aid=2889755&group_id=38274 |