Simple Anti-RSI Script
Hi friends
Some actions in Darktide require you to left-click a lot, quickly. This is not good for your index finger and can lead to RSI (repetitive strain injury).
Here's a simple AutoHotkey script to help with that.
~XButton2::{
Sleep(500)
while(GetKeyState("XButton2", "P")){
Send("{LButton down}")
Sleep 1
Send("{LButton up}")
Sleep 100
}
}
This makes holding XButton2, which is the 2nd thumb button on my mouse, after 500 milliseconds, send a left-click every 100 milliseconds until you release XButton2. The 500ms delay is there so that if you have another action bound to that button, you can still use it. If you have a binding that requires holding down XButton2 then this will probably not play nice with that.
In order to use this, you need to install AutoHotkey v2. Once AutoHotkey v2 is installed, make a file with a .ahk extension, paste the code into it, and then run the script by double-clicking on it. Then I advise going to the Psykhanium/Meat Grinder and trying it out to make sure it's working.
If you want to use something other than XButton2, go to this page, find the Name of the key you want to use, and replace all the script's instances of XButton2 with your key's name.
If you're worried about anti-cheat, fear not. I've been using this script and a few others for weeks and I haven't been banned.
That's it. I hope this helps some people out.
Cheers
Posted Feb 3, 2023, 6:17 AM UTC
Just as a general warning: Autohotkey gets flagged sometimes. Unlikely that's the case for Darktide, but if you have a mouse that comes with a software (e.g. Razor) you can set up macros there too that are virtually undetectable (unless you automate something, like an anti-afk script).
Devs said it's ok.
But EAC can flag this input as virtual. Even with send as game input in AHK.
AHK can do pointer manipulation and EAC will also flag.
But moot point, EAC last I check was not enabled in game atm
Moot point*
Not criticising, just letting you know, it's a weird word.
Ty mb lol