Electronicks / JoyShockMapper

A tool for PC gamers to play games with DualShock 4s, JoyCons, and Pro Controllers. Gyro aiming, flick stick.
Other
343 stars 20 forks source link

Can't have right stick and gyro both control right stick #31

Closed lyahdav closed 3 years ago

lyahdav commented 3 years ago

I have the config below on v3.2.2 and I'm trying to make it so my Nintendo Switch Pro Controller will show up as an Xbox controller where the right stick and gyro both emulate right stick movement. The gyro works fine with this config but the right stick doesn't map to right stick movement.

VIRTUAL_CONTROLLER = XBOX

UP = X_UP
DOWN = X_DOWN
LEFT = X_LEFT
RIGHT = X_RIGHT
L = X_LB
R = X_RB
W = X_X
S = X_A
N = X_Y
E = X_B
L3 = X_LS
R3 = X_RS
- = X_BACK
+ = X_START
HOME = X_GUIDE
ZL_MODE = X_LT
ZR_MODE = X_RT
LEFT_STICK_MODE = LEFT_STICK
RIGHT_STICK_MODE = RIGHT_STICK
MOTION_STICK_MODE = RIGHT_STICK
Electronicks commented 3 years ago

Next release will have this fix in a way that multiple sources of "right sticks" are added together instead of prioritizing gyro

lyahdav commented 3 years ago

I just built from source and confirmed it works, thanks!