r57zone / DualShock4-emulator

DualShock4 emulation for Xbox controllers or keyboard and mouse / Эмуляция DualShock4 для Xbox контроллеров или клавиатуры и мыши
https://youtu.be/17hY1zTqoYQ
The Unlicense
198 stars 31 forks source link

[BUG] not able to press the Touchpad button without right stick press at the same time #75

Open BlueStarBRS opened 1 year ago

BlueStarBRS commented 1 year ago

hi i cant use my touchpad key until is press r3 at the same time it seems it is related to the touchpad movement Feature

r57zone commented 1 year ago

Hi, by default the touchpad press is used by Xbox Select, to press the Share key on the DualShock you need to press Select + Start on the Xbox controller (you can also do the opposite in the configuration file).

You can also change the "MultiActivateKey" function button to something else if it is preventing you from playing with R3.

BlueStarBRS commented 1 year ago

Hi, by default the touchpad press is used by Xbox Select, to press the Share key on the DualShock you need to press Select + Start on the Xbox controller (you can also do the opposite in the configuration file).

You can also change the "MultiActivateKey" function button to something else if it is preventing you from playing with R3.

im not able to use the touchpad until i press r3 while i pressing select

BlueStarBRS commented 1 year ago

i can see my right stick is moving rly rly a tiny amout while i press back button for the touchpad button and that triggers als the time the touchpad movement so thats why i want a function to disable this

BlueStarBRS commented 1 year ago

this is my config file

# DS4Emulator by r57zone
# Description: https://github.com/r57zone/DualShock4-emulator

[Main]
# Right stick invert
InvertX=0
InvertY=0

[Xbox]
SwapTriggersShoulders=0
SwapShareTouchPad=0
TouchPadPressedWhenSwiping=0
EnableXboxButton=1
# Button names: NONE, DPAD-UP, DPAD-DOWN, DPAD-LEFT, DPAD-RIGHT, XBOX, BACK, START, LEFT-STICK, RIGHT-STICK, LEFT-SHOULDER, RIGHT-SHOULDER, A, B, X, Y
MultiActivateKey=BACK
MotionShakingKey=RIGHT-SHOULDER
MotionUp=DPAD-UP
MotionDown=DPAD-DOWN
MotionLeft=DPAD-LEFT
MotionRight=DPAD-RIGHT
# Alt + F9 to get drift values
DeadZoneLeftStickX=0
DeadZoneLeftStickY=0
DeadZoneRightStickX=0
DeadZoneRightStickY=0
SleepTimeOut=1

[KeyboardMouse]
ActivateOnlyInWindow=PlayStation Plus
ActivateOnlyInWindow2=PS4 Remote Play
ActivateInAnyWindow=1
StopCenteringKey=C
# Close app with "ALT" + "Escape" to back the cursor display
HideCursorAfterStart=0
HideTaskBarInFullScreen=1
# PS Now has a big top header
FullScreenTopOffset=-50
SensX=20
SensY=18
# Smoother movement with minimal mouse movement
DeadZone=25
EmulateAnalogTriggers=0
AnalogTriggerStep=15
SleepTimeOut=1

[Motion]
Activate=1
Port=5555
Sens=50
AccelSens=50
GyroSens=50
# Orientation landscape - 1 or portrait - 0
Orientation=1
# Invert the axes if necessary 
InverseX=1
InverseY=0
InverseZ=1
SleepTimeOut=1
BlueStarBRS commented 1 year ago

https://streamable.com/sjga0q here a video that shows my problem

r57zone commented 1 year ago

Try to change MultiActivateKey=BACK to MultiActivateKey=DPAD-UP or MultiActivateKey=LEFT-SHOULDER in config

BlueStarBRS commented 1 year ago

Try to change MultiActivateKey=BACK to MultiActivateKey=DPAD-UP or MultiActivateKey=LEFT-SHOULDER in config

image problem sill happening why i cant disable touchpad movement bind ? maybe i can then finally be able to press touchpad button without pressing my stick at the same time?

BlueStarBRS commented 1 year ago

i found a temporary fix

set TouchPadPressedWhenSwiping=0 to TouchPadPressedWhenSwiping=1

but then you cant swipe in the most scenarios so i was right that something with touchpad movement is broken

BlueStarBRS commented 1 year ago

i found a temporary fix

set TouchPadPressedWhenSwiping=0 to TouchPadPressedWhenSwiping=1

but then you cant swipe in the most scenarios so i was right that something with touchpad movement is broken

@r57zone now the problem is i cant use my dpad up button .... bruh

BlueStarBRS commented 1 year ago

my actuall config is:


# Description: https://github.com/r57zone/DualShock4-emulator

[Main]
# Right stick invert
InvertX=0
InvertY=0

[Xbox]
SwapTriggersShoulders=0
SwapShareTouchPad=0
TouchPadPressedWhenSwiping=1
EnableXboxButton=1
# Button names: NONE, DPAD-UP, DPAD-DOWN, DPAD-LEFT, DPAD-RIGHT, XBOX, BACK, START, LEFT-STICK, RIGHT-STICK, LEFT-SHOULDER, RIGHT-SHOULDER, A, B, X, Y
MultiActivateKey=DPAD-UP
MotionShakingKey=NONE
MotionUp=NONE
MotionDown=NONE
MotionLeft=NONE
MotionRight=NONE
# Alt + F9 to get drift values
DeadZoneLeftStickX=0
DeadZoneLeftStickY=0
DeadZoneRightStickX=0
DeadZoneRightStickY=0
SleepTimeOut=1

[KeyboardMouse]
ActivateOnlyInWindow=PlayStation Plus
ActivateOnlyInWindow2=PS4 Remote Play
ActivateInAnyWindow=1
StopCenteringKey=C
# Close app with "ALT" + "Escape" to back the cursor display
HideCursorAfterStart=0
HideTaskBarInFullScreen=1
# PS Now has a big top header
FullScreenTopOffset=-50
SensX=20
SensY=18
# Smoother movement with minimal mouse movement
DeadZone=25
EmulateAnalogTriggers=0
AnalogTriggerStep=15
SleepTimeOut=1

[Motion]
Activate=1
Port=5555
Sens=50
AccelSens=50
GyroSens=50
# Orientation landscape - 1 or portrait - 0
Orientation=1
# Invert the axes if necessary 
InverseX=1
InverseY=0
InverseZ=1
SleepTimeOut=1```
BlueStarBRS commented 1 year ago

ok i fixed it by set EVERYTHING to "none"

BlueStarBRS commented 1 year ago

but why is it running so weird on my end ?

r57zone commented 5 months ago

I updated the program, maybe now the micro movement will disappear

BlueStarBRS commented 4 months ago

so what did changed with the new version ? idk if i have time i try to migrate the old in the new config

but still thanks for update for this nice tool im using it everyday 👍🏻

r57zone commented 4 months ago

Here I described the changes: https://github.com/r57zone/DualShock4-emulator/releases/