Skip to content

Instantly share code, notes, and snippets.

@MetroWind
Created June 28, 2022 03:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MetroWind/ad202dcc130f528afb27ed971a8d113a to your computer and use it in GitHub Desktop.
Save MetroWind/ad202dcc130f528afb27ed971a8d113a to your computer and use it in GitHub Desktop.
Elden Ring PS 5 rune farm
# DS4Emulator by r57zone
# ReadMe: https://github.com/r57zone/DualShock4-emulator
# Key codes: https://github.com/r57zone/Half-Life-Alyx-novr/blob/master/BINDINGS.md
# Support the project: https://r57zone.github.io/support.html
[Main]
ExitBtn=112
InvertX=0
InvertY=0
[Xbox]
SwapTriggersShoulders=0
SwapShareTouchPad=0
SleepTimeOut=1
EnableXboxButton=1
TouchPadPressedWhenSwiping=0
# Alt + F9 to get drift values
DeadZoneLeftStickX=0
DeadZoneLeftStickY=0
DeadZoneRightStickX=0
DeadZoneRightStickY=0
[KeyboardMouse]
ActivateOnlyInWindow=PlayStation儂ow
ActivateOnlyInWindow2=PS Remote Play
ActivateInAnyWindow=0
StopCenteringKey=67
# Close app with "ALT" + "Escape" or "exit key" to back the cursor display
HideCursorAfterStart=0
HideTaskBarInFullScreen=1
# PS Now has a big top header
FullScreenTopOffset=-100
SensX=20
SensY=18
# Smoother movement with minimal mouse movement
DeadZone=25
EmulateAnalogTriggers=0
AnalogTriggerStep=15
SleepTimeOut=1
[Keys]
LS_UP=87
LS_LEFT=65
LS_RIGHT=68
LS_DOWN=83
L1=17
R1=18
L2=219
R2=1
SHARE=123
TOUCHPAD=13
OPTIONS=9
PS=113
DPAD_UP=49
DPAD_LEFT=50
DPAD_RIGHT=51
DPAD_DOWN=52
# Button "/\"
TRIANGLE=81
# Button "[]"
SQUARE=69
# Button "O"
CIRCLE=82
# Button "X"
CROSS=32
# Pressing sticks
L3=16
R3=4
# Touchpad
TOUCHPAD_UP=85
TOUCHPAD_DOWN=78
TOUCHPAD_LEFT=72
TOUCHPAD_RIGHT=75
TOUCHPAD_CENTER=74
# Touchpad swipes
TOUCHPAD_SWIPE_UP=55
TOUCHPAD_SWIPE_DOWN=56
TOUCHPAD_SWIPE_LEFT=57
TOUCHPAD_SWIPE_RIGHT=48
# Motion
SHAKING=84
[Motion]
Activate=1
Port=5555
Sens=100
# Invert the axes if necessary
InverseX=0
InverseY=1
InverseZ=0
SleepTimeOut=1
Enabled := false
`::
Enabled := !Enabled
while (Enabled)
{
Run()
Sleep 1000
}
Run()
{
Send {Enter Down}
Sleep 40
Send {Enter Up}
Sleep 3000
Send {q Down}
Sleep 40
Send {q Up}
Sleep 500
Send {Enter Down}
Sleep 40
Send {Enter Up}
Sleep 1000
Send {Enter Down}
Sleep 40
Send {Enter Up}
Sleep 7000
MouseMove, -25, 0, 100, R
Send {w Down}
Sleep 4000
Send {w Up}
Sleep 1000
MouseMove, -25, 0, 100, R
Sleep 500
Send {[ Down}
Sleep 40
Send {[ Up}
Sleep 500
Send {w Down}
Sleep 8000
Send {w Up}
Send {[ Down}
Sleep 40
Send {[ Up}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment