ID:2968265
 
BYOND Version:516
Operating System:Windows 10 Home
Web Browser:Chrome 134.0.0.0
Applies to:Dream Maker
Status: Open

Issue hasn't been assigned a status value.
Descriptive Problem Summary:
In the reference under macros(skin) the description for GamepadLeftAnalog and GamepadRightAnalog both state left analog stick, but I am able to receive the right analog stick's x value but the y stays at 0.

Edit:
Super weird, if I hold L2 it switches from allowing only left and right to up and down. There is nothing in my code hooked up to L2.

L2 is also pressure sensitive and affecting the output/angle of the arrow.



Code Snippet:
winset(src, "left_analog","parent=macro;name=GamepadLeftAnalog;command=LeftAnalog+\[\[x]]+\[\[y]]")
winset(src, "right_analog","parent=macro;name=GamepadRightAnalog;command=RightAnalog+\[\[x]]+\[\[y]]")


Moar Information:
https://www.byond.com/forum/post/2968180
First off, is this a DualShock 4? The gamepad settings file hasn't been updated for PS5 and I don't have a controller to check for that.

In your gamepad settings, can you confirm which axes move when you use the right analog stick?

This is the config for the DualShock 4, and its Y axis for the right analog stick is a bit weird, so maybe if you have a different controller that explains a lot.
# DualShock PS4
Wireless Controller
vendor = 1356
product = 2508
buttons = Face3,Face1,Face2,Face4,L1,R1,L2,R2,Select,Start,L3,R3,Up,Down,Left,Right
axes = 0,1,2,5
Quick followup: A quick search indicated this might be the correct config for a DualSense 5.
# DualSense PS5
Wireless Controller
vendor = 1356
product = 3302
buttons = Face3,Face1,Face2,Face4,L1,R1,L2,R2,Select,Start,L3,R3,Up,Down,Left,Right
axes = 0,1,2,3
In my case, Windows isn't recognizing the PS4 controller properly, instead just listing "6 axis 14 button device with hat switch" in the device manager, which BYOND seems to read as a generic gamepad, so axis 3 (left trigger) is used instead of axis 5.

Login to reply.