marketplace/gaming

osu! Side-Button Taps

v0.1.0

@rebindfree

Tap osu! with your mouse side buttons: Mouse 4 and 5 become Z and X, only while osu! is open.

Gallery

osu! Side-Button Taps preview

Readme

Your mouse side buttons press your two osu! keys, held exactly as long as you hold them. By default Mouse 4 sends Z and Mouse 5 sends X. It runs only while osu! is focused.

Needs Rebind 3.5.0 or newer on Windows or macOS. No extra permissions.

Settings

  • First side button and Second side button: defaults Mouse 4 and Mouse 5.
  • First side button sends and Second side button sends: set these to your osu! keys. Defaults Z and X.

Key changes apply while the package runs on Rebind 3.9 or newer. On older versions, restart the package after changing a key.

Before you use it

A 1:1 remap changes which button you press, not what the game sees. Macros that press for you are not allowed in ranked play.

Limits

  • The focused program's process name must contain "osu".
  • Live use remains unverified on Windows and macOS.

Stop

Stop the package from the editor toolbar, or press Left Ctrl + Left Alt + K to stop all scripts.

Reviews

No reviews yet. Be the first, from the app.

Source

Version 0.1.0 (current)

main.luau

-- osu! Side-Button Taps: the side buttons press your two osu! keys, held as
-- long as you hold them, only while osu! is focused.

local cfg = UI.Schema({
  firstButton = UI.Keybind("Mouse4", { label = "First side button" }),
  firstKey = UI.Keybind("Z", { label = "First side button sends" }),
  secondButton = UI.Keybind("Mouse5", { label = "Second side button" }),
  secondKey = UI.Keybind("X", { label = "Second side button sends" }),
})

Bind.Remap(cfg.firstButton, cfg.firstKey)
Bind.Remap(cfg.secondButton, cfg.secondKey)