/* * Copyright (c) 2020, Hüseyin Aslıtürk * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include #include namespace Keyboard { class CharacterMapFile { public: static Optional load_from_file(const String& filename); private: static Vector read_map(const JsonObject& json, const String& name); }; }