Ejemplo n.º 1
0
 private void HaptiQ_PressureInput(object sender, PressureInputArgs args)
 {
     if (PressureInput != null)
     {
         PressureInput(this, args);
     }
 }
Ejemplo n.º 2
0
 /// <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);
     }
 }