[Q] Supporting 3-button wheel mouse on Mac

Henrik Gedenryd Henrik.Gedenryd at lucs.lu.se
Thu Dec 16 13:21:49 UTC 1999


Stephen Travis Pope wrote:

> It's easy to program the buttons on multi-button mice to send
> opt/command chords, but what about scroll wheels? Has anyone looked into
> what these actually send?
> 
> I recommend either the Coutour Designs UniMouse (3-button USB mouse) or
> the Kensington TurboMouse (4 button trackball for PCs or ADB Macs) or
> new Kensington TurboBall (4-button trackball with scroll wheel for USB).
> 
> stp
> 
(This all applies to the Mac only.)

Not strictly what you ask for, but probably better: On the Mac, I ended up
using something called USB Overdrive, a control panel that allows you to
take input from any model USB device (mouse/trackball/etc and
joysticks/wheels/etc.)--even without a Mac driver--and generate a number of
things, including keystrokes and several other options. With this, the
scroll wheel was a piece of cake. Actually, USB seems very sophisticated and
knowledgeable wrt input devices; these probably specify their own event
types (etc.) for such things as scroll wheel data. If you want to experiment
with reading off your device, download the MacOS USB DDK from apple.com and
try the USB Prober utility.

A plugin that connects Squeak to InputSprockets would probably be really
cool to those that desire access to input devices, since it would provide
hardware-independent access to any device from Squeak without changing the
code.

However, most likely USB Overdrive will be more than sufficient for your
needs (it is also hardware-universal). It almost does everything that such a
plugin would do. 

Henrik





More information about the Squeak-dev mailing list