osu! Side-Button Taps

@rebind / osu-side-button-tapsv0.1.1Public

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

Files

main.luau530 B

-- 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)

3 files, 2.0 KB.