8 More Discussions You Might Find Interesting
1. What is on Your Mind?
Which Input device do you use the most ?
for me... keyboard ofcourse !! (56 Replies)
Discussion started by: vpraveen84
2. UNIX for Dummies Questions & Answers
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
3. Shell Programming and Scripting
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. UNIX for Advanced & Expert Users
A few years ago i found i the Net a "homework" about how to convert ps2 mouse to Indigo mouse. But i do not save it. Anybody helps me?
There are about 10 Indigo mice in all of my country.
Thanks in advance (2 Replies)
Discussion started by: mikidimov
Hey guys am runing FreeBSD 5.3 on my laptop, i know i have done it before but i cannot for the life of me get my wireless microsoft mouse working in kde. is is connected threw usb. I ran a dmesg and it see the mouse in uhid0. let me know if ya guys could give me a hand in this thanks. (1 Reply)
Discussion started by: THCue
I just got the other computer working again and i put Fedora Core 2 on it but theres a problem. It wont recongnize my mouse at all. Not in installation or in the actual desktop... it doesnt even know its there. It says No - Mouse.... does anyone know how i can fix this? (4 Replies)
Discussion started by: FordGuy
7. UNIX for Dummies Questions & Answers
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
8. UNIX for Dummies Questions & Answers
Hi Everyone, Just a short question. I have SuSe linux 7.1 and need configure my logitech wheel mouse. My left and right mouse button works but not the wheel. Does anyone have any Ideas???
Peter (1 Reply)
Discussion started by: Peterh
glutMouseFunc(3GLUT) GLUT glutMouseFunc(3GLUT)
glutMouseFunc - sets the mouse callback for the current window.
void glutMouseFunc(void (*func)(int button, int state,
int x, int y));
func The new mouse callback function.
glutMouseFunc sets the mouse callback for the current window. When a user presses and releases mouse buttons in the window, each press and
each release generates a mouse callback. The button parameter is one of GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, or GLUT_RIGHT_BUTTON. For
systems with only two mouse buttons, it may not be possible to generate GLUT_MIDDLE_BUTTON callback. For systems with a single mouse but-
ton, it may be possible to generate only a GLUT_LEFT_BUTTON callback. The state parameter is either GLUT_UP or GLUT_DOWN indicating whether
the callback was due to a release or press respectively. The x and y callback parameters indicate the window relative coordinates when the
mouse button state changed. If a GLUT_DOWN callback for a specific button is triggered, the program can assume a GLUT_UP callback for the
same button will be generated (assuming the window still has a mouse callback registered) when the mouse button is released even if the
mouse has moved outside the window.
If a menu is attached to a button for a window, mouse callbacks will not be generated for that button.
During a mouse callback, glutGetModifiers may be called to determine the state of modifier keys when the mouse event generating the call-
Passing NULL to glutMouseFunc disables the generation of mouse callbacks.
glutKeyboardFunc, glutMotionFunc, glutSpaceballButtonFunc, glutButtonBoxFunc, glutTabletButtonFunc, glutGetModifiers
Mark J. Kilgard (firstname.lastname@example.org)