scroll wheel

John M McIntosh johnmci at smalltalkconsulting.com
Sat Nov 9 23:49:17 UTC 2002


On Saturday, November 9, 2002, at 11:14  AM, Stephane Ducasse wrote:

> This is just that I'm writing a chapter for my book and I was editing  
> the Qref
> and saw this sentence.
>
> On mac this is working.
>

Use the source Luke (er Stephane).

It's one of those ill-documented things, everyone knows exists which is  
why you are expanding on documentation?

I'll admit the folks at camp smalltalk this week where in awe that  
Croquet had a manual with an index no less.

On the mac I believe by glancing at sqMacUIEvents.c (well I wrote it  
should you'd think I would remember), that scroll wheel events are  
turned into kUpArrowCharCode  (down,left,right) keyboard characters  
with command key on (versus the control key). Now I don't have a scroll  
wheel mouse handy so someone should confirm that for me and what the  
pattern they are seeing and if the windows and linux users see the same  
thing.

   kLeftArrowCharCode            = 28,
   kRightArrowCharCode           = 29,
   kUpArrowCharCode              = 30,
   kDownArrowCharCode            = 31,

--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list