]> git.donarmstrong.com Git - kiibohd-kll.git/blobdiff - templates/kiibohdKeymap.h
Adding support for Interconnect Nodes
[kiibohd-kll.git] / templates / kiibohdKeymap.h
index 5ec572e849b59a1f5b110a3210f23d10d7bd3af4..2a8c6d69eb9f4e807b9731e8778855bbef990caf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2014 by Jacob Alexander
+/* Copyright (C) 2014-2015 by Jacob Alexander
  *
  * This file is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
  * along with this file.  If not, see <http://www.gnu.org/licenses/>.
  */
 
-// Generated MSG /w timestamp and compiler information
+<|Information|>
 
-#ifndef __generatedKeymap_h
-#define __generatedKeymap_h
+
+#pragma once
 
 // ----- Includes -----
 
 <|ResultMacroList|>
 
 
+// -- Trigger Macro Record
+
+// Keeps a record/state of each result macro
+<|ResultMacroRecord|>
+
+
 // -- Trigger Macros
 
 // Trigger Macro Guides
 <|TriggerMacroList|>
 
 
+// -- Trigger Macro Record List
+
+// Keeps a record/state of each trigger macro
+<|TriggerMacroRecord|>
+
+
 
 // ----- Trigger Maps -----
 
@@ -64,7 +76,7 @@
 // - Should be corollated with the max scan code in the scan module
 // - Maximum value is 0x100 (0x0 to 0xFF)
 // - Increasing it beyond the keyboard's capabilities is just a waste of ram...
-#define MaxScanCode <MaxScanCode>
+#define MaxScanCode <|MaxScanCode|>
 
 // -- Trigger Lists
 //
 <|PartialLayerTriggerLists|>
 
 
+// -- ScanCode Offset Map
+// Maps interconnect ids to scancode offsets
+//
+// Only used for keyboards with an interconnect
+<|ScanCodeInterconnectOffsetList|>
+
+
 // -- ScanCode Indexed Maps
 // Maps to a trigger list of macro pointers
 //                 _
 // - Default Map for ScanCode Lookup -
 <|DefaultLayerScanMap|>
 
+
 // - Partial Layer ScanCode Lookup Maps -
 <|PartialLayerScanMaps|>
 
 <|LayerIndexList|>
 
 
-
-#endif // __generatedKeymap_h
+// - Layer State
+<|LayerState|>