joycond icon indicating copy to clipboard operation
joycond copied to clipboard

Inverted axis in horizontal mode

Open aronszabo opened this issue 5 years ago • 2 comments

I installed hid-nintendo with dkms and joycond on my manjaro system. Using the joy-cons in horizontal mode (for party games). One of the axes get inverted on each joy-con: Y on the left, X on the right joy-con. In Steam Big Picture mode I got it right using SDL_GamepadBind configuration:

"SDL_GamepadBind"		
"050000007e0500000720000001800000,dev:xb1:Nintendo Switch Right Joy-Con,platform:Linux,a:b2,b:b1,y:b3,x:b0,start:b9,guide:b8,leftstick:b10,leftx:a1~,lefty:a0,lefttrigger:b4,righttrigger:b6,
050000007e0500000620000001800000,dev:xb1:Nintendo Switch Left Joy-Con,platform:Linux,a:b8,b:b9,y:b10,x:b7,start:b0,guide:b5,leftstick:b6,leftx:a1,lefty:a0~,lefttrigger:b2,righttrigger:b4,"

In games the axes remain inverted, despite the other bindings working.

Is it possible to implement an option, where the evdev device gets the already inverted joystick controls (and this way no further configuration would be needed)?

aronszabo avatar Apr 12 '20 13:04 aronszabo

I plan to properly address this issue at some point by having special handling for horizontal mode (right now pairing in horizontal mode behaves identically to single, vertical joycon mode). Joycond will map the axes/buttons properly for the rotated controller.

DanielOgorchock avatar Apr 17 '20 01:04 DanielOgorchock

hey , Daniel, are you still working on this problem or is this project dead?

Aggyle avatar Dec 27 '22 12:12 Aggyle