Commit 83caa6b6 authored by 王明明's avatar 王明明

添加鼠标移动事件

parent 06f9dc9c
......@@ -77,13 +77,19 @@ type AkmEvent struct {
func (akm *AkmEvent) event110(mouseType, pageX, pageY int, delay int64) {
//var a = type
//var i = Date.now() - bmak.startTs;
akm.me_ts = akm.me_ts + delay
//var n = pageX, o = pageY;
//c := fmt.Sprintf("%d,%d,%d,%d,%d;", akm.me_cnt, mouseType, ,pageX,pageY)
c := fmt.Sprintf("%d,%d,%d,%d,%d;", akm.me_cnt, mouseType, akm.me_ts, pageX, pageY)
akm.mact += c
akm.me_vel += akm.me_cnt + mouseType + int(akm.me_ts) + pageX + pageY
akm.me_cnt++
akm.ta += akm.me_ts
//c := me_cnt + "," + a + "," + i + "," + n + "," + o;
//me_vel = me_vel + me_cnt + a + i + n + o
//mact = mact + c +";";
//ta += i
//me_cnt ++;
}
// todo 110
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment