From: SourceForge.net <no...@so...> - 2009-11-05 00:12:55
|
Bugs item #2889755, was opened at 2009-10-30 20:53 Message generated for change (Comment added) made by sd-snatcher 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: FRS (sd-snatcher) Date: 2009-11-04 22: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 16: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-03 22: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 08: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 |