Re:Turn any page into Katamari Damacy
by Banekin on Saturday March 12, 2011 @10:19PM
(#2318192)
Is there any way to play this on a Macbook trackpad without connecting a USB mouse?
[ Parent
| on HN ]
??? My macbook pro has distinct left- and right-click regions on the touch pad. It was still hard to do though without a mouse.
The easiest way I found was to just move the cursor where you want the ball to go, then right click. Repeat.
Ctrl-Click == right-click.
A Macbook user here as well. To try it out, I forked seancron's repository and changed the right mouse button to left mouse button. You have to avoid clicking on links, though.
javascript:var i,s,ss=['https://github.com/anttisykari/kathack/raw/master/kh.js','http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js'];for(i=0;i!=ss.length;i++){s=document.createElement('script');s.src=ss[i];document.body.appendChild(s);}void(0);On the multi-touch trackpad you can just click with two fingers.
To elaborate, I got it to work this way:
* Hold two fingers on middle of track pad
* Click thumb on bottom of track pad; katamari should start to move at this point
* Release two fingers on middle of track pad
* Use single finger to move cursor while still holding down thumbOh awesome, that worked beautifully. Thank you!
I tried that, but it works too slowly to continually press with two fingers next to the ball.
I meant is there a way to change the javascript to use a different button?
I can add that once we get the server back to a reasonable speed.
move the mouse to wear you want the ball to move, then hold down right click.