MouseWheel is an AutoHotkey v2 script that remaps mouse wheel input for RIFT-related game windows and adds a small floating status overlay.
The current published script is mousewheel_4_16_fixed_v4_14.ahk.
- Install AutoHotkey v2.
- Download this repository or clone it.
- Run
mousewheel_4_16_fixed_v4_14.ahk. - Focus a supported game window and use the hotkeys below.
If your install uses the UX launcher, the executable may be here:
C:\Users\mrkoo\AppData\Local\Programs\AutoHotkey\UX\AutoHotkeyUX.exe
- Sends
1when you useCtrl + WheelUp - Sends
2when you useCtrl + WheelDown - Starts or stops auto-repeat with
Shift + WheelUpandShift + WheelDown - Stops repeat automatically when the game loses focus
- Shows a compact overlay with current status and the active target window
- Reduces accidental in-game zoom by suppressing stray wheel input while spam controls are active
The script only activates when the focused window title contains one of these values:
RIFTOMB1OMB2OMB3OMB4OMB5
If no supported window is focused, the overlay shows No Target and repeat mode will not continue running.
| Input | Result |
|---|---|
Ctrl + WheelUp |
Sends 1 once |
Ctrl + WheelDown |
Sends 2 once |
Shift + WheelUp |
Toggles repeating 1 |
Shift + WheelDown |
Toggles repeating 2 |
Escape while repeating |
Stops repeat |
Escape while idle |
Passes through normally |
- Repeat interval is
70 ms - Shift-wheel toggle debounce is
150 ms - Repeat stops immediately when the target window loses focus
- While repeat is active, using another shift-wheel command stops repeat instead of switching directions mid-stream
This is intentional to keep behavior predictable during gameplay and Alt-Tab or focus changes.
The script shows a small always-on-top overlay with:
- Title row:
RIFT Wheel - Repeat indicator dot
- Active target label, or
No Targetwhen nothing supported is focused - A close button to exit the script
You can drag the overlay to reposition it.
The current build keeps the raw wheel suppression added in v4.13 while reorganizing the script into clearer modules in v4.14:
Ctrlis heldShiftis held- auto-repeat is active
This helps prevent occasional wheel events from leaking through to the game as zoom in/out while using the spam controls.
- The script is scoped to supported window titles only
- Losing focus is treated as normal behavior, not an error condition
- If the active window briefly disappears during focus changes, the script falls back safely instead of throwing a popup
If you want to change the mapped keys or timing, edit these values near the top of the script:
CtrlWheelUpKeyCtrlWheelDownKeyShiftWheelUpKeyShiftWheelDownKeyRepeatIntervalMsShiftToggleDebounceMsIdleOverlayLabelTargetWindowTitles
Current version: v4.14
Highlights:
- compact release format
- focus-loss-safe target detection
- working overlay close button
- overlay spacing cleanup
- symbol encoding fix
- raw wheel suppression to reduce accidental zoom
- modular structure cleanup with clearer logical sections
This project is licensed under the MIT License.