How to set up buttons on the Xiaomi mouse: from basic functions to macros

Xiaomiโ€™s mice, from the budget Mi Wireless Mouse to the gaming Mi Gaming Mouse, offer flexible customization options that many users donโ€™t fully use. DPI And we can create macros, but these are often hidden in proprietary software or system settings, and in this article, we'll look at all the configurations that we can use, from simple side key assignments to fine-tuning sensitivity for gamers and designers.

It is important to understand that the configuration methods depend on the mouse model and the operating system. For example, Xiaomi wireless mice (like Mi Wireless Mouse Lite) usually require the installation of Mi Mouse Driver, while the game models (Mi Gaming Mouse Lite) work with Xiaomi Game Center. We will look at universal solutions for Windows 10/11, macOS and even Linux, and we will also tell you how to do without official software if it does not support your OS.

If you have never configured peripherals, donโ€™t worry: the process is intuitive, and we will highlight all the critical points separately. For experienced users, a section with advanced tricks has been prepared - for example, how to tie buttons to AutoHotkey scripts or use a mouse in Blender for the purpose of using the device. 3D-Let's start with the base!

1. What buttons can be set on the mouse Xiaomi

The standard Xiaomi mouse has at least 3 buttons (left, right, wheel), but most models have additional keys:

  • ๐Ÿ–ฑ๏ธ Main buttons: left, right, middle (wheel) and can be configured in any OS without additional software.
  • ๐Ÿ”„ Side buttons: usually 2 (forward/back in the default browser) In game mice, there can be up to 6 programmable keys.
  • ๐ŸŽฏ Button DPI: Mi Gaming Mouse, Mi Dual Mode Wireless Mouse).
  • ๐Ÿ”‹ On/off button: on wireless mice (not configured).
  • ๐Ÿ–ฒ๏ธ Additional keys: Advanced models (such as Mi Gaming Mouse Lite) may have macro or profile buttons.

Here is a table with the capabilities of popular models:

Mouse modelNumber of buttonsCustomizable buttonsSupport for macrosAdjustment of DPI
Mi Wireless Mouse3 + wheelSide (2)โŒ No.โŒ No.
Mi Wireless Mouse Lite5 (on. DPI)Except for the inclusionโŒ No.โœ… 3 levels
Mi Dual Mode Wireless Mouse6Except for the inclusionโš ๏ธ Only through the Mi Mouse Driverโœ… 4 levels
Mi Gaming Mouse8Except for the inclusionโœ… Yes (via Xiaomi Game Center)โœ… 5 levels up to 10,000 DPI)
Mi Gaming Mouse Lite7Except for the inclusionโœ… Yes.โœ… 4 levels (up to 7200) DPI)

Important: Xiaomi Bluetooth-enabled mice (such as Mi Dual Mode Wireless Mouse) may have different settings in modes 2.4G And Bluetooth. In some cases, button reassignment only works in mode. 2.4G.

โš ๏ธ Note: If your mouse is not defined by the system as a device with additional buttons (for example, Windows displays as a device with additional buttons "HID-I'll have to install the driver manually. I'll talk about that in the next section.

2. Installation of official software for setting up

To fully customize the buttons Xiaomi will need proprietary software, here are the utilities suitable for different models:

  • ๐Ÿ–ฅ๏ธ Mi Mouse Driver: a universal utility for most wireless mice (Mi Wireless Mouse, Mi Dual Mode Wireless Mouse.

Instructions for installing Mi Mouse Driver (for Windows):

  1. Download the archive with the driver from the official Xiaomi website.
  2. Unpack the archive and run the file MiMouseDriver.exe.
  3. Connect your mouse to your PC (preferably via cable or in mode) 2.4G).
  4. Follow the installation wizard's instructions. Once complete, restart your PC.
  5. Open Mi Mouse Driver from the Start menu or system tray.

Xiaomi mouse connected|The Mi Mouse Driver is launched|The mouse is identified in the list of devices|All buttons are displayed in the interface-->

If the utility can't see the mouse:

  1. Check the connection (try another one). USB-port 2.4G Bluetooth).
  2. Update chipset drivers via Device Manager (Win) + X โ†’ Device Manager โ†’ Mice and other pointing devices).
  3. Reinstall Mi Mouse Driver with Administrator Rights.

โš ๏ธ Note: Official Xiaomi software does not work on macOS. Use the built-in system settings (System settings) โ†’ Mouse or third-party utilities like SteerMouse (paid) or USB Overdrive (free trial version).

Windows 10/11|macOS|Linux|Another.-->

3. Basic button settings via Mi Mouse Driver

Once you install the driver, open the Mi Mouse Driver. The utility interface is simple: on the left, you'll see the connected mouse, on the right, you'll see a list of buttons with current assignments.

  • ๐Ÿ”ง Reassign buttons: Click on any button in the interface and select a new action from the list (for example, Back, Forward, Middle Click or Macro).
  • ๐Ÿ–ฑ๏ธ Wheel adjustment: you can change the direction of scrolling or assign actions to press the wheel left/right (if supported).
  • ๐ŸŽฏ Adjustment DPI: In support models (e.g. Mi Gaming Mouse) up to 5 sensitivity levels (400 to 10,000) are available. DPI).
  • ๐Ÿ”„ Profiles: Keep different configurations for work, games or design.

Example of reassignment of the side button to Alt + Tab:

  1. In Mi Mouse Driver, select a side button (like Button 4).
  2. In the action list, look for Keyboard Shortcut.
  3. Press Record and enter the Alt combination + Tab.
  4. Save the settings (Apply).

For gaming mice (Mi Gaming Mouse) in the Xiaomi Game Center are available additional options:

  • ๐ŸŽฎ Macros: Recording the key sequence and clicks.
  • ๐ŸŒˆ Backlight: setting RGB-effects (wave, breathing, static color).
  • ๐Ÿ“Š Statistics: tracking the number of clicks and distance traveled.

๐Ÿ’ก

If the desired key combination is not written to the Mi Mouse Driver, try using AutoHotkey to create a virtual key, and then assign it to the mouse button.

4. Setup without official software (Windows, macOS, Linux)

If you do not want to install branded utilities or they do not support your OS, you can use built-in tools or third-party programs.

Windows 10/11

Basic settings are available through the settings โ†’ Devices โ†’ Mouse. โ†’ Additional mouse parameters. You can do this here:

  • Change the left and right buttons.
  • Set up the double click speed.
  • Disable the delay when choosing (good for designers).

To reassign side buttons, the free utility X-Mouse Button Control is suitable:

  1. Download and install X-Mouse Button Control from the official website.
  2. Start the program with administrator rights.
  3. Select your mouse in the drop-down list.
  4. Assign actions for buttons (such as Button 4) = Browser Back).
  5. Save the settings as a Default profile.

macOS

In System settings โ†’ Mouse is fine:

  • Set up tracking and scrolling speeds.
  • Enable Secondary Click (right button).
  • Activate Scroll in a natural direction (like on the MacBook trackpad).

For advanced features, use SteerMouse (paid) or USB Overdrive (free trial) is a program that allows you to use it:

  • Reassign all buttons, including the wheel.
  • Create keyboard shortcuts (e.g. Cmd) + Tab on the side button).
  • Set sensitivity separately along the X and Y axes.

Linux

For Linux, the piper utility is suitable (GUI libratbag):

  1. Install the piper via the terminal: sudo apt install piper # For Debian/Ubuntu sudo pacman -S piper # For Arch Linux
  2. Connect the mouse and start the piper from the app menu.
  3. Select the device and set the buttons, DPI, speed.
How to check if your Xiaomi mouse supports Linux customization?
Run the lsusb command in the terminal and find a device called Xiaomi or 2717 (vendor ID Then check the support in libratbag with the ratbagd team. -l. If the mouse is displayed, it can be configured via a piper.

5. Advanced settings: macros, profiles and AutoHotkey

If you need more than just reassigning buttons, pay attention to:

  • ๐Ÿค– Macros: Recording sequences (clicks, keystrokes, pauses) useful for gaming or automating routine tasks.
  • ๐Ÿ“ Profiles: different configurations for work, games, design (e.g. high-end DPI For graphics and low for office tasks).
  • ๐Ÿ”ง AutoHotkey: Creating complex scripts for mouse buttons (for example, opening programs or executing commands).

Creating a macro in Xiaomi Game Center:

  1. Open Xiaomi Game Center and go to the Macrosa tab.
  2. Click Create a macro and select the button to anchor.
  3. Click Record and follow a sequence of actions (such as clicks and keystrokes in the game).
  4. Save the macro and activate it in the desired profile.

Example of AutoHotkey script for the side button (opening the calculator):

#IfWinActive ahk_exe explorer.exe; Works only in Windows Explorer


XButton1::Run calc.exe; Left side button opens calculator




#IfWinActive

Save the script to a file with the.ahk extension and run it. Now, when you press the side button in Explorer, the calculator will open.

๐Ÿ’ก

Macros in Xiaomi Game Center only work in games run through this center. For general-purpose macros, use AutoHotkey or Pulover's Macro Creator.

6.Tune in. DPI and sensitive

Mouse sensitivity (DPI) It affects the speed of the cursor. In the mouse Xiaomi with support for adjustment DPI (For example, Mi Gaming Mouse can be used:

  • ๐ŸŽฏ Change levels DPI: 400 (exact work) to 10,000 (rapid movement).
  • ๐Ÿ”„ Switch between profiles: button DPI mouse-based.
  • ๐Ÿ“ Adjust sensitivity on axes: separately for horizontal and vertical movement (useful for designers).

How to set up DPI Mi Mouse Driver:

  1. Open the utility and go to the tab DPI Settings.
  2. Select the number of levels (from 1 to 5).
  3. Set the values DPI for each level (e.g. 800, 1600, 3200).
  4. Assign a backlight color for each level (if supported).
  5. Save the settings and check the switching button DPI mouse-like.

For Windows, you can also adjust the sensitivity in system parameters:

  1. Open the settings. โ†’ Devices โ†’ Mouse. โ†’ Additional Mouse Parameters.
  2. Go to the index parameters tab.
  3. Adjust the slider to Set the speed of movement of the pointer.
  4. Uncheck Optimize for accuracy if you want top speed (for example, for shooters).

โš ๏ธ Attention: Highly DPI (over 3200) in some games, there may be cursor acceleration, a nonlinear movement that prevents accurate aiming. DPI Up to 800-1600 and increase sensitivity in game settings.

7. Solving problems with setting up

If the buttons donโ€™t configure or the mouse isnโ€™t working properly, check the following:

Problem.Possible causeDecision
Buttons do not respond to reassignmentThe driver is not installed or conflicts with other softwareReinstall Mi Mouse Driver, disable other mouse utilities (e.g. Razer Synapse)
Mouse is not defined in the Mi Mouse DriverConnecting via Bluetooth instead 2.4GReconnect the mouse in mode 2.4G (via USB-dongle)
Macros don't work in gamesThe game blocks third-party scriptsRun the game through Xiaomi Game Center or use AutoHotkey with administrator rights
DPI reset after resetSettings not saved in profileSave configuration as default profile in Mi Mouse Driver
The side buttons work like standard.Conflict with Windows driversTurn it off. HID-Compatible mouse in Device Manager and reinstall driver

If the mouse doesn't work at all:

  1. Check the battery (for wireless models).
  2. Connect the mouse to another. USB-port.
  3. Reset the mouse settings to factory (usually with the left clamping) + right-hand button for 5 seconds).
  4. Update your mouse firmware via Mi Mouse Driver (if available).
How to reset the Xiaomi mouse to factory settings?
For most models: Turn off the mouse, press the left one. + right button and plug it back in (hold 5-10 seconds until the indicator blinks). For Mi Gaming Mouse: use the reset button on the bottom panel (you need a clip).

FAQ: Frequent questions about setting up Xiaomi mice

Can I set up buttons on the Xiaomi mouse without installing drivers?
Yes, but the options will be limited. Windows can use X-Mouse Button Control, macOS can use SteerMouse, Linux can use a piper, DPI) It is better to install official software.
Why do side buttons not work in games?
Some games, for example, CS:GO or PUBG) Solutions: Assign side buttons to keyboard keys (e.g., keyboard keys, F13โ€“F24) via Mi Mouse Driver, and then attach these keys to the game settings. Use AutoHotkey to emulate the taps (example script: XButton1::Send {F13}). Play the game through Xiaomi Game Center (for gaming mice).
How to turn off the light on the Xiaomi gaming mouse?
You can turn off the backlight in Xiaomi Game Center: Open the utility and go to the Backlight tab. Select the mode Off or set the brightness to 0. Save the settings. If the utility does not help, try resetting the mouse to the factory settings (see spoiler above).
Does Xiaomi Mi Wireless Mouse support settings? DPI?
No, Mi Wireless Mouse (Basic Model) does not support adjustment DPI. This feature is only available in Mi Wireless Mouse Lite, Mi Dual Mode Wireless Mouse and game series.
Can I use the Xiaomi mouse on iPad or Android?
Yes, but with limitations: ๐Ÿ“ฑ Android: the mouse will work as a standard pointing device (without reassigning buttons). For advanced features, you need applications like External Mouse Helper (requires root). ๐ŸŽ iPad: the mouse connects via Bluetooth, but button settings are not possible (iPadOS does not support reassignment.