Sponsored Content
Operating Systems Linux Slackware Replace PS/2 Trackball with USB optical mouse Post 302597820 by fpmurphy on Sunday 12th of February 2012 10:22:25 AM
Old 02-12-2012
You should be able to simple replace one mouse with the other without changing your Xorg configuration file.

ZAxisMapping relates to the mouse wheel (scroll-wheel). Technically, ZAxisMapping takes the input from the scrollwheel and maps it to button events. A 5 button mouse with no scrollwheel would perform like a scrollwheel on pressing buttons 4 and 5. "4 5" is most common because that's how many buttons most mice have. On a common mouse with two buttons and a clickable scroll-wheel, the left button is 1, right button is 2, scroll-wheel click is 3, scroll-wheel up is 4, and scroll-wheel down is 5. For people with side buttons use "6 7" since they count as 7 button mice.
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

USB mouse needs reinstalled every time???

Help! My mouse gave up the ghost, so I connected a USB wheel mouse, and chose it from the list in Suse's Yast2. Also installed it in Windows 98 on the same machine. It works fine in both linux and Windows 98, except for this fact: I have to reinstall it every time I boot into Linux.... (1 Reply)
Discussion started by: Sonshyne5
1 Replies

2. Slackware

how to activate USB mouse

:confused: I am using Linux for a while and now changed to slackware for my study and it is not as good as redhat everytime when you add this or that it needs either configure modules or recompile kernel Now I changed from PS/2 mouse to USB trouble starts it refuse to work I know I can... (3 Replies)
Discussion started by: slackware
3 Replies

3. Shell Programming and Scripting

Building a better mouse trap, or How many lines of code does it take to trap a mouse?

Hello all, I'm hoping to get a little insight from some of the wily veterans amongst you. I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies

4. UNIX for Dummies Questions & Answers

Changing middle mouse button for pasting to right mouse button in cygwin rxvt

Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies

5. SuSE

USB mouse stops working

I have 64bit 11.1 installed on a clone. The Logitech LX3 mouse stops working sometimes, forcing a reboot. The LED under the mouse goes dark when this happens. A normal ps/2 mouse works fine, and I am certain the LX3 mouse is not defective as I have an identical one on a XP system that I swapped to... (6 Replies)
Discussion started by: stansaraczewski
6 Replies

6. Red Hat

How to configure mini optical mouse ?

hello, someone gave me a set of electronic gadgets 'Brookstone' which has mini optical mouse. This mouse label doesn't have model or etc. Mouse does not work properly i.e. pointer is moving right but left/right buttons work opposite and not always could open or close controls. I suggest it might... (3 Replies)
Discussion started by: susja
3 Replies

7. UNIX for Beginners Questions & Answers

CONFIG_HID=y and logitech usb mouse B185 doesn't work in 5.3.0-RC2

trying to make the best for me with 5.3.0-RC2, everthing's fine, the dell vostro 3558 does what it should - but - and here's the question: how do I get a logitech m185 (wireless mouse) to work; I googled around but couldn't fiind anything usefull; the best I get when using solaar (depreciated?) is:... (2 Replies)
Discussion started by: vanbreukelingen
2 Replies
MOUSEEMU(8)						      System Manager's Manual						       MOUSEEMU(8)

NAME
mouseemu - Emulate mouse buttons and mouse wheel SYNOPSIS
mouseemu [options] DESCRIPTION
Mouseemu is a daemon to emulate mouse buttons on trackpads with only one button. It lets you: - emulate middle and right click - emulate mouse wheel - block trackpad while typing It was initially developed for Apple PowerBooks and iBooks, but it may be useful on other architectures as well. This program only works when booting a 2.6 kernel because it uses the new uinput interface to emulate the mouse. OPTIONS
-middle B2_MOD B2_KEY Modifier and key for the middle (second) mouse button. Defaults to F10 and no modifier on PowerPC and Intel Macs, and to none on all other architectures. -right B3_MOD B3_KEY Modifier and key for the right (third) mouse button. Defaults to F11 and no modifier on PowerPC and Intel Macs, and to none on all other architectures. -scroll SCROLL_MOD Modifier for the scrolling function. Defaults to Alt. -typing-block DELAY Time in milliseconds for which the trackpad will be blocked while typing on the keyboard. Defaults to 300ms. -device UINPUT Device node for the uinput device. Defaults to /dev/uinput. If this device is not read and writeable the following devices are also tried: /dev/uinput, /dev/input/uinput and /dev/misc/uinput. -nofork don't run in the background -autorescan Automatically scan every 5s for new devices. This is normally not need, as udev should inform mouseemu about new devices. -debug print debugging messages about device scans -help show usage message The key codes for the buttons and modifiers are key scancodes. They can be found in include/linux/input.h in the kernel headers or by using `showkey` in a console. The keycodes must be given as decimal values (`showkey` displays hex values!). Mouseemu does normally not automatically scan for new devices. An udev rule is used to trigger a rescan when new devices are connected. You can also trigger a rescan manually by sending a HUP signal to the mouseemu process. EXAMPLES
To have the same behaviour as in MacOS X (CTRL-click for right mouse button and no emulation for the middle button): mouseemu -middle 0 0 -right 29 272 The code for the (left) mouse button is 272 (0x110 in hex). The code for CTRL is 29. Trigger a rescan for newly attached devices: kill -HUP `cat /var/run/mouseemu.pid` AUTHOR
Mouseemu was written by Colin Leroy <colin@colino.net>. This manpage was originally written by Gaudenz Steinlin <gaudenz@debian.org> for the Debian Project, but may be used by others under the terms of the GNU General Public License. 2005-03-29 MOUSEEMU(8)
All times are GMT -4. The time now is 02:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy