| 617 | } |
| 618 | |
| 619 | short map_keycode(short keycode) { |
| 620 | auto it = config::input.keybindings.find(keycode); |
| 621 | if (it != std::end(config::input.keybindings)) { |
| 622 | return it->second; |
| 623 | } |
| 624 | |
| 625 | return keycode; |
| 626 | } |
| 627 | |
| 628 | /** |
| 629 | * @brief Update flags for keyboard shortcut combo's |
no outgoing calls
no test coverage detected