[PD] 'apple' lib for controlling hardware and getting sensor data
Hans-Christoph Steiner
hans at eds.org
Sat Nov 14 17:24:50 CET 2009
This 'apple' lib is indeed Mac OS X only. I think the way to do it
GNU/Linux is to make a fully-featured dbus object. That would provide
this functionality and more in a GNU/Linux way. I suppose this apple
lib could be ported to GNU/Linux, and perhaps even to Windows for
people who run on Apple hardware.
I don't have a Thinkpad, so I haven't tried the Thinkpad code below.
.hc
On Nov 14, 2009, at 8:42 AM, olsen wrote:
> this is osx only?
> & is this still part of a nightly built?
> thanks for info
> ø
>
>
>
> Hans-Christoph Steiner wrote:
>> Hey,
>> I just finished of a quick library of functions for controlling
>> some of the hardware features on Apple computers when running
>> under Mac OS X. So far, I have been able to control the screen
>> brightness; control the keyboard backlight brightness and fade
>> time; get data from the "sudden motion sensor" or built-in
>> accelerometer; and get data from the built-in light sensors.
>> It's included in the nightly builds as the 'apple' library, check
>> 5.reference -> apple in the Help Browser for help patches.
>> Also, this should be pretty easy to do for other computers. For
>> example, the Thinkpad features are pretty well documented under
>> Windows and GNU/Linux:
>> http://www.almaden.ibm.com/cs/people/marksmith/tpaps.html
>> http://www-128.ibm.com/developerworks/linux/library/l-knockage.html
>> http://www.almaden.ibm.com/cs/people/marksmith/sdl.html
>> http://www.gnome.org/~fherrera/gtollina.c
>> Or for Apple hardware, there is pbbuttonsd:
>> http://pbbuttons.berlios.de/
>> .hc
>> ------------------------------------------------------------------------ ----
>> ¡El pueblo unido jamás será vencido!
>> _______________________________________________
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>
> --
> ETs DNA will not be televised
>
----------------------------------------------------------------------------
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
More information about the Pd-list
mailing list