diff options
| author | Ben Lipson <bjlipson@spscommerce.com> | 2021-09-19 15:23:40 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-19 13:23:40 -0700 |
| commit | e25d37454c9c228003651ba5eeae468930ae572d (patch) | |
| tree | fca265ff220f8805c1a5b7307b1cf7ba1cff185a /keyboards/crkbd | |
| parent | 4dbeeaa0d685ee7449010d2dc2a930a5921c8a8c (diff) | |
| download | qmk_firmware-e25d37454c9c228003651ba5eeae468930ae572d.tar.gz qmk_firmware-e25d37454c9c228003651ba5eeae468930ae572d.zip | |
[Keymap] blipson corne keymap (#14469)
revert lib/chibios
revert lib/chibios
Finish up
remove files
Update copyrights
remove copyrights
readd copyrights
add stop macro
PR suggestions
PR suggestions
readme lowercase
fix rotate for oled
Co-authored-by: Z003YW4 <ben.lipson@target.com>
Diffstat (limited to 'keyboards/crkbd')
| -rw-r--r-- | keyboards/crkbd/keymaps/blipson/blipsonfont.c | 232 | ||||
| -rw-r--r-- | keyboards/crkbd/keymaps/blipson/config.h | 51 | ||||
| -rw-r--r-- | keyboards/crkbd/keymaps/blipson/keymap.c | 139 | ||||
| -rw-r--r-- | keyboards/crkbd/keymaps/blipson/readme.md | 10 | ||||
| -rw-r--r-- | keyboards/crkbd/keymaps/blipson/rules.mk | 3 |
5 files changed, 435 insertions, 0 deletions
diff --git a/keyboards/crkbd/keymaps/blipson/blipsonfont.c b/keyboards/crkbd/keymaps/blipson/blipsonfont.c new file mode 100644 index 000000000..48f8de2c2 --- /dev/null +++ b/keyboards/crkbd/keymaps/blipson/blipsonfont.c | |||
| @@ -0,0 +1,232 @@ | |||
| 1 | // This is the 'classic' fixed-space bitmap font for Adafruit_GFX since 1.0. | ||
| 2 | // See gfxfont.h for newer custom bitmap font info. | ||
| 3 | |||
| 4 | #include "progmem.h" | ||
| 5 | |||
| 6 | // Standard ASCII 5x7 font | ||
| 7 | const unsigned char font[] PROGMEM = { | ||
| 8 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 9 | 0x3E, 0x5B, 0x4F, 0x5B, 0x3E, 0x00, | ||
| 10 | 0x3E, 0x6B, 0x4F, 0x6B, 0x3E, 0x00, | ||
| 11 | 0x1C, 0x3E, 0x7C, 0x3E, 0x1C, 0x00, | ||
| 12 | 0x18, 0x3C, 0x7E, 0x3C, 0x18, 0x00, | ||
| 13 | 0x1C, 0x57, 0x7D, 0x57, 0x1C, 0x00, | ||
| 14 | 0x1C, 0x5E, 0x7F, 0x5E, 0x1C, 0x00, | ||
| 15 | 0x00, 0x18, 0x3C, 0x18, 0x00, 0x00, | ||
| 16 | 0xFF, 0xE7, 0xC3, 0xE7, 0xFF, 0x00, | ||
| 17 | 0x00, 0x18, 0x24, 0x18, 0x00, 0x00, | ||
| 18 | 0xFF, 0xE7, 0xDB, 0xE7, 0xFF, 0x00, | ||
| 19 | 0x30, 0x48, 0x3A, 0x06, 0x0E, 0x00, | ||
| 20 | 0x26, 0x29, 0x79, 0x29, 0x26, 0x00, | ||
| 21 | 0x40, 0x7F, 0x05, 0x05, 0x07, 0x00, | ||
| 22 | 0x40, 0x7F, 0x05, 0x25, 0x3F, 0x00, | ||
| 23 | 0x5A, 0x3C, 0xE7, 0x3C, 0x5A, 0x00, | ||
| 24 | 0x7F, 0x3E, 0x1C, 0x1C, 0x08, 0x00, | ||
| 25 | 0x08, 0x1C, 0x1C, 0x3E, 0x7F, 0x00, | ||
| 26 | 0x14, 0x22, 0x7F, 0x22, 0x14, 0x00, | ||
| 27 | 0x5F, 0x5F, 0x00, 0x5F, 0x5F, 0x00, | ||
| 28 | 0x06, 0x09, 0x7F, 0x01, 0x7F, 0x00, | ||
| 29 | 0x00, 0x66, 0x89, 0x95, 0x6A, 0x00, | ||
| 30 | 0x60, 0x60, 0x60, 0x60, 0x60, 0x00, | ||
| 31 | 0x94, 0xA2, 0xFF, 0xA2, 0x94, 0x00, | ||
| 32 | 0x08, 0x04, 0x7E, 0x04, 0x08, 0x00, | ||
| 33 | 0x10, 0x20, 0x7E, 0x20, 0x10, 0x00, | ||
| 34 | 0x08, 0x08, 0x2A, 0x1C, 0x08, 0x00, | ||
| 35 | 0x08, 0x1C, 0x2A, 0x08, 0x08, 0x00, | ||
| 36 | 0x1E, 0x10, 0x10, 0x10, 0x10, 0x00, | ||
| 37 | 0x0C, 0x1E, 0x0C, 0x1E, 0x0C, 0x00, | ||
| 38 | 0x30, 0x38, 0x3E, 0x38, 0x30, 0x00, | ||
| 39 | 0x06, 0x0E, 0x3E, 0x0E, 0x06, 0x00, | ||
| 40 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 41 | 0x00, 0x00, 0x5F, 0x00, 0x00, 0x00, | ||
| 42 | 0x00, 0x07, 0x00, 0x07, 0x00, 0x00, | ||
| 43 | 0x14, 0x7F, 0x14, 0x7F, 0x14, 0x00, | ||
| 44 | 0x24, 0x2A, 0x7F, 0x2A, 0x12, 0x00, | ||
| 45 | 0x23, 0x13, 0x08, 0x64, 0x62, 0x00, | ||
| 46 | 0x36, 0x49, 0x56, 0x20, 0x50, 0x00, | ||
| 47 | 0x00, 0x08, 0x07, 0x03, 0x00, 0x00, | ||
| 48 | 0x00, 0x1C, 0x22, 0x41, 0x00, 0x00, | ||
| 49 | 0x00, 0x41, 0x22, 0x1C, 0x00, 0x00, | ||
| 50 | 0x2A, 0x1C, 0x7F, 0x1C, 0x2A, 0x00, | ||
| 51 | 0x08, 0x08, 0x3E, 0x08, 0x08, 0x00, | ||
| 52 | 0x00, 0x80, 0x70, 0x30, 0x00, 0x00, | ||
| 53 | 0x08, 0x08, 0x08, 0x08, 0x08, 0x00, | ||
| 54 | 0x00, 0x00, 0x60, 0x60, 0x00, 0x00, | ||
| 55 | 0x20, 0x10, 0x08, 0x04, 0x02, 0x00, | ||
| 56 | 0x3E, 0x51, 0x49, 0x45, 0x3E, 0x00, | ||
| 57 | 0x00, 0x42, 0x7F, 0x40, 0x00, 0x00, | ||
| 58 | 0x72, 0x49, 0x49, 0x49, 0x46, 0x00, | ||
| 59 | 0x21, 0x41, 0x49, 0x4D, 0x33, 0x00, | ||
| 60 | 0x18, 0x14, 0x12, 0x7F, 0x10, 0x00, | ||
| 61 | 0x27, 0x45, 0x45, 0x45, 0x39, 0x00, | ||
| 62 | 0x3C, 0x4A, 0x49, 0x49, 0x31, 0x00, | ||
| 63 | 0x41, 0x21, 0x11, 0x09, 0x07, 0x00, | ||
| 64 | 0x36, 0x49, 0x49, 0x49, 0x36, 0x00, | ||
| 65 | 0x46, 0x49, 0x49, 0x29, 0x1E, 0x00, | ||
| 66 | 0x00, 0x00, 0x14, 0x00, 0x00, 0x00, | ||
| 67 | 0x00, 0x40, 0x34, 0x00, 0x00, 0x00, | ||
| 68 | 0x00, 0x08, 0x14, 0x22, 0x41, 0x00, | ||
| 69 | 0x14, 0x14, 0x14, 0x14, 0x14, 0x00, | ||
| 70 | 0x00, 0x41, 0x22, 0x14, 0x08, 0x00, | ||
| 71 | 0x02, 0x01, 0x59, 0x09, 0x06, 0x00, | ||
| 72 | 0x3E, 0x41, 0x5D, 0x59, 0x4E, 0x00, | ||
| 73 | 0x7C, 0x12, 0x11, 0x12, 0x7C, 0x00, | ||
| 74 | 0x7F, 0x49, 0x49, 0x49, 0x36, 0x00, | ||
| 75 | 0x3E, 0x41, 0x41, 0x41, 0x22, 0x00, | ||
| 76 | 0x7F, 0x41, 0x41, 0x41, 0x3E, 0x00, | ||
| 77 | 0x7F, 0x49, 0x49, 0x49, 0x41, 0x00, | ||
| 78 | 0x7F, 0x09, 0x09, 0x09, 0x01, 0x00, | ||
| 79 | 0x3E, 0x41, 0x41, 0x51, 0x73, 0x00, | ||
| 80 | 0x7F, 0x08, 0x08, 0x08, 0x7F, 0x00, | ||
| 81 | 0x00, 0x41, 0x7F, 0x41, 0x00, 0x00, | ||
| 82 | 0x20, 0x40, 0x41, 0x3F, 0x01, 0x00, | ||
| 83 | 0x7F, 0x08, 0x14, 0x22, 0x41, 0x00, | ||
| 84 | 0x7F, 0x40, 0x40, 0x40, 0x40, 0x00, | ||
| 85 | 0x7F, 0x02, 0x1C, 0x02, 0x7F, 0x00, | ||
| 86 | 0x7F, 0x04, 0x08, 0x10, 0x7F, 0x00, | ||
| 87 | 0x3E, 0x41, 0x41, 0x41, 0x3E, 0x00, | ||
| 88 | 0x7F, 0x09, 0x09, 0x09, 0x06, 0x00, | ||
| 89 | 0x3E, 0x41, 0x51, 0x21, 0x5E, 0x00, | ||
| 90 | 0x7F, 0x09, 0x19, 0x29, 0x46, 0x00, | ||
| 91 | 0x26, 0x49, 0x49, 0x49, 0x32, 0x00, | ||
| 92 | 0x03, 0x01, 0x7F, 0x01, 0x03, 0x00, | ||
| 93 | 0x3F, 0x40, 0x40, 0x40, 0x3F, 0x00, | ||
| 94 | 0x1F, 0x20, 0x40, 0x20, 0x1F, 0x00, | ||
| 95 | 0x3F, 0x40, 0x38, 0x40, 0x3F, 0x00, | ||
| 96 | 0x63, 0x14, 0x08, 0x14, 0x63, 0x00, | ||
| 97 | 0x03, 0x04, 0x78, 0x04, 0x03, 0x00, | ||
| 98 | 0x61, 0x59, 0x49, 0x4D, 0x43, 0x00, | ||
| 99 | 0x00, 0x7F, 0x41, 0x41, 0x41, 0x00, | ||
| 100 | 0x02, 0x04, 0x08, 0x10, 0x20, 0x00, | ||
| 101 | 0x00, 0x41, 0x41, 0x41, 0x7F, 0x00, | ||
| 102 | 0x04, 0x02, 0x01, 0x02, 0x04, 0x00, | ||
| 103 | 0x40, 0x40, 0x40, 0x40, 0x40, 0x00, | ||
| 104 | 0x00, 0x03, 0x07, 0x08, 0x00, 0x00, | ||
| 105 | 0x20, 0x54, 0x54, 0x78, 0x40, 0x00, | ||
| 106 | 0x7F, 0x28, 0x44, 0x44, 0x38, 0x00, | ||
| 107 | 0x38, 0x44, 0x44, 0x44, 0x28, 0x00, | ||
| 108 | 0x38, 0x44, 0x44, 0x28, 0x7F, 0x00, | ||
| 109 | 0x38, 0x54, 0x54, 0x54, 0x18, 0x00, | ||
| 110 | 0x00, 0x08, 0x7E, 0x09, 0x02, 0x00, | ||
| 111 | 0x18, 0x24, 0x24, 0x1C, 0x18, 0x00, | ||
| 112 | 0x7F, 0x08, 0x04, 0x04, 0x78, 0x00, | ||
| 113 | 0x00, 0x44, 0x7D, 0x40, 0x00, 0x00, | ||
| 114 | 0x20, 0x40, 0x40, 0x3D, 0x00, 0x00, | ||
| 115 | 0x7F, 0x10, 0x28, 0x44, 0x00, 0x00, | ||
| 116 | 0x00, 0x41, 0x7F, 0x40, 0x00, 0x00, | ||
| 117 | 0x7C, 0x04, 0x78, 0x04, 0x78, 0x00, | ||
| 118 | 0x7C, 0x08, 0x04, 0x04, 0x78, 0x00, | ||
| 119 | 0x38, 0x44, 0x44, 0x44, 0x38, 0x00, | ||
| 120 | 0x7C, 0x18, 0x24, 0x24, 0x18, 0x00, | ||
| 121 | 0x18, 0x24, 0x24, 0x18, 0x7C, 0x00, | ||
| 122 | 0x7C, 0x08, 0x04, 0x04, 0x08, 0x00, | ||
| 123 | 0x48, 0x54, 0x54, 0x54, 0x24, 0x00, | ||
| 124 | 0x04, 0x04, 0x3F, 0x44, 0x24, 0x00, | ||
| 125 | 0x3C, 0x40, 0x40, 0x20, 0x7C, 0x00, | ||
| 126 | 0x1C, 0x20, 0x40, 0x20, 0x1C, 0x00, | ||
| 127 | 0x3C, 0x40, 0x30, 0x40, 0x3C, 0x00, | ||
| 128 | 0x44, 0x28, 0x10, 0x28, 0x44, 0x00, | ||
| 129 | 0x4C, 0x90, 0x90, 0x90, 0x7C, 0x00, | ||
| 130 | 0x44, 0x64, 0x54, 0x4C, 0x44, 0x00, | ||
| 131 | 0x00, 0x08, 0x36, 0x41, 0x00, 0x00, | ||
| 132 | 0x00, 0x00, 0x77, 0x00, 0x00, 0x00, | ||
| 133 | 0x00, 0x41, 0x36, 0x08, 0x00, 0x00, | ||
| 134 | 0x02, 0x01, 0x02, 0x04, 0x02, 0x00, | ||
| 135 | 0x3C, 0x26, 0x23, 0x26, 0x3C, 0x00, | ||
| 136 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 137 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 138 | 0xE0, 0xE0, 0x00, 0x00, 0x00, 0x00, | ||
| 139 | 0x00, 0x00, 0x00, 0x00, 0xFC, 0xFC, | ||
| 140 | 0xFC, 0xFC, 0xFC, 0x00, 0x00, 0x00, | ||
| 141 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 142 | 0x00, 0xC0, 0xC0, 0x00, 0x00, 0x80, | ||
| 143 | 0xC0, 0xE0, 0x60, 0x60, 0xE0, 0xC0, | ||
| 144 | 0x80, 0x00, 0x00, 0x80, 0xC0, 0xC0, | ||
| 145 | 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, | ||
| 146 | 0x80, 0xC0, 0xC0, 0xC0, 0x80, 0x00, | ||
| 147 | 0x00, 0x00, 0xC0, 0x80, 0xC0, 0xC0, | ||
| 148 | 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, | ||
| 149 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 150 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 151 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 152 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 153 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 154 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 155 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 156 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 157 | 0xE0, 0xF0, 0xF0, 0xF0, 0xE0, 0xEC, | ||
| 158 | 0xEE, 0xF7, 0xF3, 0x70, 0x20, 0x00, | ||
| 159 | 0x7C, 0x7C, 0x7C, 0x7E, 0x00, 0x7E, | ||
| 160 | 0x7E, 0x7E, 0x7F, 0x7F, 0x7F, 0x00, | ||
| 161 | 0x00, 0x80, 0xC0, 0xE0, 0x7E, 0x5B, | ||
| 162 | 0x4F, 0x5B, 0xFE, 0xC0, 0x00, 0x00, | ||
| 163 | 0xC0, 0x00, 0xDC, 0xD7, 0xDE, 0xDE, | ||
| 164 | 0xDE, 0xD7, 0xDC, 0x00, 0xC0, 0x00, | ||
| 165 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 166 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 167 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 168 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 169 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 170 | 0xFF, 0xFF, 0x30, 0x18, 0x18, 0x38, | ||
| 171 | 0xF0, 0xE0, 0x00, 0x00, 0xFF, 0xFF, | ||
| 172 | 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, | ||
| 173 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 174 | 0x00, 0xFE, 0xFE, 0x00, 0x00, 0xFF, | ||
| 175 | 0xFF, 0x18, 0x30, 0x30, 0x38, 0x1F, | ||
| 176 | 0x0F, 0x00, 0x8F, 0x1F, 0x38, 0x30, | ||
| 177 | 0x70, 0xE3, 0xC7, 0x00, 0x00, 0xFF, | ||
| 178 | 0xFF, 0x01, 0x00, 0x01, 0xFF, 0xFF, | ||
| 179 | 0x00, 0x00, 0xFF, 0xFF, 0x01, 0x00, | ||
| 180 | 0x01, 0xFF, 0xFF, 0x00, 0x00, 0x00, | ||
| 181 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 182 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 183 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 184 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 185 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 186 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 187 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 188 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 189 | 0x0F, 0x1F, 0x3F, 0x7F, 0x7F, 0x7F, | ||
| 190 | 0x7F, 0x7F, 0x3F, 0x1E, 0x0C, 0x00, | ||
| 191 | 0x1F, 0x1F, 0x1F, 0x3F, 0x00, 0x3F, | ||
| 192 | 0x3F, 0x3F, 0x7F, 0x7F, 0x7F, 0x00, | ||
| 193 | 0x30, 0x7B, 0x7F, 0x78, 0x30, 0x20, | ||
| 194 | 0x20, 0x30, 0x78, 0x7F, 0x3B, 0x00, | ||
| 195 | 0x03, 0x00, 0x0F, 0x7F, 0x0F, 0x0F, | ||
| 196 | 0x0F, 0x7F, 0x0F, 0x00, 0x03, 0x00, | ||
| 197 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 198 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 199 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 200 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 201 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 202 | 0x03, 0x07, 0x0E, 0x0C, 0x0C, 0x0E, | ||
| 203 | 0x07, 0x03, 0x00, 0x00, 0x0F, 0x0F, | ||
| 204 | 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, | ||
| 205 | 0x0F, 0x0F, 0x0F, 0x0F, 0x0F, 0x00, | ||
| 206 | 0x00, 0x0F, 0x0F, 0x00, 0x00, 0x3F, | ||
| 207 | 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 208 | 0x00, 0x00, 0x03, 0x07, 0x0C, 0x0C, | ||
| 209 | 0x0E, 0x07, 0x03, 0x00, 0x00, 0x03, | ||
| 210 | 0x07, 0x0E, 0x0C, 0x0E, 0x07, 0x03, | ||
| 211 | 0x00, 0x00, 0x0F, 0x0F, 0x00, 0x00, | ||
| 212 | 0x00, 0x0F, 0x0F, 0x00, 0x00, 0x00, | ||
| 213 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 214 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 215 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 216 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 217 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 218 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 219 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 220 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 221 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 222 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 223 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 224 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 225 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 226 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 227 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 228 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 229 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 230 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 231 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, | ||
| 232 | }; | ||
diff --git a/keyboards/crkbd/keymaps/blipson/config.h b/keyboards/crkbd/keymaps/blipson/config.h new file mode 100644 index 000000000..199479583 --- /dev/null +++ b/keyboards/crkbd/keymaps/blipson/config.h | |||
| @@ -0,0 +1,51 @@ | |||
| 1 | /* | ||
| 2 | This is the c configuration file for the keymap | ||
| 3 | |||
| 4 | Copyright 2015 Jack Humbert | ||
| 5 | Copyright 2020 Ben Lipson <ben.j.lipson@gmail.com> | ||
| 6 | |||
| 7 | This program is free software: you can redistribute it and/or modify | ||
| 8 | it under the terms of the GNU General Public License as published by | ||
| 9 | the Free Software Foundation, either version 2 of the License, or | ||
| 10 | (at your option) any later version. | ||
| 11 | |||
| 12 | This program is distributed in the hope that it will be useful, | ||
| 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 15 | GNU General Public License for more details. | ||
| 16 | |||
| 17 | You should have received a copy of the GNU General Public License | ||
| 18 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 19 | */ | ||
| 20 | |||
| 21 | #pragma once | ||
| 22 | |||
| 23 | /* Select hand configuration */ | ||
| 24 | #define MASTER_LEFT | ||
| 25 | // #define MASTER_RIGHT | ||
| 26 | // #define EE_HANDS | ||
| 27 | |||
| 28 | #define TAPPING_FORCE_HOLD | ||
| 29 | #define TAPPING_TERM 100 | ||
| 30 | |||
| 31 | #ifdef RGBLIGHT_ENABLE | ||
| 32 | #undef RGBLED_NUM | ||
| 33 | #define RGBLIGHT_EFFECT_BREATHING | ||
| 34 | #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 35 | #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 36 | #define RGBLIGHT_EFFECT_SNAKE | ||
| 37 | #define RGBLIGHT_EFFECT_KNIGHT | ||
| 38 | #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 39 | #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 40 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 41 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 42 | #define RGBLIGHT_EFFECT_TWINKLE | ||
| 43 | #define RGBLED_NUM 27 | ||
| 44 | #define RGBLIGHT_LIMIT_VAL 120 | ||
| 45 | #define RGBLIGHT_HUE_STEP 10 | ||
| 46 | #define RGBLIGHT_SAT_STEP 17 | ||
| 47 | #define RGBLIGHT_VAL_STEP 17 | ||
| 48 | #endif | ||
| 49 | |||
| 50 | #define OLED_FONT_H "keyboards/crkbd/keymaps/blipson/blipsonfont.c" | ||
| 51 | #define SPLIT_LAYER_STATE_ENABLE | ||
diff --git a/keyboards/crkbd/keymaps/blipson/keymap.c b/keyboards/crkbd/keymaps/blipson/keymap.c new file mode 100644 index 000000000..23491e11a --- /dev/null +++ b/keyboards/crkbd/keymaps/blipson/keymap.c | |||
| @@ -0,0 +1,139 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 @foostan | ||
| 3 | Copyright 2020 Ben Lipson <ben.j.lipson@gmail.com> | ||
| 4 | |||
| 5 | This program is free software: you can redistribute it and/or modify | ||
| 6 | it under the terms of the GNU General Public License as published by | ||
| 7 | the Free Software Foundation, either version 2 of the License, or | ||
| 8 | (at your option) any later version. | ||
| 9 | |||
| 10 | This program is distributed in the hope that it will be useful, | ||
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 13 | GNU General Public License for more details. | ||
| 14 | |||
| 15 | You should have received a copy of the GNU General Public License | ||
| 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | */ | ||
| 18 | |||
| 19 | #include QMK_KEYBOARD_H | ||
| 20 | |||
| 21 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 22 | [0] = LAYOUT_split_3x6_3( | ||
| 23 | //,-----------------------------------------------------. ,-----------------------------------------------------. | ||
| 24 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 25 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 26 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, | ||
| 27 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 28 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, | ||
| 29 | //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------| | ||
| 30 | MO(1), KC_LGUI, KC_SPC, KC_SPC, KC_RALT, MO(2) | ||
| 31 | //`--------------------------' `--------------------------' | ||
| 32 | |||
| 33 | ), | ||
| 34 | |||
| 35 | [1] = LAYOUT_split_3x6_3( | ||
| 36 | //,-----------------------------------------------------. ,-----------------------------------------------------. | ||
| 37 | KC_GRV, KC_EXLM, KC_AT, KC_HASH, KC_DLR, KC_PERC, KC_CIRC, KC_AMPR, KC_UP, KC_LPRN, KC_RPRN, KC_BSLS, | ||
| 38 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 39 | KC_LCTL, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_LEFT, KC_DOWN, KC_RIGHT, XXXXXXX, KC_ENT, | ||
| 40 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 41 | KC_LSFT, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, KC_INS, KC_END, KC_HOME, KC_PGDN, KC_PGUP, KC_RSFT, | ||
| 42 | //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------| | ||
| 43 | _______, KC_LGUI, KC_SPC, KC_SPC, KC_RALT, MO(3) | ||
| 44 | //`--------------------------' `--------------------------' | ||
| 45 | ), | ||
| 46 | |||
| 47 | [2] = LAYOUT_split_3x6_3( | ||
| 48 | //,-----------------------------------------------------. ,-----------------------------------------------------. | ||
| 49 | KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
| 50 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 51 | KC_LCTL, KC_ASTR, KC_MINS, KC_PLUS, KC_LCBR, KC_RCBR, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 52 | //|--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------| | ||
| 53 | KC_BSLS, KC_PIPE, KC_UNDS, KC_EQL, KC_LBRC, KC_RBRC, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, XXXXXXX, | ||
| 54 | //|--------+--------+--------+--------+--------+--------+--------| |--------+--------+--------+--------+--------+--------+--------| | ||
| 55 | MO(3), KC_LGUI, KC_SPC, KC_SPC, KC_RALT, _______ | ||
| 56 | //`--------------------------' `--------------------------' | ||
| 57 | ), | ||
| 58 | |||
| 59 | [3] = LAYOUT_split_3x6_3( | ||
| 60 | //,-------------------------------------------------------------------------------. ,------------------------------------------------------------------. | ||
| 61 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, RESET, | ||
| 62 | //|----------+------------+--------------+---------------+-----------+------------| |------------+------------+------------+--------+--------+---------| | ||
| 63 | KC_LCTL, A(KC_F12), A(G(KC_LEFT)), A(G(KC_RIGHT)), S(KC_F6), C(S(KC_D)), C(S(KC_R)), G(KC_LBRC), G(KC_RBRC), KC_F11, KC_F12, KC_MPLY, | ||
| 64 | //|----------+------------+--------------+---------------+-----------+------------| |------------+------------+------------+--------+--------+---------| | ||
| 65 | G(KC_F2), A(G(KC_F)), KC_MUTE, KC__VOLDOWN, KC__VOLUP, G(KC_GRV), C(G(KC_G)), KC_TAB, S(KC_TAB), KC_BRID, KC_BRIU, KC_CAPS, | ||
| 66 | //|----------+------------+--------------+---------------+-----------+------------+--------| |--------+------------+------------+------------+--------+--------+---------| | ||
| 67 | _______, KC_LGUI, KC_SPC, KC_SPC, KC_RALT, _______ | ||
| 68 | //`----------------------------------' `-------------------------------' | ||
| 69 | ) | ||
| 70 | }; | ||
| 71 | |||
| 72 | #ifdef OLED_ENABLE | ||
| 73 | oled_rotation_t oled_init_user(oled_rotation_t rotation) { | ||
| 74 | if (!is_keyboard_left()) { | ||
| 75 | return OLED_ROTATION_180; // flips the display 180 degrees if offhand | ||
| 76 | } | ||
| 77 | return rotation; | ||
| 78 | } | ||
| 79 | |||
| 80 | #define L_BASE 0 | ||
| 81 | #define L_LOWER 2 | ||
| 82 | #define L_RAISE 4 | ||
| 83 | #define L_ADJUST 8 | ||
| 84 | |||
| 85 | void oled_render_layer_state(void) { | ||
| 86 | oled_write_P(PSTR("Layer: "), false); | ||
| 87 | switch (layer_state) { | ||
| 88 | case L_BASE: | ||
| 89 | oled_write_ln_P(PSTR("Default"), false); | ||
| 90 | break; | ||
| 91 | case L_LOWER: | ||
| 92 | oled_write_ln_P(PSTR("Lower"), false); | ||
| 93 | break; | ||
| 94 | case L_RAISE: | ||
| 95 | oled_write_ln_P(PSTR("Raise"), false); | ||
| 96 | break; | ||
| 97 | case L_ADJUST: | ||
| 98 | case L_ADJUST|L_LOWER: | ||
| 99 | case L_ADJUST|L_RAISE: | ||
| 100 | case L_ADJUST|L_LOWER|L_RAISE: | ||
| 101 | oled_write_ln_P(PSTR("Adjust"), false); | ||
| 102 | break; | ||
| 103 | } | ||
| 104 | oled_write_P(PSTR("I love Marce"), false); | ||
| 105 | } | ||
| 106 | |||
| 107 | void render_bootmagic_status(bool status) { | ||
| 108 | /* Show Ctrl-Gui Swap options */ | ||
| 109 | static const char PROGMEM logo[][2][3] = { | ||
| 110 | {{0x97, 0x98, 0}, {0xb7, 0xb8, 0}}, | ||
| 111 | {{0x95, 0x96, 0}, {0xb5, 0xb6, 0}}, | ||
| 112 | }; | ||
| 113 | if (status) { | ||
| 114 | oled_write_ln_P(logo[0][0], false); | ||
| 115 | oled_write_ln_P(logo[0][1], false); | ||
| 116 | } else { | ||
| 117 | oled_write_ln_P(logo[1][0], false); | ||
| 118 | oled_write_ln_P(logo[1][1], false); | ||
| 119 | } | ||
| 120 | } | ||
| 121 | |||
| 122 | void oled_render_logo(void) { | ||
| 123 | static const char PROGMEM crkbd_logo[] = { | ||
| 124 | 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94, | ||
| 125 | 0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4, | ||
| 126 | 0xc0, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, 0xc8, 0xc9, 0xca, 0xcb, 0xcc, 0xcd, 0xce, 0xcf, 0xd0, 0xd1, 0xd2, 0xd3, 0xd4, | ||
| 127 | 0}; | ||
| 128 | oled_write_P(crkbd_logo, false); | ||
| 129 | } | ||
| 130 | |||
| 131 | void oled_task_user(void) { | ||
| 132 | if (is_keyboard_master()) { | ||
| 133 | oled_render_layer_state(); | ||
| 134 | } else { | ||
| 135 | oled_render_logo(); | ||
| 136 | } | ||
| 137 | } | ||
| 138 | |||
| 139 | #endif // OLED_ENABLE | ||
diff --git a/keyboards/crkbd/keymaps/blipson/readme.md b/keyboards/crkbd/keymaps/blipson/readme.md new file mode 100644 index 000000000..5dfb926bc --- /dev/null +++ b/keyboards/crkbd/keymaps/blipson/readme.md | |||
| @@ -0,0 +1,10 @@ | |||
| 1 | # bLipson | ||
| 2 | a keymap for the CRKBD/Corne geared towards professional software development on MacOS. | ||
| 3 | |||
| 4 | #### Meant for use with the following tools: | ||
| 5 | |||
| 6 | - [Intellij IDEA](https://www.jetbrains.com/idea/) | ||
| 7 | - [Rectangle](https://rectangleapp.com/) | ||
| 8 | |||
| 9 | ## Building | ||
| 10 | `make crkbd:blipson` | ||
diff --git a/keyboards/crkbd/keymaps/blipson/rules.mk b/keyboards/crkbd/keymaps/blipson/rules.mk new file mode 100644 index 000000000..5cad39dbd --- /dev/null +++ b/keyboards/crkbd/keymaps/blipson/rules.mk | |||
| @@ -0,0 +1,3 @@ | |||
| 1 | OLED_ENABLE = yes | ||
| 2 | RGBLIGHT_ENABLE = no | ||
| 3 | AUDIO_ENABLE = no | ||
