mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-10-22 16:17:27 +00:00
Fix the back button on the Xbox controller
This commit is contained in:
1 parent
ab61af0cb7
commit
47ea18b882
1 file changed
+2
@@ -77,6 +77,7 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
|
||||
case KeyEvent.KEYCODE_MENU:
|
||||
inputMap |= NvControllerPacket.PLAY_FLAG;
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BACK:
|
||||
case KeyEvent.KEYCODE_BUTTON_SELECT:
|
||||
inputMap |= NvControllerPacket.BACK_FLAG;
|
||||
break;
|
||||
@@ -131,6 +132,7 @@ public class Game extends Activity implements OnGenericMotionListener, OnTouchLi
|
||||
case KeyEvent.KEYCODE_MENU:
|
||||
inputMap &= ~NvControllerPacket.PLAY_FLAG;
|
||||
break;
|
||||
case KeyEvent.KEYCODE_BACK:
|
||||
case KeyEvent.KEYCODE_BUTTON_SELECT:
|
||||
inputMap &= ~NvControllerPacket.BACK_FLAG;
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user