Kiibohd Controller
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.

defaultMap.h 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. /* Copyright (C) 2012,2014-2015 by Jacob Alexander
  2. *
  3. * Permission is hereby granted, free of charge, to any person obtaining a copy
  4. * of this software and associated documentation files (the "Software"), to deal
  5. * in the Software without restriction, including without limitation the rights
  6. * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  7. * copies of the Software, and to permit persons to whom the Software is
  8. * furnished to do so, subject to the following conditions:
  9. *
  10. * The above copyright notice and this permission notice shall be included in
  11. * all copies or substantial portions of the Software.
  12. *
  13. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  14. * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  15. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  16. * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  17. * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  18. * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  19. * THE SOFTWARE.
  20. */
  21. #pragma once
  22. // This file contains various key layouts for the SKM 67001 Keyboard from the Olympia Professional ES 105 Typewriter
  23. // ----- Variables -----
  24. // Default 1-indexed key mappings
  25. static uint8_t DefaultMap_Lookup[] = {
  26. 0, // 0x00
  27. KEY_1, // 0x01
  28. KEY_Q, // 0x02
  29. KEY_A, // 0x03
  30. KEY_2, // 0x04
  31. KEY_Z, // 0x05
  32. KEY_W, // 0x06
  33. KEY_S, // 0x07
  34. KEY_3, // 0x08
  35. KEY_X, // 0x09
  36. KEY_E, // 0x0A
  37. KEY_D, // 0x0B
  38. KEY_4, // 0x0C
  39. KEY_C, // 0x0D
  40. KEY_R, // 0x0E
  41. KEY_F, // 0x0F
  42. KEY_5, // 0x10
  43. KEY_V, // 0x11
  44. KEY_T, // 0x12
  45. KEY_G, // 0x13
  46. KEY_6, // 0x14
  47. KEY_B, // 0x15
  48. KEY_Y, // 0x16
  49. KEY_H, // 0x17
  50. KEY_7, // 0x18
  51. KEY_N, // 0x19
  52. KEY_U, // 0x1A
  53. KEY_J, // 0x1B
  54. KEY_8, // 0x1C
  55. KEY_M, // 0x1D
  56. KEY_I, // 0x1E
  57. KEY_K, // 0x1F
  58. KEY_9, // 0x20
  59. KEY_COMMA, // 0x21
  60. KEY_O, // 0x22
  61. KEY_L, // 0x23
  62. KEY_0, // 0x24
  63. KEY_PERIOD, // 0x25
  64. KEY_P, // 0x26
  65. KEY_SEMICOLON, // 0x27
  66. KEY_MINUS, // 0x28
  67. KEY_SLASH, // 0x29
  68. KEY_LEFT_BRACE, // 0x2A (1/4)
  69. KEY_QUOTE, // 0x2B
  70. KEY_EQUAL, // 0x2C
  71. KEY_RIGHT_BRACE, // 0x2D
  72. 0, // 0x2E
  73. 0, // 0x2F
  74. KEY_TILDE, // 0x30
  75. KEY_TAB, // 0x31
  76. 0, // 0x32
  77. 0, // 0x33
  78. KEY_SHIFT, // 0x34
  79. KEY_ENTER, // 0x35
  80. KEY_BACKSPACE, // 0x36
  81. KEY_DELETE, // 0x37
  82. KEY_CTRL, // 0x38 (MAR LEFT)
  83. KEY_SPACE, // 0x39
  84. KEY_ALT, // 0x3A (EXPRESS / MAR RIGHT)
  85. 0, // 0x3B
  86. 0, // 0x3C
  87. KEY_ESC, // 0x3D (MAR REL)
  88. 0, // 0x3E (STORE)
  89. 0, // 0x3F (RECALL)
  90. KEY_GUI, // 0x40 (CODE)
  91. 0, // 0x41
  92. 0, // 0x42
  93. 0, // 0x43
  94. 0, // 0x44
  95. 0, // 0x45
  96. 0, // 0x46
  97. 0, // 0x47
  98. 0, // 0x48 (DEC TAB)
  99. 0, // 0x49 (SET TAB)
  100. 0, // 0x4A (TAB CLEAR)
  101. 0, // 0x4B (INDEX)
  102. 0, // 0x4C (RELOC)
  103. 0, // 0x4D
  104. 0, // 0x4E
  105. 0, // 0x4F
  106. 0, // 0x50 (REV INDEX)
  107. 0, // 0x51
  108. 0, // 0x52
  109. 0, // 0x53
  110. 0, // 0x54
  111. 0, // 0x55
  112. };