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

Method getMenuKeyCode

java/com/tigervnc/vncviewer/MenuKey.java:108–119  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 static int getMenuKeyCode() {
109 int menuKeyCode = 0x42;
110
111 @SuppressWarnings({"static"})
112 String menuKeyStr =
113 Configuration.global().getParam("menuKey").getValueStr();
114 for(int i = 0; i < getMenuKeySymbolCount(); i++)
115 if (menuSymbols[i].name.equals(menuKeyStr))
116 menuKeyCode = menuSymbols[i].keycode;
117
118 return menuKeyCode;
119 }
120
121 static int getMenuKeySym() {
122 int menuKeySym = XK_F8;

Callers 1

setMenuKeyMethod · 0.95

Calls 5

globalMethod · 0.95
getMenuKeySymbolCountMethod · 0.95
getValueStrMethod · 0.45
getParamMethod · 0.45
equalsMethod · 0.45

Tested by

no test coverage detected