(KeyValue k)
| 311 | } |
| 312 | |
| 313 | private static KeyValue apply_ctrl(KeyValue k) |
| 314 | { |
| 315 | if (_modmap != null) |
| 316 | { |
| 317 | KeyValue mapped = _modmap.get(Modmap.M.Ctrl, k); |
| 318 | // Do not return the modified character right away, first turn it into a |
| 319 | // key event. |
| 320 | if (mapped != null) |
| 321 | k = mapped; |
| 322 | } |
| 323 | return turn_into_keyevent(k); |
| 324 | } |
| 325 | |
| 326 | private static KeyValue turn_into_keyevent(KeyValue k) |
| 327 | { |
no test coverage detected