【发布时间】:2012-10-27 13:04:37
【问题描述】:
我有一部安卓2.3.5的手机,可以连接蓝牙鼠标。 但我发现它只响应左键单击和鼠标移动。
if (event.getAction() == MotionEvent.ACTION_DOWN) {//Left Button
} else if (event.getAction() == MotionEvent.ACTION_UP) {//Left Button
} else if (event.getAction() == MotionEvent.ACTION_MOVE) {
}
还有什么其他的动作代码,比如右键,滚轮?
谢谢
【问题讨论】:
标签: android android-widget android-hardware