예제 #1
0
 private void HaptiQ_PressureInput(object sender, PressureInputArgs args)
 {
     if (PressureInput != null)
     {
         PressureInput(this, args);
     }
 }
예제 #2
0
파일: HaptiQ.cs 프로젝트: sic2/HaptiQ
 /// <summary>
 /// This method raises a PressureInputEventHandler event.
 /// </summary>
 /// <param name="actuatorId"></param>
 /// <param name="pressureValue"></param>
 private void OnPressureInput(int actuatorId, int pressureValue)
 {
     if (PressureInput != null)
     {
         PressureInputArgs args = new PressureInputArgs(_id, actuatorId, pressureValue);
         PressureInput(this, args);
     }
 }