Control your computer using your body. The KinectController turns the Kinect into a controller that allows configurable actions to be emulated when configurable gestures are triggered by the user.
0
stars
0
forks
source link
Add the Robot object's creation in the ButtonReaction to a static initialization block #29
The Robot object gets created every time a ButtonReaction is triggered. That's not very efficient. We can instead initialize the Robot once and just use it by all of the ButtonReaction objects.
The Robot object gets created every time a ButtonReaction is triggered. That's not very efficient. We can instead initialize the Robot once and just use it by all of the ButtonReaction objects.
http://stackoverflow.com/questions/2420389/static-initialization-blocks