Re: Sony Vaio SR11k and jogdial

Chip Marshall <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
On Tue, 2002-08-20 at 15:52, David Haworth wrote:
[snip]
> the current situation is that if I roll the jogdial up and down it acts
> as a mousewheel but if I click the wheel in then it acts as a left mouse
> button click and what I want is for it to act as a middle mouse button
> click.
> 
> I've tried 
> 
> moused -t jogdial -p /dev/jogdial -m 1=2

Did you try "moused -t jogdial -p /dev/jogdial -m 2=1"? I made the
mistake of reversing the arguments to -m a bunch of times before I read
the man page really carefully and noticed:
    -m N=M  Assign the physical button M to the logical button N.

The virtual button is first, followed by the physical button. Seems
backwards to me, but I guess it makes sense.

-- 
Chip Marshall <[email protected]>           http://www.chocobo.cx/chip/
GCM/CS d+(-) s+:++ a21>? C++ UB++++$ P+++$ L- E--- W++ N@ o K- w O M+
V-- PS+ PE Y+ PGP++ t+@ R@ tv@ b++@ DI++++ D+(-) G++ e>++ h>++ r++ y?
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQA9YrmQ8vyTVl6qbdQRApT7AJ9dfh77VVA1lsS8f8P6UA1J+B2ZgQCgtdrg
jU2BPs7LTElQJVdTw9tnJe8=
=XHxk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.