- Subject: Re: wheel mouse
- From: Martynas Kunigelis <martynas@xxxxxxxxxxxxxxxxx>
- Date: Thu, 13 May 1999 13:49:04 +0200 (CEST)
Hello,
The mouse wheel "scrolling" events are usually bound as mouse buttons 4
and 5. This, however, depends on how your "driver" (be it GPM or X server)
is configured, and Slang has no influence there. So what you generally
need a correctly configured mouse "driver" and a way for Slang to report
mouse clicks for buttons above 3.
On Wed, 12 May 1999 kikutani@xxxxxxxxxxxxxx wrote:
> On Thu, 13 May 1999 00:21:05 -0400,
> "John E. Davis" wrote:
>
> > >I'd like to use wheel to scroll up/down in slrn and my mailer
> > >(it is written with S-Lang).
> >
> > The mouse interface is very simple and is based upon the xterm mouse
> > protocol. Is it possible to map the when to send pageup/down escape
> > sequences or up/down arrow sequences?
>
> I guess so. I'll take a look at the S-Lang code tomorrow.
>
I think the actual mapping should be left to the programmer, there is only
a need to deliver some different simulated keycodes for different mouse
buttons. Does Slang do that?
> > Does the GPM mouse server support the wheel?
>
> Yes, the Web Page, which I pointed in my previous mail, mentions
> about GPM.
>
> Thanks.
>
> --
> Kikutani, Makoto kikutani@xxxxxxxxxxxxxx
>
[1999 date index]
[1999 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]