X-Mouse Button Control (XMBC) is a free Windows utility that allows you to remap and customize your mouse buttons. It lets you assign new functions to mouse buttons and the scroll wheel, significantly expanding your mouse's capabilities. Whether you're looking to streamline your workflow, simplify navigation, or set up custom controls for gaming, XMBC offers an extensive range of options.
XMBC supports Windows 10, Windows 11, and Windows Server editions, and it works seamlessly with both 32-bit and 64-bit systems. The tool is particularly useful for mice with additional buttons (typically buttons 4 and 5), but you can also remap standard buttons and scroll wheels.
Follow the detailed instructions below to set up and use XMBC effectively.
Installing X-Mouse Button Control
Step 1: First, download X-Mouse Button Control from the official website by visiting the XMBC download page. You can choose either the standard installer or a portable version.

Step 2: Run the downloaded installer file. When prompted by User Account Control (UAC), click "Yes" to allow installation. Accept the license agreement and proceed through the installation wizard. The default settings are usually sufficient, but you can customize the installation location if desired.
Step 3: Once installation is complete, XMBC will automatically launch. You will see the XMBC icon appear in the system tray (usually located in the bottom-right corner of your screen). Double-click this icon to open the main configuration window.

Remapping Mouse Buttons with XMBC
Step 1: Open the XMBC main interface by double-clicking the system tray icon. To identify your mouse buttons, simply click any button on your mouse, and XMBC will highlight the corresponding button in orange within the interface. This feature is especially helpful for distinguishing between buttons 4 and 5.
Step 2: To remap a button for a specific application, click "Add" under the "Application/Window Profiles" section. A list of currently running applications will appear. Select the desired application or browse to the executable file. Once selected, click "OK" to create a new profile for that application.

Step 3: With the profile selected, choose the button you wish to remap from the dropdown menu. For instance, to map button 4 to close tabs in Google Chrome, select "Simulated Keys" from the dropdown menu next to "Mouse Button 4". Enter the keyboard shortcut {CTRL}W
to simulate pressing Ctrl+W. Click "OK" and then "Apply" to save your changes.

Now, pressing mouse button 4 in Chrome will close the active tab, streamlining your browsing experience.
Using Mouse Wheel for Volume Control
Another useful XMBC feature is remapping the mouse wheel to control system volume, particularly handy when listening to music or watching videos.
Step 1: Create a profile for your media application (e.g., MusicBee, Spotify, or VLC) by clicking "Add" and selecting the desired program.
Step 2: For the "Wheel Up" action, select "Simulated Keys" and enter {VOL+}
in the custom key field. Similarly, for "Wheel Down," select "Simulated Keys" and enter {VOL-}
. Click "OK" and "Apply" to confirm these settings.
Now, when your media player is active, scrolling up or down will raise or lower the volume, respectively.
Advanced Features: Button Chording and Layers
XMBC also provides advanced features such as "Button Chording" and "Layers," offering even greater flexibility.
Button Chording: This feature allows you to perform different actions by pressing combinations of mouse buttons. For example, holding down the right mouse button while scrolling the wheel could adjust volume or zoom.
To configure button chording, select "Button Chording" from the dropdown menu for the primary button you want to chord. Then, set the secondary button actions accordingly.
Layers: XMBC lets you define up to 10 layers of different button configurations per profile. You can switch between these layers using hotkeys, mouse buttons, or modifier keys, allowing multiple configurations for different tasks or workflows.
Importing and Exporting Profiles
XMBC profiles can be easily exported and imported, enabling you to transfer your custom configurations between different computers. To export your settings, click "Export" and save the configuration file (.xmbcs
). To import, click "Import" and select the saved file.

This feature is particularly useful if you use XMBC across multiple devices or wish to back up your configurations.
Troubleshooting Common Issues
If you accidentally remap your left mouse button or another critical function, temporarily disable XMBC by pressing the Scroll Lock key on your keyboard. This will revert mouse functions to default, allowing you to correct your settings. Press Scroll Lock again to re-enable XMBC.
X-Mouse Button Control provides a powerful way to customize your mouse buttons, significantly improving productivity, navigation, and ease of use. With careful configuration, you can optimize your mouse to perfectly suit your workflow.
Member discussion