I was playing around with joystick stuff, trying to make a silly little deathmatch game for MZXCon, and found that while every other axis/button of my Xbox 360 controller mapped to *something* in MZX (though some of them were a bit odd: the right stick mapped 'backwards' (left right and then up down), and the triggers mapped to axis 3 as right, left), the directional pad, mapped in DirectInput (presumably what SDL is using) as a "PoV Hat", is completely unmapped. I assumed at first it was mapped as an extra set of buttons after the 10 given, but that didn't produce anything. Then, I attempted to access it as 6th and 7th axes, still nothing.
Unless there's a joyXhatY directive that's not listed in the config file, that's 4 entire buttons on the average controller that go completely unmapped.
Report ID | 626 | Title | Joystick Support: PoV Hat (often used as DPAD on XInput controllers) unmapped |
Product | Archived Requests | Status | Implemented (Severity 1 - Low) |
Version | 2.90 | Fixed in | GIT |
Page 1 of 1
Report ID #626: Joystick Support: PoV Hat (often used as DPAD on XInput controllers) unmapped
#1 GetDizzy
Posted 18 July 2016 - 12:12 PM
- Your Jumpy Neighborhood Admin
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
Page 1 of 1
Replies (1 - 12)
#2 Terryn
Posted 19 July 2016 - 05:16 PM
This has been patched in GIT. Does the problem persist in the latest GIT build?
angelic stream - shed sanguine - ill-adapt - avis - para/lyser - renaissance - dead tangent - phosphene blur - birth breeds death - ________ - painted glass - lagniappe
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
<Exophase> HES STEALING MAH AIRSHIP!!!!!!11111111
#3 GetDizzy
Posted 20 July 2016 - 04:22 PM
I'll get back to you as soon as I figure out how to build MZX GIT on Windows...
- Your Jumpy Neighborhood Admin
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
#4 GetDizzy
Posted 20 July 2016 - 04:58 PM
Got it compiled, and well... I'd certainly say the pov hat is doing *something*. I haven't mapped it yet (Lach told me how earlier) but without it actually mapped to anything, that is, with no joyXhat directives in the .cnf or config.txt at all, pressing any direction on Joystick 2's hat triggers a crapton of buttons at once.
Specifically, it's triggering the keys assigned to joy1axis4 negative, joy1axis5 negative, joy2axis4 negative, joy2axis5 negative, joy2axis1 negative, and joy2axis2 negative, all at once.
This is one of the weirdest input bugs I've ever seen in MZX. Uninitialized variable?
EDIT: Confirming that once mapped, the hat works fine.
Specifically, it's triggering the keys assigned to joy1axis4 negative, joy1axis5 negative, joy2axis4 negative, joy2axis5 negative, joy2axis1 negative, and joy2axis2 negative, all at once.
This is one of the weirdest input bugs I've ever seen in MZX. Uninitialized variable?
EDIT: Confirming that once mapped, the hat works fine.
- Your Jumpy Neighborhood Admin
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
<@Tixus> Anyway, I set the year to 1988 for some reason.
<@Tixus> And set the microwave to run for a minute and 28 seconds.
<@Tixus> But it failed to send me back in time, and I was disappointed.
<Insidious> Tixus accidentally microwaved the 80s
<Insidious> that is my takeaway from this
#5 Lachesis
Posted 21 July 2016 - 03:33 AM
Hopefully fixed in c037ae6. What I had was a quick and dirty implementation to test it and I never put in the correct safety checks for a key press. I was able to reproduce something in Labyrinth of Zeux which this commit fixed.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#6 Lachesis
Posted 21 July 2016 - 03:33 AM
Updating status to: Confirmed
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#7 Lachesis
Posted 21 July 2016 - 09:56 PM
some more dumb joystick crap fixed in GIT d9ea853 and GIT ad5aa8e. seriously, how did any of that out of bounds joystick key stuff ever work in the first place?
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#9 Lachesis
Posted 25 May 2017 - 04:36 AM
Updating status to: Approved
Issue fixed in: GIT
Pretty sure this is good now, but I'll look at it later.
Issue fixed in: GIT
Pretty sure this is good now, but I'll look at it later.
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#10 Lachesis
Posted 06 June 2017 - 07:42 AM
Updating version to: 2.85
Issue fixed in: None
Issue fixed in: None
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#11 Lachesis
Posted 17 June 2017 - 03:55 AM
Updating status to: Implemented
Issue fixed in: GIT
Issue fixed in: GIT
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
#12 Lachesis
Posted 29 June 2017 - 06:49 AM
Updating severity to: 1 - Low
"Let's just say I'm a GOOD hacker, AND virus maker. I'm sure you wouldn't like to pay for another PC would you?"
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
xx̊y (OST) - HELLQUEST (OST) - Zeux I: Labyrinth of Zeux (OST) (DOS OST)
w/ Lancer-X and/or asgromo: Pandora's Gate - Thanatos Insignia - no True(n) - For Elise OST
MegaZeux: Online Help File - Keycode Guide - Joystick Guide - Official GIT Repository
Page 1 of 1
0 User(s) are reading this issue
0 Guests and 0 Anonymous Users
Powered by IP.Tracker 1.3.2 © 2025 IPS, Inc.