MCPcopy Create free account
hub / github.com/TigerVNC/tigervnc / getKeyText

Method getKeyText

java/com/tigervnc/vncviewer/MenuKey.java:78–83  ·  view source on GitHub ↗
(MenuKeySymbol sym)

Source from the content-addressed store, hash-verified

76 }
77
78 public static String getKeyText(MenuKeySymbol sym) {
79 if (VncViewer.os.startsWith("mac os x"))
80 return sym.name.replace("_", " ");
81 else
82 return KeyEvent.getKeyText(sym.javacode);
83 }
84
85 public static String getMenuKeyValueStr() {
86 String s = "";

Callers 2

createInputPanelMethod · 0.95
vkey_to_keysymMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected