Exemplo n.º 1
0
 /// <summary> Fires when the Sense Glove has calculated new finger Lengths. </summary>
 /// <param name="source"></param>
 /// <param name="args"></param>
 private void SenseGlove_OnCalibrationFinished(object source, CalibrationArgs args)
 {
     if (this.canUpdate)
     {
         //the new gloveLengths have already been applied to the SenseGlove-Object, but should be updated in the database.
         HandProfile updatedProfile = new HandProfile(args.newFingerLengths);
         UserProfiles.AddEntry(this.userName, updatedProfile); //update / add entry
         SenseGlove_Debugger.Log("Updated " + this.userName);
     }
 }