Unix and Linux Discussions Tagged with mouse |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
2 |
3,787 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
8,115 |
Ubuntu |
|
|
|
2 |
8,753 |
Linux |
|
|
|
0 |
4,760 |
Shell Programming and Scripting |
|
|
|
2 |
5,537 |
Red Hat |
|
|
|
56 |
37,989 |
What is on Your Mind? |
|
|
|
0 |
6,889 |
Programming |
|
|
|
0 |
1,851 |
Software Releases - RSS News |
|
|
|
1 |
2,712 |
Linux |
|
|
|
3 |
2,956 |
Solaris |
|
|
|
2 |
28,046 |
UNIX and Linux Applications |
|
|
|
0 |
3,649 |
UNIX and Linux RSS News |
|
|
|
0 |
2,701 |
OS X Support RSS |
|
|
|
3 |
5,623 |
What is on Your Mind? |
|
|
|
0 |
1,250 |
Software Releases - RSS News |
|
|
|
8 |
19,707 |
Cybersecurity |
|
|
|
0 |
1,984 |
Software Releases - RSS News |
|
|
|
4 |
19,832 |
Programming |
|
|
|
2 |
14,850 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
11,649 |
UNIX for Advanced & Expert Users |
|
|
|
0 |
3,055 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
3,011 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,985 |
Solaris |
|
|
|
0 |
1,840 |
UNIX and Linux RSS News |
|
|
|
0 |
1,379 |
UNIX and Linux RSS News |
|
|
|
4 |
7,245 |
UNIX Desktop Questions & Answers |
|
|
|
1 |
3,564 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,604 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,896 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,051 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
3,998 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,953 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,680 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,643 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,181 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,638 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,555 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,666 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,665 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,650 |
Cybersecurity |
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)