Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Polling the accelerometer/motion sensor in a MacBook Pro

There is a compiled command line application here that does this.

Is there a Cocoa API to query this data?

like image 925
rennat Avatar asked Aug 11 '11 20:08

rennat


1 Answers

You can try SMSLib, which is an open-source Objective-C library for accessing the sudden motion sensor.

like image 162
Rob Keniger Avatar answered Nov 03 '22 04:11

Rob Keniger