9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Paul Lalonde <plalonde@telus.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] of mouse and mac
Date: Fri, 12 Jan 2007 13:00:45 -0800	[thread overview]
Message-ID: <0CC18A51-9ECD-4D3A-BA41-9A317B008F6C@telus.net> (raw)
In-Reply-To: <3e1162e60701121244j5663b3d6s2688880493d2006f@mail.gmail.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Which was the reason for the original cast to 16 bits :-(
What gets reported in the case of the mice that were overflowing?

Paul

On 12-Jan-07, at 12:44 PM, David Leimbach wrote:

> On 1/12/07, andrey mirtchovski <mirtchovski@gmail.com> wrote:
>> i fixed the code in yesterday's patch, it shouldn't happen unless...
>>
>> in screen.c:378 the mouse delta was cast to short and overflew on my
>> ibm mouse. if it isn't cast anymore in your code and if you've made
>> sure you rebuilt the whole thing (gui-osx isn't in the dependency
>> list, so touching screen.c won't necessarily mean it'll be recompiled
>> the next time you run make in the root directory), try printing out
>> the value of wheeldelta just above and see what sign it has.
>
> When I scroll down I get:
> 65534
> 65534
>
> And when I scroll up I get:
> 2
> 2
>
>
>>
>> On 1/12/07, David Leimbach <leimy2k@gmail.com> wrote:
>> > On 1/12/07, Skip Tavakkolian <9nut@9netics.com> wrote:
>> > > just updated from cvs; now it works. thanks.
>> >
>> > Hmmm, mine still only scrolls up.  I've a Kensington trackball, not
>> > sure if that matters at all.
>> >
>> > I too just updated cvs and rebuilt.
>> >
>> > Dave
>>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)

iD8DBQFFp/b+pJeHo/Fbu1wRAll4AJ0Wshcq1S7xI+8LNZM7AxrKeZjDQwCgyato
Wg5TDOgdBhrSNb3kO8X/ePc=
=JOMB
-----END PGP SIGNATURE-----


  reply	other threads:[~2007-01-12 21:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12 17:23 Skip Tavakkolian
2007-01-12 17:31 ` Brantley Coile
2007-01-12 17:46 ` Joel Salomon
2007-01-12 18:31 ` David Leimbach
2007-01-12 18:44   ` Paul Lalonde
2007-01-12 19:42     ` Brantley Coile
2007-01-12 20:06       ` Skip Tavakkolian
2007-01-12 20:15         ` David Leimbach
2007-01-12 20:26           ` andrey mirtchovski
2007-01-12 20:44             ` David Leimbach
2007-01-12 21:00               ` Paul Lalonde [this message]
2007-01-12 21:17               ` andrey mirtchovski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0CC18A51-9ECD-4D3A-BA41-9A317B008F6C@telus.net \
    --to=plalonde@telus.net \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).