Sponsored Content
Full Discussion: wheel Mouse
Top Forums UNIX for Dummies Questions & Answers wheel Mouse Post 5727 by Andy Hibbins on Tuesday 21st of August 2001 01:24:12 PM
Old 08-21-2001
Hi,

I've got a logitech optical wheel mouse, running on Mandrake.
To get the wheel to work properly I configured the mouse as a "Generic PS2 Wheel mouse" using mouseconfig.

The pointer section of my XF86Config file looks like the following:

# **********************************************************************
# Pointer section
# **********************************************************************

Section "Pointer"
Protocol "IMPS/2"
Device "/dev/mouse"
ZAxisMapping 4 5
Buttons "5"

EndSection

# **********************************************************************


Hope this helps with your mouse.

Andy H Smilie
 

7 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mouse wheel...

Hello. I've got round to installing RedHat 7.1, and i have this slight problem. I'm not able to use my mouse wheel. Is this just not possible in RedHat or is there a way to configure my mouse so i can use my mouse wheel. Thank you. (1 Reply)
Discussion started by: Mr-Pixie
1 Replies

2. 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

3. 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

4. UNIX Desktop Questions & Answers

timer wheel algorithm

hii can anyone provide timerwheel algorithm?? (1 Reply)
Discussion started by: mohit3884
1 Replies

5. UNIX for Dummies Questions & Answers

How to get the mouse wheel to work without root privilege

Hi, I use a nomachine terminal to access KDE desktop(redhat linux enterprise) on a server. Is there any way to get the mouse wheel to work without root privilege ? I have a usb mouse connected to a nomachine terminal,most likely the mouse wheel problem is not the problem of nomachine, but... (1 Reply)
Discussion started by: grossgermany
1 Replies

6. UNIX for Dummies Questions & Answers

system, wheel and everyone

I open a file in MAC OSX with command i and wanted to chenge the authorisation. What is 'wheel'? Can somebody tell m what does it mean? (4 Replies)
Discussion started by: Vera
4 Replies

7. UNIX for Dummies Questions & Answers

Sun Ray Mouse Scroll Wheel

Have a user on a Solaris 10 sunray CDE environment her mouse wheel will not scroll up or down in windows it will paste but not scroll. Other users logged into sunray have no issues with mouse wheel. Any ideas on what the fix could be? Thanks:) ---------- Post updated at 08:19 PM ----------... (0 Replies)
Discussion started by: nite2viper
0 Replies
UNTITLED
LOCAL UNTITLED NAME
glutMouseFunc -- Sets the mouse-button callback for the current window. LIBRARY
OpenGLUT - input SYNOPSIS
#include <openglut.h> void glutMouseFunc(void( *callback )( int button, int state, int x, int y )); PARAMETERS
callback Client hook for mouse-buttons. DESCRIPTION
Whenever a mouse button is pressed or released in an OpenGLUT window, OpenGLUT checks if that window has a mouse-button (Mouse) callback reg- istered. If so, OpenGLUT gives the event to the handler. button is the button number, starting from 0. state is GLUT_UP or GLUT_DOWN to indicate the button's new state. The other parameters are the mouse coordinates. Mouse wheel motion can be reported as buttons. If you do not request otherwise, a wheel spun forward will act like a button clicking down, immediately followed by clicking up. Spinning the same wheel backward will act like a different button clicking. Mouse wheel pseudo-buttons are added after all real buttons. While the button is held and the mouse is dragged, you receive mouse-motion events (glutMotionFunc()), even if the mouse is dragged out of the window. This callback is bound to the current window . CAVEATS
Reporting the wheel as buttons is actually inherited from X. freeglut added code to support this on WIN32. OpenGLUT inherited that support from freeglut. Old GLUT defines the symbols GLUT_LEFT_BUTTON, GLUT_RIGHT_BUTTON, and GLUT_MIDDLE_BUTTON. However, mice can have more than 3 buttons, so these symbols are deprecated. Windows created via glutCreateMenuWindow() always cascade keyboard and mouse events to their parent. SEE ALSO
glutMotionFunc(3) glutPassiveMotionFunc(3) glutMouseWheelFunc(3) Epoch
All times are GMT -4. The time now is 01:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy