Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install_mouse(3alleg4) [v7 man page]

install_mouse(3alleg4)						  Allegro manual					    install_mouse(3alleg4)

NAME
install_mouse - Installs the Allegro mouse handler. SYNOPSIS
#include <allegro.h> int install_mouse(); DESCRIPTION
Installs the Allegro mouse handler. You must do this before using any other mouse functions. RETURN VALUE
Returns -1 on failure, zero if the mouse handler is already installed (in which case this function does nothing) and the number of buttons on the mouse if the mouse handler has successfully been installed (ie. this is the first time a handler is installed or you have removed the previous one). Note that the number of mouse buttons returned by this function is more an indication than a physical reality. With most devices there is no way of telling how many buttons there are, and any user can override the number of mouse buttons returned by this function with a custom configuration file and the variable num_buttons. Even if this value is overridden by the user, the global mouse variables will still report whatever the hardware is sending. SEE ALSO
remove_mouse(3alleg4), poll_mouse(3alleg4), mouse_x(3alleg4), show_mouse(3alleg4), get_mouse_mickeys(3alleg4), position_mouse(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4) Allegro version 4.4.2 install_mouse(3alleg4)

Check Out this Related Man Page

install_mouse(3alleg4)						  Allegro manual					    install_mouse(3alleg4)

NAME
install_mouse - Installs the Allegro mouse handler. SYNOPSIS
#include <allegro.h> int install_mouse(); DESCRIPTION
Installs the Allegro mouse handler. You must do this before using any other mouse functions. RETURN VALUE
Returns -1 on failure, zero if the mouse handler is already installed (in which case this function does nothing) and the number of buttons on the mouse if the mouse handler has successfully been installed (ie. this is the first time a handler is installed or you have removed the previous one). Note that the number of mouse buttons returned by this function is more an indication than a physical reality. With most devices there is no way of telling how many buttons there are, and any user can override the number of mouse buttons returned by this function with a custom configuration file and the variable num_buttons. Even if this value is overridden by the user, the global mouse variables will still report whatever the hardware is sending. SEE ALSO
remove_mouse(3alleg4), poll_mouse(3alleg4), mouse_x(3alleg4), show_mouse(3alleg4), get_mouse_mickeys(3alleg4), position_mouse(3alleg4), set_mouse_range(3alleg4), set_mouse_speed(3alleg4) Allegro version 4.4.2 install_mouse(3alleg4)
Man Page

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

changing mouse speed

Hi, i have had Red Hat 9 installed for about 30minutes now, i'm quite liking it but my mouse seems very slow. Is it possible somehow to change the speed of the mouse? I have tried going to the main menu > System Setings > Mouse. but all i get is the option to change the type of mouse and not the... (0 Replies)
Discussion started by: fitzjj
0 Replies

2. UNIX for Dummies Questions & Answers

Mouse Problem In ScoUnix

I have a problem with my mouse in scounix 5.04 i choosed my mouse during installation , but when i installed unix my mouse was hanged , and didn't works. please help me how can i install my mouse tnx alot (1 Reply)
Discussion started by: uranium
1 Replies

3. Shell Programming and Scripting

replace buttons with hyperlinks

I have a script that uploads file push buttons, but i want to replace buttons with hyperlinks. Please send suggessions Thanks (1 Reply)
Discussion started by: handshakeit
1 Replies

4. HP-UX

reset mouse

I have a Belkin KVM switcher, but when I switch from Unix to Windows, then back to Unix, the mouse stops working is there any way to reset the mouse without restarting the workstation? thanks! (0 Replies)
Discussion started by: xRonin
0 Replies

5. AIX

Serial mouse Installation

Hi, Can anybody tell me how to install serial mouse in aix 5.1. I connected a serial mouse and tried but it doesnt work. (4 Replies)
Discussion started by: sriram.s
4 Replies

6. What is on Your Mind?

Newcomer, I'm new..

Okay, I'm new on the damn forum and I don't know how I'd concentrate more on it. I keep pointing my mouse onto multiplayer games and I want to know how I can direct my mind and my mouse on the Unix topics here at the Unix forum. Where should I start from? Tips forum? Newbie forum? Any sites to... (2 Replies)
Discussion started by: yyz
2 Replies

7. Shell Programming and Scripting

Replace second occurrence only

HPUX /bin/sh (posix) I have a file as such cat dog mouse deer elk rabbit mouse rat pig I would like to replace the second occurrence of mouse in this file with mouse2. The rest of the file has to stay exactly as is. I'm not sure exactly where mouse might be (could be first,second,third... (5 Replies)
Discussion started by: lyoncc
5 Replies

8. UNIX for Dummies Questions & Answers

How can I change the behavior of the mouse in Terminal?

Hi, I hope I'm posting in the correct forum, so here goes. I would like for the mouse right/left click to work in Terminal (OSX) as it does in Putty. For instance, when I double click 'log' in file.log.gz, only the log part is highlighted (in Terminal), while in Putty the entire file name is... (0 Replies)
Discussion started by: TheChemist
0 Replies

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

10. Solaris

SunOS 5.8 and mouse setup

Hi everybody, hope you're fine :). I'm coming back to you one more time because I have a problem I can't solve (and spent already a lot of time looking for an answer on the internet). So, I have a Sun Blade 1500 x64 sparc arch with Sun OS 5.8 installed on it. I know, SunOS is out of date,... (12 Replies)
Discussion started by: firstpost
12 Replies

11. What is on Your Mind?

Keyboard vs mouse

Which Input device do you use the most ? for me... keyboard ofcourse !! (56 Replies)
Discussion started by: vpraveen84
56 Replies