1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include "input_configurator.hpp" namespace InputActions { template <Direction::value_type direction> auto move_cursor(CursorController cursor_controller) { return [cursor_controller]() { cursor_controller.move<direction>(1U); }; } } // namespace InputActions