KLL Compiler
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

kiibohdKeymap.h 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. /* Copyright (C) 2014-2015 by Jacob Alexander
  2. *
  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.
  7. *
  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.
  12. *
  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/>.
  15. */
  16. <|Information|>
  17. #ifndef __kiibohdKeymap_h
  18. #define __kiibohdKeymap_h
  19. // ----- Includes -----
  20. // KLL Include
  21. #include <kll.h>
  22. // ----- Capabilities -----
  23. // Indexed Capabilities Table
  24. <|CapabilitiesList|>
  25. // -- Result Macros
  26. // Result Macro Guides
  27. <|ResultMacros|>
  28. // -- Result Macro List
  29. // Indexed Table of Result Macros
  30. <|ResultMacroList|>
  31. // -- Trigger Macro Record
  32. // Keeps a record/state of each result macro
  33. <|ResultMacroRecord|>
  34. // -- Trigger Macros
  35. // Trigger Macro Guides
  36. <|TriggerMacros|>
  37. // -- Trigger Macro List
  38. // Indexed Table of Trigger Macros
  39. <|TriggerMacroList|>
  40. // -- Trigger Macro Record List
  41. // Keeps a record/state of each trigger macro
  42. <|TriggerMacroRecord|>
  43. // ----- Trigger Maps -----
  44. // MaxScanCode
  45. // - This is retrieved from the KLL configuration
  46. // - Should be corollated with the max scan code in the scan module
  47. // - Maximum value is 0x100 (0x0 to 0xFF)
  48. // - Increasing it beyond the keyboard's capabilities is just a waste of ram...
  49. #define MaxScanCode <|MaxScanCode|>
  50. // -- Trigger Lists
  51. //
  52. // Index 0: # of triggers in list
  53. // Index n: pointer to trigger macro - use tm() macro
  54. // - Default Layer -
  55. <|DefaultLayerTriggerList|>
  56. // - Partial Layers -
  57. <|PartialLayerTriggerLists|>
  58. // -- ScanCode Indexed Maps
  59. // Maps to a trigger list of macro pointers
  60. // _
  61. // <scan code> -> |T|
  62. // |r| -> <trigger macro pointer 1>
  63. // |i|
  64. // |g| -> <trigger macro pointer 2>
  65. // |g|
  66. // |e| -> <trigger macro pointer 3>
  67. // |r|
  68. // |s| -> <trigger macro pointer n>
  69. // -
  70. // - Default Map for ScanCode Lookup -
  71. <|DefaultLayerScanMap|>
  72. // - Partial Layer ScanCode Lookup Maps -
  73. <|PartialLayerScanMaps|>
  74. // ----- Layer Index -----
  75. // -- Layer Index List
  76. //
  77. // Index 0: Default map
  78. // Index n: Additional layers
  79. <|LayerIndexList|>
  80. // - Layer State
  81. <|LayerState|>
  82. #endif // __generatedKeymap_h