Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

install_mouse(3alleg4) [centos 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

14 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Help For SCO OpenServer

I've just installed Unix SCO OpenServer System v in an Intel PC and Everithing ok, except just one thing, in the begining of the installation the wizard asked me about the mouse , i have a generic 3 buttons mouse and i took a logitech and did not work i need to change the mouse configuration, ... (2 Replies)
Discussion started by: jimmyvaldes
2 Replies

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

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

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

5. Solaris

urgent --- mouse hangin problem

hello everyone i ve a urgent situation of mouse hangin in our sun environment where we have one sun server n several sunray machines attached to it sunray machines ve frequent mouse hangin prob so kindly suggest how to overcome this problem thanks in advance (1 Reply)
Discussion started by: livemyway
1 Replies

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

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

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

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. Red Hat

Enabling mouse on vim sessions on Linux Red Hat

Hi.. Can anybody tell me how to configure mouse on linux box. I am using Red Hat Enterprise Linux Server release 5.4 I am able to enable my mouse from vim sessions using "set mouse=a" How to make it available by default? (1 Reply)
Discussion started by: VidyaVenugopal
1 Replies

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

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

13. What is on Your Mind?

Problem setting up wireless mouse

Did not know where to post this. Could someone help me with getting my wireless mouse to work? I can post more specifics at that time. Thanks. (9 Replies)
Discussion started by: drew77
9 Replies

14. Linux

Evdev and joystick on passtrough,windows see it as mouse

I have setup a working vm with gpu passtrough To avoid the use of synergi(commercial) or double keyboard/mouse(sic!) I passtrough my three usb devices using EVDEV Editing the vm I put those lines </devices> <qemu:commandline> <qemu:arg value='-object'/> <qemu:arg... (2 Replies)
Discussion started by: Linusolaradm1
2 Replies