Example #1
0
 public static void SendVibEffect(int id, int weight)
 {
     if (mLastVibStrength[id] != weight)
     {
         mLastVibStrength[id] = weight;
         LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, id, weight);
     }
 }
Example #2
0
 public static void SendVibEffectAllChair(int weight, int Duration)
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, (int)LiMoConstant.ChairVibratorID.c_VIBID_Chair_ALL, weight, Duration);
 }
Example #3
0
 public static void SendVibEffect(int id, int weight, int Duration)
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_VibratorNormal, (int)LiMoConstant.ChairVibratorNormal.cEvent_Param_VibratorPlay, id, weight, Duration);
 }
Example #4
0
 public static void StopMotion()
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_Motion, LiMoConstant.KEvent_Param1_Stop);
 }
Example #5
0
 public static void StopArm()
 {
     LiMoRecv.SendCommand2DLL(LiMoConstant.kEvent_CMD_ARM, LiMoConstant.KEvent_Param1_Stop);
 }