/* -*- mode: c++ -*- * Kaleidoscope-Ranges -- Common ranges, used by a number of Kaleidoscope plugins. * Copyright (C) 2016, 2017, 2019 Keyboard.io, Inc * * This program is free software: you can redistribute it and/or modify it under * the terms of the GNU General Public License as published by the Free Software * Foundation, version 3. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more * details. * * You should have received a copy of the GNU General Public License along with * this program. If not, see . */ #pragma once namespace kaleidoscope { namespace ranges { enum : uint16_t { // Macro ranges pre-date Kaleidoscope-Ranges, so they're coming before // ranges::FIRST, because we want to keep the keycodes backwards compatible. MACRO_FIRST = 24576, MACRO_LAST = MACRO_FIRST + 255, FIRST = 0xc000, KALEIDOSCOPE_FIRST = FIRST, OS_FIRST, OSM_FIRST = OS_FIRST, OSM_LAST = OSM_FIRST + 7, OSL_FIRST, OSL_LAST = OSL_FIRST + 7, OS_LAST = OSL_LAST, DU_FIRST, DUM_FIRST = DU_FIRST, DUM_LAST = DUM_FIRST + (8 << 8), DUL_FIRST, DUL_LAST = DUL_FIRST + (8 << 8), DU_LAST = DUL_LAST, TD_FIRST, TD_LAST = TD_FIRST + 15, LEAD_FIRST, LEAD_LAST = LEAD_FIRST + 7, CYCLE, SYSTER, TT_FIRST, TT_LAST = TT_FIRST + 255, STENO_FIRST, STENO_LAST = STENO_FIRST + 42, SC_FIRST, SC_LAST, REDIAL, TURBO, DYNAMIC_MACRO_FIRST, DYNAMIC_MACRO_LAST = DYNAMIC_MACRO_FIRST + 31, SAFE_START, KALEIDOSCOPE_SAFE_START = SAFE_START }; } }