Who remembers the #Griffin #PowerMate, released over 20 years ago? I think I’ve had this one since 2004 or 2005. It’s neat, but does not have software support any more.

Until now 😄

A new version of #bettertouchtool by @llo_ai was recently released with support for “generic devices”.

A few lines of JavaScript and the PowerMate works perfectly on my M1 Mini. Time to sleep now, will write a blog entry about it tomorrow. 😴

@llo_ai Got the blog entry for using the #PowerMate with #bettertouchtool written. It contains some backstory, instructions and the javascript needed to get the thing working.

https://heavyconsulting.net/blog/2023/2023-02-02-touch-of-power

#100DaysToOffload

Touch of Power | Heavy

Back in 2001 or so, Griffin Technology released the PowerMate. Here's how you can get it working on a modern Mac in 2023 …

@llo_ai Short video showing the #PowerMate and #BetterTouchTool in action. For this I set it to use the Volume Up / Down Small Step actions for precise volume control, but any actions could be used.
@lardh thanks a lot, I'll keep improving this feature! When I created it I wasn't sure whether it would be useful, thus I didn't invest too much time. But now there are already multiple devices supported through it and I think this absolutely proves its usefulness :-)
@lardh also I think you made quite a few people happy with this (https://community.folivora.ai/t/support-for-griffin-powermate-s/1040/20)
Support for Griffin PowerMate(s)

What link?

BetterTouchTool Community

@llo_ai Wow, thank you. 😄 I hadn't seen that thread. 😊 I hope what I made is useful to someone.

Can you tell me if it's ok to have a 'let powermatePosition = 0;' sitting outside the analyzeDeviceInput function to keep track of a value over several reports, or is there some other way of doing that?

@lardh thats the best way, BTT will always use the same JS context, which means global variables will persist until BTT is quit. However other device analyzers will also use the same context, so use a unique variable name (but I think powermatePosition is fine)
@lardh @llo_ai Thank you for this writeup and code. Tiny, inconsequential correction: I’m fairly certain the PowerMate is made from aluminum instead of steel.
@deancommasteven I think you are correct. I have updated the article. Thank you 😄