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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. /* Copyright (C) 2014 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. // Generated MSG /w timestamp and compiler information
  17. #ifndef __generatedKeymap_h
  18. #define __generatedKeymap_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 Macros
  32. // Trigger Macro Guides
  33. <|TriggerMacros|>
  34. // -- Trigger Macro List
  35. // Indexed Table of Trigger Macros
  36. <|TriggerMacroList|>
  37. // ----- Trigger Maps -----
  38. // MaxScanCode
  39. // - This is retrieved from the KLL configuration
  40. // - Should be corollated with the max scan code in the scan module
  41. // - Maximum value is 0x100 (0x0 to 0xFF)
  42. // - Increasing it beyond the keyboard's capabilities is just a waste of ram...
  43. #define MaxScanCode <MaxScanCode>
  44. // -- Trigger Lists
  45. //
  46. // Index 0: # of triggers in list
  47. // Index n: pointer to trigger macro - use tm() macro
  48. // - Default Layer -
  49. <|DefaultLayerTriggerList|>
  50. // - Partial Layers -
  51. <|PartialLayerTriggerLists|>
  52. // -- ScanCode Indexed Maps
  53. // Maps to a trigger list of macro pointers
  54. // _
  55. // <scan code> -> |T|
  56. // |r| -> <trigger macro pointer 1>
  57. // |i|
  58. // |g| -> <trigger macro pointer 2>
  59. // |g|
  60. // |e| -> <trigger macro pointer 3>
  61. // |r|
  62. // |s| -> <trigger macro pointer n>
  63. // -
  64. // - Default Map for ScanCode Lookup -
  65. <|DefaultLayerScanMap|>
  66. // - Partial Layer ScanCode Lookup Maps -
  67. <|PartialLayerScanMaps|>
  68. // ----- Layer Index -----
  69. // -- Layer Index List
  70. //
  71. // Index 0: Default map
  72. // Index n: Additional layers
  73. <|LayerIndexList|>
  74. #endif // __generatedKeymap_h