2 配置手柄按键

手柄的Home键有其他屏蔽方法:

先输入命令adb shell

  • 确认键 (摇杆) 失效

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei confirm_Button 0

  • MENU (返回) 键失效

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei back_Button 0

  • tigger键失效

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei trigger_Button 0

  • A键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei A_Button 0

  • B键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei B_Button 0

  • X键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei X_Button 0

  • Y键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei Y_Button 0

  • 左手柄侧按键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei right_Grip_Button 0

  • 右手柄侧按键失效 (G2系列设备不支持, Neo2 和Neo3系列设备支持)

adb shell am broadcast -a com.pvr.neo2.broadcast.button_control –ei left_Grip_Button 0

注意: 以上屏蔽指令, 仅对当前开机内生效, 如果重启, 则会失效。