08-21-2001
wheel Mouse
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???
Thanks
Peter
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
hii can anyone provide timerwheel algorithm?? (1 Reply)
Discussion started by: mohit3884
1 Replies
5. UNIX for Dummies Questions & Answers
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
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
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
LEARN ABOUT DEBIAN
mouse_pos
mouse_x(3alleg4) Allegro manual mouse_x(3alleg4)
NAME
mouse_x, mouse_y, mouse_z, mouse_w, mouse_b, mouse_pos - Global variable with the mouse position/button state. Allegro game programming
library.
SYNOPSIS
#include <allegro.h>
extern volatile int mouse_x;
extern volatile int mouse_y;
extern volatile int mouse_z;
extern volatile int mouse_w;
extern volatile int mouse_b;
extern volatile int mouse_pos;
DESCRIPTION
Global variables containing the current mouse position and button state. Wherever possible these values will be updated asynchronously,
but if mouse_needs_poll() returns TRUE, you must manually call poll_mouse() to update them with the current input state. The `mouse_x' and
`mouse_y' positions are integers ranging from zero to the bottom right corner of the screen. The `mouse_z' and `mouse_w' variables hold the
current vertical and horizontal wheel position, when using an input driver that supports wheel mice. The `mouse_b' variable is a bitfield
indicating the state of each button: bit 0 is the left button, bit 1 the right, and bit 2 the middle button. Additional non standard mouse
buttons might be available as higher bits in this variable. Usage example:
if (mouse_b & 1)
printf("Left button is pressed
");
if (!(mouse_b & 2))
printf("Right button is not pressed
");
The `mouse_pos' variable has the current X coordinate in the upper 16 bits and the Y in the lower 16 bits. This may be useful in tight
polling loops where a mouse interrupt could occur between your reading of the two separate variables, since you can copy this value into a
local variable with a single instruction and then split it up at your leisure. Example:
int pos, x, y;
pos = mouse_pos;
x = pos >> 16;
y = pos & 0x0000ffff;
SEE ALSO
install_mouse(3alleg4), poll_mouse(3alleg4), mouse_needs_poll(3alleg4), exalpha(3alleg4), exlights(3alleg4), exmouse(3alleg4),
exshade(3alleg4), exspline(3alleg4), extrans(3alleg4)
Allegro version 4.4.2 mouse_x(3alleg4)