ControllerMate (part 12 of 14). Almost Done.
Note: this is not a substitute for the original and most excellent ControllerMate tutorial. I am endeavoring to save some time for those who have read it and now are eager to get things done.
Important: I strongly recommend that for the duration of this adventure you find and connect an extra mouse to your Mac – that way even if you mis-configure your target device you will still have full control.
This is part twelve in a series of posts. For the full table of contents go here or here.
You thought our earlier integrated creation was pretty? Wait till you see this one!
To recap, we have programmed:
- buttons acting as modifiers
- distinguishing between single clicks and double-clicks
- distinguishing between single-button clicks and two-button clicks
Now, let’s put it all together:
Once again, there is nothing new here. This is just a combination of what I already discussed.
Here is what hapens:
- press Button #1 alone – get a single click (Sosumi sound)
- press Button #2 alone – get a single click (Submarine sound)
- hold Button #1 and click Button #2 – hear Frog
- hold Button #1 and double-click Button #2 – hear Funk
- hold Button #2 and click Button #1 – get a Ping
- hold Button #2 and double-click Button #1 – get a Purr
Oh, and double-clicks with a single button work too, of course, although I did nto attach any actions to them – I will just pass them on to the OS and let it deal.
Granted, while eerily beautiful, this design is imperfect. For starters, the single-button single-click depends on the Dwell module and its timer. I will try to sort this out in my next post.
About this entry
You’re currently reading “ControllerMate (part 12 of 14). Almost Done.,” an entry on N0T a Blog
- Published:
- September 1, 2009 / 10:20 pm
- Category:
- Apple Mac, ControllerMate
- Tags:
- ControllerMate, howto
1 Comment
Jump to comment form | comment rss [?] | trackback uri [?]