Some S6s have back buttons on the device called sec_touchkey so also ignore back presses on those too

This commit is contained in:
Cameron Gutman 2016-01-05 00:27:19 -06:00
parent b0d31a4d35
commit dc254e1ee5

View File

@ -362,7 +362,7 @@ public class ControllerHandler implements InputManager.InputDeviceListener, UsbD
}
// Samsung's face buttons appear as a non-virtual button so we'll explicitly ignore
// back presses on this device
else if (devName.equals("sec_touchscreen")) {
else if (devName.equals("sec_touchscreen") || devName.equals("sec_touchkey")) {
context.ignoreBack = true;
}
// The Serval has a couple of unknown buttons that are start and select. It also has