Revision: | 1.2 |
Committed: | Mon Nov 24 17:31:27 2003 UTC (20 years, 7 months ago) by pcg |
Branch: | MAIN |
CVS Tags: | rel-1_9, rel-3_5, rel-3_4, rel-3_3, rel-3_2, rel-2_8, rel-3_0, rel-2_7, rel-2_4, rel-2_5, rel-2_2, rel-2_3, rel-2_0, rxvt-2-0, rel-1-9, stable, rel-2_1_0, rel-1-3, rel-1-2 |
Changes since 1.1: | +0 -0 lines |
Log Message: | *** empty log message *** |
# | User | Rev | Content |
---|---|---|---|
1 | pcg | 1.1 | COMMENT(-- $Id: rxvtRef-mouse.yo,v 1.1 2003/11/18 14:22:16 root Exp $ --) |
2 | label(Mouse) | ||
3 | nsect(Mouse Reporting) | ||
4 | |||
5 | startdl() | ||
6 | dl(bf(tt(ESC [ M <b> <x> <y>))) | ||
7 | (report mouse position) | ||
8 | enddl() | ||
9 | The lower 2 bits of bf(tt(<b>)) indicate the button: | ||
10 | startdl() | ||
11 | dl(Button = bf(tt((<b> - SPACE) & 3))) | ||
12 | (0 = Button1 pressed nl()\ | ||
13 | 1 = Button2 pressed nl()\ | ||
14 | 2 = Button3 pressed nl()\ | ||
15 | 3 = button released (X11 mouse report)) | ||
16 | enddl() | ||
17 | |||
18 | The upper bits of bf(tt(<b>)) indicate the modifiers when the button was | ||
19 | pressed and are added together (X11 mouse report only): | ||
20 | |||
21 | startdl() | ||
22 | dl(State = bf(tt((<b> - SPACE) & 60))) | ||
23 | (4 = Shift nl()\ | ||
24 | 8 = Meta nl()\ | ||
25 | 16 = Control nl()\ | ||
26 | 32 = Double Click em((Rxvt extension)) nl()\ | ||
27 | Col = bf(tt(<x> - SPACE)) nl()\ | ||
28 | Row = bf(tt(<y> - SPACE))) | ||
29 | enddl() |