android 手柄摇杆代码,[求助]关于手柄有2个摇杆时,只有一个摇杆的motionevent有数据...

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

右摇杆 数据完全不变 而且没找到可以区别出左右摇杆的标志

07-20 16:12:41.681 8478-8478/com.mineworld.mwpe.qq V/Test__: dispatchGenericMotionEvent MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=0.003921628, y[0]=-0.0039215097, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=2, eventTime=21945889, downTime=0, deviceId=13, source=0x1000010 }

07-20 16:12:43.581 8478-8478/com.mineworld.mwpe.qq V/Test__: dispatchGenericMotionEvent MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=0.003921628, y[0]=-0.0039215097, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=1, eventTime=21947796, downTime=0, deviceId=13, source=0x1000010 }

07-20 16:12:43.601 8478-8478/com.mineworld.mwpe.qq V/Test__: dispatchGenericMotionEvent MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=0.003921628, y[0]=-0.0039215097, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=8, eventTime=21947813, downTime=0, deviceId=13, source=0x1000010 }

07-20 16:12:43.611 8478-8478/com.mineworld.mwpe.qq V/Test__: dispatchGenericMotionEvent MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=0.003921628, y[0]=-0.0039215097, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=21947814, downTime=0, deviceId=13, source=0x1000010 }

07-20 16:12:43.761 8478-8478/com.mineworld.mwpe.qq V/Test__: dispatchGenericMotionEvent MotionEvent { action=ACTION_MOVE, actionButton=0, id[0]=0, x[0]=0.003921628, y[0]=-0.0039215097, toolType[0]=TOOL_TYPE_UNKNOWN, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=4, eventTime=21947979, downTime=0, deviceId=13, source=0x1000010 }

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值