| 1 |
.\" Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. |
| 2 |
.\" All rights reserved. |
| 3 |
.\" |
| 4 |
.\" Redistribution and use in source and binary forms, with or without |
| 5 |
.\" modification, are permitted provided that the following conditions |
| 6 |
.\" are met: |
| 7 |
.\" 1. Redistributions of source code must retain the above copyright |
| 8 |
.\" notice, this list of conditions and the following disclaimer. |
| 9 |
.\" 2. Redistributions in binary form must reproduce the above copyright |
| 10 |
.\" notice, this list of conditions and the following disclaimer in the |
| 11 |
.\" documentation and/or other materials provided with the distribution. |
| 12 |
.\" 3. Neither the name of the project nor the names of its contributors |
| 13 |
.\" may be used to endorse or promote products derived from this software |
| 14 |
.\" without specific prior written permission. |
| 15 |
.\" |
| 16 |
.\" THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND |
| 17 |
.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
| 18 |
.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
| 19 |
.\" ARE DISCLAIMED. IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE |
| 20 |
.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 21 |
.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
| 22 |
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
| 23 |
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 24 |
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
| 25 |
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 26 |
.\" SUCH DAMAGE. |
| 27 |
.\" |
| 28 |
.\" $Id: xmindpath.1,v 1.6 1998/09/30 23:55:22 itojun Exp $ |
| 29 |
.\" |
| 30 |
.Dd August 22, 1998 |
| 31 |
.Dt XMINDPATH 1 |
| 32 |
.Os MAGICPOINT |
| 33 |
.\" |
| 34 |
.Sh NAME |
| 35 |
.Nm xmindpath |
| 36 |
.Nd MindPath PocketPoint user-level driver for X11 |
| 37 |
.\" |
| 38 |
.Sh SYNOPSIS |
| 39 |
.Nm |
| 40 |
.Op Fl dv |
| 41 |
.Op Fl f Ar dev |
| 42 |
.\" |
| 43 |
.Sh DESCRIPTION |
| 44 |
.Nm |
| 45 |
reads signal sent from MindPath PocketPoint device via serial port, |
| 46 |
and translate that into X11 event. |
| 47 |
.Pp |
| 48 |
PocketPoint is a laser pointer, with three remote control keys. |
| 49 |
Three keys are right arrow, left arrow and "f/x" key. |
| 50 |
Keypress will be transmitted as 1200bps IrDA signal, |
| 51 |
which can be parsed by your computer. |
| 52 |
.Nm |
| 53 |
parses the IrDA input signal, and maps the keypress as follows: |
| 54 |
.Bl -tag -width indent |
| 55 |
.It right arrow |
| 56 |
Mouse button 1 (leftmost mouse button). |
| 57 |
This key will be interpreted by |
| 58 |
.Xr mgp 1 |
| 59 |
as "proceed page" request. |
| 60 |
.It left arrow |
| 61 |
Mouse button 3 (rightmost mouse button). |
| 62 |
This key will be interpreted by |
| 63 |
.Xr mgp 1 |
| 64 |
as "go back one page" request. |
| 65 |
.It "f/x" key |
| 66 |
Currently mouse button 2 (middle mouse button) is mapped to this key. |
| 67 |
However, this will be changed in the near future. |
| 68 |
.El |
| 69 |
.Pp |
| 70 |
To perform remote-controlled presentation, |
| 71 |
invoke |
| 72 |
.Nm |
| 73 |
simultaneously with |
| 74 |
.Xr mgp 1 |
| 75 |
.Po |
| 76 |
maybe from other terminal window |
| 77 |
.Pc . |
| 78 |
.Pp |
| 79 |
If you specify |
| 80 |
.Ar dev |
| 81 |
after |
| 82 |
.Fl f , |
| 83 |
the specified device will be used as serial port. |
| 84 |
With |
| 85 |
.Fl v , |
| 86 |
.Nm |
| 87 |
will generate more messages. |
| 88 |
.Fl d |
| 89 |
option is provided just for debugging sessions. |
| 90 |
.\" |
| 91 |
.Sh RETURN VALUES |
| 92 |
The program exits with 0 on success, non-zero on failures. |
| 93 |
.\" |
| 94 |
.Sh SEE ALSO |
| 95 |
.Xr mgp 1 . |
| 96 |
.Pp |
| 97 |
MindPath PocketPoint: |
| 98 |
.Li http://www.mindpath.com/ppoint.htm |
| 99 |
.\" |
| 100 |
.Sh HISTORY |
| 101 |
The |
| 102 |
.Nm |
| 103 |
command was implemented by Jun-ichiro Itoh |
| 104 |
.Li <[email protected]> . |
| 105 |
.Pp |
| 106 |
This program derives most of its X11 related code from twiddler driver. |
| 107 |
.Sh BUGS |
| 108 |
Keycode for "f/x" key should be configurable. |
| 109 |
BSDI |
| 110 |
.Xr gettyd 8 |
| 111 |
support would be desirable. |