OSRS Tabs on Mouse Buttons

@rebind / osrs-tabs-on-mouse-buttonsv0.1.1Public

Open Old School RuneScape interface tabs with your mouse side buttons, one press for one key.

Files

Older release. Installs get 0.1.1.

main.luau535 B

-- OSRS Tabs on Mouse Buttons: each side button sends one interface key, a
-- strict one-press-one-key remap, only while the game is focused.

local cfg = UI.Schema({
  backButton = UI.Keybind("Mouse4", { label = "First side button" }),
  back = UI.Keybind("F1", { label = "First side button sends" }),
  forwardButton = UI.Keybind("Mouse5", { label = "Second side button" }),
  forward = UI.Keybind("Escape", { label = "Second side button sends" }),
})

Bind.Remap(cfg.backButton, cfg.back)
Bind.Remap(cfg.forwardButton, cfg.forward)

3 files, 2.4 KB.