MCPcopy Create free account
hub / github.com/Card-Forge/forge / hasGamepad

Method hasGamepad

forge-gui-mobile/src/forge/Forge.java:282–288  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

280 return Forge.altZoneTabs && "Horizontal".equalsIgnoreCase(Forge.altZoneTabMode);
281 }
282 public static boolean hasGamepad() {
283 //Classic Mode Various Screen GUI are not yet supported, needs control mapping for each screens
284 if (isMobileAdventureMode) {
285 return hasGamepad && isLandscapeMode(); //portrait is not supported for Gamepad
286 }
287 return false;
288 }
289
290 public static boolean lastInputWasController() {
291 return lastInputWasController;

Callers 15

hasExternalInputMethod · 0.95
translateAxisMethod · 0.95
translateButtonsMethod · 0.95
onImageFetchedMethod · 0.95
RewardActorMethod · 0.95
switchTooltipMethod · 0.95
setCardImageMethod · 0.95
setItemTooltipsMethod · 0.95
actMethod · 0.95
drawMethod · 0.95
drawOverlayMethod · 0.95

Calls 1

isLandscapeModeMethod · 0.95

Tested by

no test coverage detected