1 /* Copyright (C) 2014 by Jacob Alexander
3 * This file is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 3 of the License, or
6 * (at your option) any later version.
8 * This file is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
13 * You should have received a copy of the GNU General Public License
14 * along with this file. If not, see <http://www.gnu.org/licenses/>.
20 #ifndef __generatedKeymap_h
21 #define __generatedKeymap_h
23 // ----- Includes -----
30 // ----- Capabilities -----
32 // Indexed Capabilities Table
38 // Result Macro Guides
42 // -- Result Macro List
44 // Indexed Table of Result Macros
50 // Trigger Macro Guides
54 // -- Trigger Macro List
56 // Indexed Table of Trigger Macros
61 // ----- Trigger Maps -----
64 // - This is retrieved from the KLL configuration
65 // - Should be corollated with the max scan code in the scan module
66 // - Maximum value is 0x100 (0x0 to 0xFF)
67 // - Increasing it beyond the keyboard's capabilities is just a waste of ram...
68 #define MaxScanCode <|MaxScanCode|>
72 // Index 0: # of triggers in list
73 // Index n: pointer to trigger macro - use tm() macro
76 <|DefaultLayerTriggerList|>
80 <|PartialLayerTriggerLists|>
83 // -- ScanCode Indexed Maps
84 // Maps to a trigger list of macro pointers
87 // |r| -> <trigger macro pointer 1>
89 // |g| -> <trigger macro pointer 2>
91 // |e| -> <trigger macro pointer 3>
93 // |s| -> <trigger macro pointer n>
96 // - Default Map for ScanCode Lookup -
97 <|DefaultLayerScanMap|>
100 // - Partial Layer ScanCode Lookup Maps -
101 <|PartialLayerScanMaps|>
105 // ----- Layer Index -----
107 // -- Layer Index List
109 // Index 0: Default map
110 // Index n: Additional layers
119 #endif // __generatedKeymap_h