예제 #1
0
 private void UpdateButtons()
 {
     _motionController.Circle   = GetButton(PSMoveButton.Circle);
     _motionController.Cross    = GetButton(PSMoveButton.Cross);
     _motionController.Triangle = GetButton(PSMoveButton.Triangle);
     _motionController.Square   = GetButton(PSMoveButton.Square);
     _motionController.Move     = GetButton(PSMoveButton.Move);
     _motionController.PS       = GetButton(PSMoveButton.PS);
     _motionController.Start    = GetButton(PSMoveButton.Start);
     _motionController.Select   = GetButton(PSMoveButton.Select);
     _motionController.Trigger  = (PsMoveApi.psmove_get_trigger(_motionController.Handle));
 }