ofTheo / ofxKinect

legacy openFrameworks wrapper for the xbox kinect (OF pre-0.8.0+ only) - ofxKinect is now included and is being maintained in OF releases
MIT License
540 stars 105 forks source link

Feature: ofxKinect::setLed(int mode) #101

Closed rc1 closed 12 years ago

rc1 commented 12 years ago

Hello,

I have added a function to set the LED on the Kinect.

The method takes an int but the libfreenect takes uses an enum. If this is of use to the main repo, what's the OF way of doing this? With an int, with some OFX_KINECT constants, an ofxKinect enum, or something else?

Thanks, Ross

rc1 commented 12 years ago

I see I am missing some key stuff here for the moment...

rc1 commented 12 years ago

Improved... Thanks...

danomatika commented 12 years ago

Thanks. Look good. I'll just update the ints to enums, that would be the "OF way".