public override bool OnDoubleTap(MotionEvent e) //더블 클릭 { int stateBit = 4; if (frag.IsOnBluetooth()) { frag.SendMessage(stateBit.ToString()); } return(false); }
public override bool OnScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) //MOVE { int stateBitDown = 10; int stateBitUp = 20; int tempY = (int)e1.GetY(); if (tempY < (int)e2.GetY()) { //scroll down frag.SendMessage(stateBitDown + ","); } else if (tempY > (int)e2.GetY()) { //scroll up frag.SendMessage(stateBitUp + ","); } return(false); }