Mouse Media Keys

@rebind / mouse-media-keysv0.1.2Public

Mouse side buttons play, pause and skip; hold one and scroll to change the volume.

Readme

Mouse Media Keys preview

Files3 files / 2.5 KB

main.luau954 B
README.md1.1 KB
rebind.toml402 B

Browse files

Mouse 4 plays and pauses. Mouse 5 skips to the next track. Hold Mouse 5 and scroll to change the volume. It controls whatever is playing, wherever it is.

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

Settings

  • Play or pause: default Mouse 4.
  • Next track, or hold and scroll for volume: default Mouse 5. Releasing it without scrolling skips; scrolling while it is held changes the volume instead.
  • Volume steps per notch: 1 to 5 volume key presses per wheel notch.

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

Limits

  • In Rebind's hardware mode with Rebind Link, media keys go through your computer and need Rebind 3.9 or newer.
  • The side buttons no longer go back and forward in browsers while the package runs.
  • Live use remains unverified on Windows and macOS.

Stop

Stop the package from the editor toolbar, or press Left Ctrl + Left Alt + K (Left Control + Left Option + K on macOS) to stop all scripts.