X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=doc%2Fhtml%2Fman%2Fcurs_mouse.3x.html;h=a471fc6f60540b258b62cb5243b3ee32132e3322;hp=9a09a3f4ec2d8a059c86371502dd86c66e65c771;hb=refs%2Ftags%2Fv5.4;hpb=46722468f47c2b77b3987729b4bcf2321cccfd01 diff --git a/doc/html/man/curs_mouse.3x.html b/doc/html/man/curs_mouse.3x.html index 9a09a3f4..a471fc6f 100644 --- a/doc/html/man/curs_mouse.3x.html +++ b/doc/html/man/curs_mouse.3x.html @@ -2,7 +2,7 @@
@@ -41,6 +41,10 @@+curs_mouse(3x) curs_mouse(3x) + + +
@@ -55,9 +59,9 @@ typedef unsigned long mmask_t; - typedef struct - { - short id; /* ID to distinguish multiple devices */ + typedef struct + { + short id; /* ID to distinguish multiple devices */ int x, y, z; /* event coordinates */ mmask_t bstate; /* button state bits */ } @@ -100,7 +104,6 @@ BUTTON1_CLICKED mouse button 1 clicked BUTTON1_DOUBLE_CLICKED mouse button 1 double clicked BUTTON1_TRIPLE_CLICKED mouse button 1 triple clicked - BUTTON2_PRESSED mouse button 2 down BUTTON2_RELEASED mouse button 2 up BUTTON2_CLICKED mouse button 2 clicked @@ -109,6 +112,7 @@ BUTTON3_PRESSED mouse button 3 down BUTTON3_RELEASED mouse button 3 up BUTTON3_CLICKED mouse button 3 clicked + BUTTON3_DOUBLE_CLICKED mouse button 3 double clicked BUTTON3_TRIPLE_CLICKED mouse button 3 triple clicked BUTTON4_PRESSED mouse button 4 down @@ -181,7 +185,6 @@ str that expects a linefeed for input-loop termination. -
getmouse, ungetmouse and mouseinterval return the integer @@ -208,11 +211,20 @@ the future. Under ncurses(3x), these calls are implemented using - either xterm's built-in mouse-tracking API or Alessandro - Rubini's gpm server. If you are using something other - than xterm and there is no gpm daemon running on your - machine, mouse events will not be visible to ncurses(3x) - (and the wmousemask function will always return 0). + either xterm's built-in mouse-tracking API or platform- + specific drivers including + Alessandro Rubini's gpm server. + FreeBSD sysmouse + OS/2 EMX + If you are using an unsupported configuration, mouse + events will not be visible to ncurses(3x) (and the wmouse- + mask function will always return 0). + + If the terminfo entry contains a XM string, this is used + in the xterm mouse driver to control the way the terminal + is initialized for mouse operation. The default, if XM is + not found, corresponds to private mode 1000 of xterm: + \E[?1000%?%p1%{1}%=%th%el%; The z member in the event structure is not presently used. It is intended for use with touch screens (which may be pressure-sensitive) or with 3D-mice/trackballs/power @@ -246,31 +258,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + curs_mouse(3x)