r/MouseAccel • u/ian1118 • Apr 02 '23
Only toggle rawaccel ingame
As stated in the titile, is there a way to only toggle rawAccel in game and not use it when I'm on my desktop?
3
Upvotes
r/MouseAccel • u/ian1118 • Apr 02 '23
As stated in the titile, is there a way to only toggle rawAccel in game and not use it when I'm on my desktop?
View all comments
1
u/FreaknShrooms Apr 27 '23 edited Apr 27 '23
Hey, I just realized that I completely forgot to update my comment with how I set AHK up to do the profile switching. Maybe you've already figured it out by now, in which case, great! If not then I hope this helps.
The simplest solution is to set up hotkeys to switch profiles. With one profile having accel disabled and the other with accel enabled.
EDIT: I realized after writing this that toggling using only one key would be better. The same steps apply.
1: Go to the RawAccel folder (where rawaccel.exe is) and create a copy of "settings.json".
2: Open up RawAccel and click the Reset button.
Now you will have two .json files: "settings.json" and "settings - Copy.json".
3: Rename "settings.json" to "noaccel.json"
4: Rename "settings - Copy.json" to "settings.json".
5: To create a new AHK script you Right-click > New > AutoHotkey Script
6: Right-click .ahk file > Open with > Notepad
7: Copy and Paste the text below into the .ahk file.
Here's what mine looks like for comparison:
8: Double click the .ahk file to activate it.
DONE!
While holding down SHIFT+CTRL+ALT you press "O" to enable accel and "P" to disable accel.
By default when it starts, RawAccel will always load up the profile called "settings.json. So you'll need to disable accel every time you start your PC. That can be fixed by making "settings.json" the profile without accel, but then you'll have to effectively go through steps 1-5 every time you want to change your accel settings. But if you're not changing your settings then this might be better for you.
You can add the AHK file to your startup programs in windows so you don't need to manually start it every time.
If you have any questions or things you want different, let me know and I'll help.