from Hacker News

Ask HN: Logging Mac Trackpad Data?

by desertraven on 5/4/23, 2:16 AM with 2 comments

Hi guys,

I'm interested in learning more about trackpads, with a view to add one to an electronics project. Rather than buying a trackpad and hooking it up to an arduino to see if it meets requirements, I figured I'd use the Mac trackpad I already have.

I really just want to see what the shape of the incoming data is, pipe it to a file, and process it later on (at least that's what I'll be doing in my electronics project).

Is it possible to do this with a mac trackpad? Just log the incoming data (time-series coordinates I imagine), throw it in a file.

Thanks!