

- #HOW TO CUSTOMIZE MOUSE BUTTONS WINDOWS 7 DRIVER#
- #HOW TO CUSTOMIZE MOUSE BUTTONS WINDOWS 7 SOFTWARE#
I'll mess with it a bit more to see if I can improve the efficiency, but for now this gets the job done. Step 5: From the list select the program. Step 4: To configure the buttons for a particular software, click the Add button. Step 3: In the window that opens, you can set the default settings for each button of your mouse. m:0x4+mod4+m:0x0+c22 is the actual key code combination that gets detected by xbindkeys. Step 2: Click with the right mouse button on X-Mouse Button Control icon in system tray and from context menu choose Setup. The swipe down gesture on the mouse sends the keystroke left control+ left super+ tab. The swipe up gesture on the mouse sends the keystroke of left control+ left super+ backspace. If detected, xautomation sends the standard move desktop keystroke, control+ alt+ left/ right. In the Command List pane, drag the command you want to add to the mouse. A new mouse button (named Button n) is placed at the bottom of the selected list. It provides a set of actions which can be edited with a combination of a mouse click and a key. You can add or edit the actions to be performed by mouse buttons, but with specific key strokes.
#HOW TO CUSTOMIZE MOUSE BUTTONS WINDOWS 7 SOFTWARE#
(1) In a new tab, type or paste about:config in the address bar and press Enter. In the Customize tab, Customizations In#HOW TO CUSTOMIZE MOUSE BUTTONS WINDOWS 7 DRIVER#
In case the mouse driver is sending the Backspace key, you can set Firefox to ignore that. What this xbindkeys script does is it listens for the keypresses that the mouses swipe up and swipe down gestures send to the computer. Unfortunately, your advanced mouse driver software generates keyboard shortcuts to Firefox for those extra buttons Firefox doesn't actually handle more than 3 buttons.

"xte 'keydown Control_L' 'keydown Alt_L' 'usleep 100' 'key Right' 'keyup Control_L' 'keyup Alt_L' 'keyup Right'" "xte 'keydown Control_L' 'keydown Alt_L' 'usleep 100' 'key Left' 'keyup Control_L' 'keyup Alt_L' 'keyup Left'" It's not an ideal solution, but it works like 8 out of 10 times. So since the Microsoft Sculpt Comfort Mouse isn't registering mouse button presses for the super and swipe gestures, but instead is registering keyboard key presses, I used the 'xautomation' and 'xbindkeys' packages to listen for those key presses and send Ctrl+ Alt+ Right/ Left to switch between workspaces.
