コード例 #1
0
 private static void Lcd_CapacitiveScreenMove(object sender, DisplayDriver43.TouchEventArgs e)
 {
     Debug.WriteLine("you move finger on the lcd at X:" + e.X + " ,Y:" + e.Y);
     GlideTouch.RaiseTouchMoveEvent(sender, new TouchEventArgs(new GHI.Glide.Geom.Point(e.X, e.Y)));
 }
コード例 #2
0
 /// <summary>
 /// Function called when pressed event raises
 /// </summary>
 /// <param name="sender">sender of event</param>
 /// <param name="e">EventArgs of event</param>
 private static void Lcd_CapacitiveScreenPressed(object sender, DisplayDriver43.TouchEventArgs e)
 {
     Debug.WriteLine("you press the lcd at X:" + e.X + " ,Y:" + e.Y);
     GlideTouch.RaiseTouchDownEvent(e.X, e.Y);
 }