From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <3e1162e60701121244j5663b3d6s2688880493d2006f@mail.gmail.com> References: <78cf8954d83bb5acf4948d2643ed3a92@coraid.com> <5fe46219b589712b0710a497af2d665a@9netics.com> <3e1162e60701121215re0d6f28kdc2c34332768881@mail.gmail.com> <14ec7b180701121226t6c799835v273cc51a0446e6a9@mail.gmail.com> <3e1162e60701121244j5663b3d6s2688880493d2006f@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <0CC18A51-9ECD-4D3A-BA41-9A317B008F6C@telus.net> Content-Transfer-Encoding: 7bit From: Paul Lalonde Subject: Re: [9fans] of mouse and mac Date: Fri, 12 Jan 2007 13:00:45 -0800 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: 02b1ae04-ead2-11e9-9d60-3106f5b1d025 -----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 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 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-----