X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=templates%2FkiibohdKeymap.h;h=bb78ededbc2780527af9b07039304715d4e008f4;hb=296fc5946cb1bb2a309f69cbe0819ea1e4d38fcc;hp=5ec572e849b59a1f5b110a3210f23d10d7bd3af4;hpb=2d76b5a6ca82b88679e49f853bc589718d39d1f7;p=kiibohd-kll.git
diff --git a/templates/kiibohdKeymap.h b/templates/kiibohdKeymap.h
index 5ec572e..bb78ede 100644
--- a/templates/kiibohdKeymap.h
+++ b/templates/kiibohdKeymap.h
@@ -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
@@ -14,10 +14,10 @@
* along with this file. If not, see .
*/
-// Generated MSG /w timestamp and compiler information
+<|Information|>
-#ifndef __generatedKeymap_h
-#define __generatedKeymap_h
+
+#pragma once
// ----- Includes -----
@@ -28,6 +28,10 @@
// ----- Capabilities -----
+// Capability function declarations
+<|CapabilitiesFuncDecl|>
+
+
// Indexed Capabilities Table
<|CapabilitiesList|>
@@ -44,6 +48,12 @@
<|ResultMacroList|>
+// -- Trigger Macro Record
+
+// Keeps a record/state of each result macro
+<|ResultMacroRecord|>
+
+
// -- Trigger Macros
// Trigger Macro Guides
@@ -56,6 +66,12 @@
<|TriggerMacroList|>
+// -- Trigger Macro Record List
+
+// Keeps a record/state of each trigger macro
+<|TriggerMacroRecord|>
+
+
// ----- Trigger Maps -----
@@ -64,7 +80,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
+#define MaxScanCode <|MaxScanCode|>
// -- Trigger Lists
//
@@ -79,6 +95,13 @@
<|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
// _
@@ -95,6 +118,7 @@
// - Default Map for ScanCode Lookup -
<|DefaultLayerScanMap|>
+
// - Partial Layer ScanCode Lookup Maps -
<|PartialLayerScanMaps|>
@@ -109,6 +133,6 @@
<|LayerIndexList|>
-
-#endif // __generatedKeymap_h
+// - Layer State
+<|LayerState|>