()
| 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; |
no test coverage detected