Why do I need X-Mouse Button Control?XMBC is a small and efficient application to remap your mouse buttons. Originally, I wrote XMBC because Microsoft was slow to release a proper working Intellipoint package for Windows XP x64. They have released such a package now but as far as I'm concerned, they were too slow!. Anyway, XMBC is tiny in comparison and takes far fewer system resources.

Is there a user manual?Yes there is a relatively simple user guide (produced initially by MainTrane and updated by Phil) that explains the various screens in XMBC. It can be found on your start menu after installation, or online here or here (mirror).

Does XMBC support Windows Vista, 7, 8 or 10?XMBC supports Windows XP through Windows 10, both x86 and x64 editions. It also runs just fine on Windows Server should you choose to do so. Generally I test on the latest version of Windows only (currently Windows 10) but there are many other people participating in the (open) beta tests that use older OS's from XP upwards.

NOTE That different versions of Windows can have different options available, depending on what that version of Windows offers.
For example on Windows 10 you can open the charms bar, on Windows 10, search with Cortana and navigate between virtual desktops etc.

NOTE: Prior to version 2.6, if you are using UAC (on by default) then XMBC will not work with programs running in Administrator mode unless XMBC is run in Administrator mode. Version 1.39 and later attempts to circumvent this using a system service to launch XMBC elevated if your account has the ability to do this but obviously a standard user will still be limited to non elevated processes unless you explicitly launch XMBC as administrator and provide account credentials.

NOTE: As of version 2.11, XMBC no longer supports Windows 2000 and require to be installed under the Program Files folder in order to interact with elevated windows (see below).

Installation LocationWhy should I/shouldn't I use Program Files for During installation, what difference does it make?In Windows Vista and later, XMBC operates as an accessibility tool in order to interact with elevated (UAC) windows and send certain simulated keystrokes.

Microsoft's rules for accessibility tools are quite strict, and include that they *HAVE* to be installed under either the \Program Files folder or the \Windows\System32 folder. If that is not the case (you choose a different location), then Windows will stop XMBC from running as an accessibility tool and you simply wont be able to operate with elevated windows or send simulated keystrokes that require elevation (like WIN+X on Windows 8 and later).

Of course, you can get around this by running XMBC as Administrator but that (a) requires and Admin account and (b) if you have UAC enabled, requires accepting/entering credentials every time you run XMBC - hardly an acceptable solution!

I've installed XMBC , now what?XMBC will run automatically when you start windows (or log on to windows). it is also available to run in your START menu under "Highresolution Enterprises". When XMBC runs, a little mouse icon is visible in the system tray (by the clock). Double click the icon to open the setup window. Right click the icon to show the menu.

NOTE: On Windows Vista and later, the system tray icon may be hidden. You can normally see the hidden icons by clicking the "show hidden icons" link (up arrow) to the left of the system tray:

xmbc-tray.png

What's with the PayPal/Bitcoin button - isn't XMBC free?XMouseButtonControl is and always will be free. The donate button is just that, if you want to show your thanks and support feel free to use it. If you don't, it doesn't matter. It is not my intention to charge for XMBC , or give people who donate any special treatment or quicker fixes/responses.
Of course, all donations are appreciated and do help with the motivation sometimes

Can I use XMBC in a corporate environment - what is the license?As I said above, XMBC is free - you can use it where ever you want. All I ask is that if you want to redistribute XMBC (for example on a magazine cover CD) you ask me first.
As for license - there isn't one, XMBC is a hobby project, not commercial. The only important things are that you use XMBC at your own risk and I cant be held responsible for anything, as described in the installation license page.

My simulated keystrokes do not work in games, what can I do?Some games do not react well to simulated keys. There are various reasons for this, for example, some actively block injected keystrokes to prevent cheating. I have created a dedicated thread for this issue, with some suggested actions to try to resolve the problems.

Can you add support for more buttons?Unfortunately, XMBC is not a mouse driver, it uses windows mouse hooks to capture buttons and therefore it is only capable of responding the messages sent by the mouse driver and supported natively by Windows. Mouse hooks only work with messages for the first 5 buttons. So until Windows mouse hooks recognize more buttons natively, XMBC will only ever support 5 buttons.

I have a keyboard with extra buttons. Can you support the extra buttons in that don't currently work in XP64?Unfortunately, the keyboard support for extra buttons is limited to the driver. You will find, certainly on a MS keyboard, that some of the extra buttons work and some don't. The ones that don't work can not be changed because it would require a driver (like the extended mouse buttons above). Therefore, I am unable, in a program such as XMBC to map these buttons. More to the point, XMBC is for configuring the mouse not the keyboard!

Can you implement this extra functionality for me?PM or Email me or post to this forum your request and maybe I can help - but don't expect an immediate resolution,
XMBC is pretty stable now and there are alternatives like the proper Logitech drivers - so its not going to change too often!

I've found a bug, can you fix it?Again, PM/Post here, follow the rules and include as much information about the problem and I'll do my best to help. Don't forget that XMBC is something I do in my spare time so there will be no promises on timescales!

Can I have the source code?XMBC is not currently open source, its just free to download and use.
This is mainly because I cant be bothered to make it nice and tidy. I don't plan on giving the source away - but it is very simple - it just uses windows mouse hooks. I found all the info required to build XMBC in MSDN (look for SetWindowsHookEx())

You do not have the required permissions to view the files attached to this post.

Last edited by phil on Thu Nov 10, 2011 5:11 pm, edited 3 times in total.

I have more than one mouse/trackball on my system; Does XMBC have the capability to distinguish between different mice?Unfortunately, XMBC does not have access to any information that provides the source of the input. It uses Windows mouse hook APIs and therefore it can't determine where the input came from. I believe to do this would require something in the mouse driver which is then limited to individual devices (and I'm just not going there!) or using Direct Input which does not fit easily with the mouse hooks - i.e. you are unable to block the source input when remapping buttons.

The Icon in the system tray has disappeared and won't come back... How do I fix this?Version 1.25 and later includes a feature to always hide the icon. You enable this by un-ticking the "Show tray icon by default" option in the setup screen.
Once you disable the icon, it will only be shown if you run a second copy of XMBC (from your start menu) or you run XMBC with the command line option to show the icon (/ShowIcon).

So, to fix it, just run XMBC a second time (don't worry it doesn't actually run two instances of XMBC , it just tells the first instance to show its icon!). NOTE: On Windows Vista and later, you may have to run as administrator to show the icon (if the main XMBC is running as admin).

Zone Alarm does not work with X-Mouse Button control enabledSeveral people have reported problems using Zone Alarm with XMBC installed. The reason for this is that Zone Alarm, being a nice secure application, does not allow simulated mouse events to control it. Therefore the default actions in XMBC do not appear to work with Zone Alarm.

The simple fix is to set the Left and Right buttons to "Nothing (Don't Intercept)" in the settings. You can do this for all applications or you can add a specific configuration for the Zone Alarm program (iclient.exe) and set it up just for that.

NOTE: From Version 1.25, the default actions for the 3 main buttons have been set to "Nothing (Don't intercept)" which should help avoid this issue in the future, as well as improve performance when the buttons don't need to do anything special!

Last edited by phil on Thu Nov 10, 2011 5:12 pm, edited 2 times in total.

Can you add tilt wheel support to Windows XP?The simple answer is NO.
Only Windows Vista and later has native support for the tilt wheel (left and right) commands. On earlier versions of Windows, the mouse driver needs to handle these messages and translate them into user actions. As XMBC is not a driver it never sees the standard messages as they are not there pre-Vista; therefore it can not remap them.

How can I send a custom key press or key sequence?In the drop down list of functions associated with each button, you can select Simulated Keystrokes. When you choose this, a dialog appears allowing you to specify the key (or key sequence). This dialog also has a help panel details how you can use special tags for certain system keys like the F-keys, arrow keys, CTRL, ALT keys etc.

What are layers (XMBC 1.49 and later)?Layers give you the ability to configure different commands for a single button. You can switch to a layer using a keyboard hotkey or another mouse button is held down. From version 1.50, you can also switch to a layer when a certain key is held down, see Layer Modifier keys in the advanced settings dialog.
From 1.53, you can specify the layer names. These names are displayed in the balloon bubble when switching between layers.

Please note: In 1.52 and earlier, the Global Hotkey and Layer Modifier key tabs are hidden until you turn ON the global hotkey / layer modifier key support in the general settings tab. This was changed in 1.53 to remove confusion. The enable options are now displayed on the relevant tabs

XMBC stops working randomly in Windows 7When using on Windows 7 or later, XMBC can stop responding to mouse click seemingly randomly. This is not strictly a bug in XMBC but a change in the behavior of Windows. Windows 7 introduced the concept of a timeout for system hooks (the method XMBC uses to monitor the mouse). If the CPU is busy (e.g. playing HD movies) XMBC may not be scheduled (by windows) in time to respond to the hook before this timeout occurs. When this happens, the hook is removed without notification (thanks Microsoft!) and XMBC appears to have stopped working. Restarting it or pressing Apply in the settings screen fixes the problem until it happens again.

The installation processes increases the default timeout from 200ms to 2 seconds. If this is still not enough, you can adjust the low level hook timeout in the general settings screen. You need to reboot after making this change!

Icons in XMBC 1.53 and laterFrom version 1.53, the default icon has changed to a new mouse icon. Its cleaner and looks more modern. The layer icons & disable icons has also been updated.

What's more, you are able to use you own icons by creating icon .ico files in the same folder as the main executable (XMouseButtonControl.exe). Simply create icon files with 16x16 or 32x32 (auto-resized) icon images.

The supported icon file names are:

Layer1.ico

Layer2.ico

Layer3.ico

Layer4.ico

Layer5.ico

Disabled.ico

How do I disable the check for new version?XMBC 1.53 Introduced a simple version check. It operates once a month (on the first day you start XMBC in that month). All it does is check the current version using a call to my website (http://www.highrez.co.uk). It is enabled by default, but can be turned off in the advanced settings, general tab. When its turned on, you can quickly check for a new version by opening the about box (it will pop up a message if there is a new version available).

From version 2.2 you can also adjust how frequently XMBC checks for new versions in the general settings tab.

Where are the XMBC settings and profiles saved. Can I export them?
Firstly, you can export individual profiles, or all (except the default) profile by selecting the profile, right clicking it and choosing export selected or export all. However this only exports profiles, not generic settings.

The settings are stored in an XML file called XMBCSettings.xml.
By default, on Windows Vista and later, this is in your user profile folder:C:\Users\<your username>\AppData\Roaming\Highresolution Enterprises\XMouseButtonControl
However this can be changed during installation when it asks you where to store the settings (and language packs and log file).

NOTE: You can quickly open the folder by holding the CTRL key and clicking the XMBC icon system tray.

From version 2.16, you can also save and load whole profiles directly from the main XMBC screen. This includes all settings and the default profile.

I've just installed XMBC 2.6 or later and I'm having problems with macros in some programs
XMBC 2.6 onward no longer uses a Windows service to launch the application on Windows Vista and later. Instead it does things properly and runs as an accessibility tool (like the on screen keyboard). To run in this mode, XMBC has to be installed in an OS protected location (i.e. the Program Files folder).

If you choose to install XMBC in a different folder it will run in portable mode and certain functions will not work. You will not be able to run macros in elevated processes and certain macros will not work as expected (such as ALT+TAB). This impacts Windows 8 more than earlier versions.

It is highly recommended that you install XMBC under you main Program Files folder which is the default location. If you have not done so, uninstall XMBC and then re-install it in the default location.

You do not have the required permissions to view the files attached to this post.

Last edited by phil on Thu Nov 10, 2011 5:16 pm, edited 2 times in total.

If you have a question that is not answered here, first check that no one else has asked the question by searching this forum. If not, please sign up to the forums and post a new topic in the XMouse Button Control forum here.

Alternatively you can PM me or email me directly (but I prefer the first two options as I often miss emails that get marked as SPAM).