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.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <|ResultMacroGuides|>
  28. // Result Macro Records
  29. <|ResultMacroRecords|>
  30. // -- Result Macro List
  31. // Indexed Table of Result Macros
  32. <|ResultMacroList|>
  33. // -- Trigger Macros
  34. // Trigger Macro Guides
  35. <|TriggerMacroGuides|>
  36. // Trigger Macro Records
  37. <|TriggerMacroRecords|>
  38. // -- Trigger Macro List
  39. // Indexed Table of Trigger Macros
  40. <|TriggerMacroList|>
  41. // ----- Trigger Maps -----
  42. // MaxScanCode
  43. // - This is retrieved from the KLL configuration
  44. // - Should be corollated with the max scan code in the scan module
  45. // - Maximum value is 0x100 (0x0 to 0xFF)
  46. // - Increasing it beyond the keyboard's capabilities is just a waste of ram...
  47. #define MaxScanCode <|MaxScanCode|>
  48. // -- Trigger Lists
  49. //
  50. // Index 0: # of triggers in list
  51. // Index n: pointer to trigger macro - use tm() macro
  52. // - Default Layer -
  53. <|DefaultLayerTriggerList|>
  54. // - Partial Layers -
  55. <|PartialLayerTriggerLists|>
  56. // -- ScanCode Indexed Maps
  57. // Maps to a trigger list of macro pointers
  58. // _
  59. // <scan code> -> |T|
  60. // |r| -> <trigger macro pointer 1>
  61. // |i|
  62. // |g| -> <trigger macro pointer 2>
  63. // |g|
  64. // |e| -> <trigger macro pointer 3>
  65. // |r|
  66. // |s| -> <trigger macro pointer n>
  67. // -
  68. // - Default Map for ScanCode Lookup -
  69. <|DefaultLayerScanMap|>
  70. // - Partial Layer ScanCode Lookup Maps -
  71. <|PartialLayerScanMaps|>
  72. // ----- Layer Index -----
  73. // -- Layer Index List
  74. //
  75. // Index 0: Default map
  76. // Index n: Additional layers
  77. <|LayerIndexList|>
  78. // - Layer State
  79. <|LayerState|>
  80. #endif // __generatedKeymap_h