The trackpad hack

Oh man, this is really handy.

Here's my suggestion, since the default scrolling speed is a bit slow for my tastes.

• Open the source project in XCode.
• Edit the AppleADBMouse.h file.
• Near the beginning of the file are a bunch of #define statements. If you want only vertical scrolling, comment out the unnecessary ones thusly:
Code:
// modified dub:
#define ENABLE_SCROLL
//#define ENABLE_SCROLL_X
#define ENABLE_SCROLL_Y
//#define ENABLE_SCROLL_ROT

• To change the scroll speed, alter this definition:
Code:
#define	SCROLL_SCALE_Y	3

• Clean the active target, and recompile.

Note that lower numbers are faster scroll speeds. Most people will probably want 2 or 3, and 1 is WAY too fast. Heh.
 
OK weird, I don't know if firefox always did this, but if i hold a finger down and tap one o the right of it, firefox goes back a page, and if I hold a finger and tap to the left of it, it goes forward a page. I only noticed this because sometimes when I try to scroll it does this. Is this normal firefox function or is this hack doing something neat?

I am using the G4 optimized FireFox build

Grr this is actually kind of annoying.
 
I typed the argument
ioreg -l | grep "W Enhanced Trackpad"
and it did not print anything out, so I take it my PB 800 dvi is not able to benefit from the scroll pad :(
 
Hi I have an Ibook G4 ca you tell me from where can I download the "trackpad hack" ? I heard it is a kernel add on or something....

Thankx
 
Back
Top