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

Method startKeyInput

forge-gui-mobile/src/forge/Forge.java:1119–1127  ·  view source on GitHub ↗
(KeyInputAdapter adapter)

Source from the content-addressed store, hash-verified

1117 }
1118
1119 public static void startKeyInput(KeyInputAdapter adapter) {
1120 if (keyInputAdapter == adapter) {
1121 return;
1122 }
1123 if (keyInputAdapter != null) {
1124 keyInputAdapter.onInputEnd(); //make sure previous adapter is ended
1125 }
1126 keyInputAdapter = adapter;
1127 }
1128 public static void setOnScreenKeyboard(boolean val, boolean numeric) {
1129 Gdx.input.setOnscreenKeyboardVisible(val, numeric ? Input.OnscreenKeyboardType.NumberPad : Input.OnscreenKeyboardType.Default);
1130 }

Callers 1

startEditMethod · 0.95

Calls 1

onInputEndMethod · 0.45

Tested by

no test coverage detected