MCPcopy Create free account
hub / github.com/BombusMod/BombusMod / doUserKeyAction

Method doUserKeyAction

src/main/java/ui/VirtualList.java:236–284  ·  view source on GitHub ↗
(int command_id)

Source from the content-addressed store, hash-verified

234 }
235
236 public boolean doUserKeyAction(int command_id) {
237 switch (command_id) {
238 case 22:
239 moveCursorHome();
240 return true;
241 case 23:
242 moveCursorEnd();
243 return true;
244 case 24:
245 keyDwn();
246 return true;
247 case 25:
248 keyUp();
249 return true;
250 case 26:
251 pageLeft();
252 return true;
253 case 27:
254 pageRight();
255 return true;
256 case 28:
257 if (canBack == true)
258 destroyView();
259 return true;
260 case 29:
261 keyClear();
262 return true;
263 case 34:
264 showInfo();
265 return true;
266 case 35:
267 eventOk();
268 return true;
269 case 36:
270 touchLeftPressed();
271 return true;
272 case 37:
273 touchRightPressed();
274 return true;
275 case 48:
276 pageLeft();
277 return true;
278 case 49:
279 pageRight();
280 return true;
281 }
282
283 return false;
284 }
285
286
287 public static boolean showTimeTraffic = true;

Callers 1

commandExecuteMethod · 0.95

Calls 12

moveCursorHomeMethod · 0.95
moveCursorEndMethod · 0.95
keyDwnMethod · 0.95
keyUpMethod · 0.95
pageLeftMethod · 0.95
pageRightMethod · 0.95
destroyViewMethod · 0.95
keyClearMethod · 0.95
showInfoMethod · 0.95
eventOkMethod · 0.95
touchLeftPressedMethod · 0.95
touchRightPressedMethod · 0.95

Tested by

no test coverage detected