diff options
| author | yiancar <yiangosyiangou@cytanet.com.cy> | 2020-01-08 01:26:04 +0000 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2020-01-07 17:26:04 -0800 |
| commit | ee70d496f44f43b5fd0e7b3a94db4dc467725e1e (patch) | |
| tree | b345ef049a9c1544f8847c37f41bd584a18dbb56 /keyboards/allison | |
| parent | 0027a0a94874302644fa466ff074091ecc9c7b0b (diff) | |
| download | qmk_firmware-ee70d496f44f43b5fd0e7b3a94db4dc467725e1e.tar.gz qmk_firmware-ee70d496f44f43b5fd0e7b3a94db4dc467725e1e.zip | |
[Keyboard] add Allison keyboard (#7818)
* Initial commit
* Cosmetic Fixes
* Delete config.h
Diffstat (limited to 'keyboards/allison')
| -rw-r--r-- | keyboards/allison/allison.c | 17 | ||||
| -rw-r--r-- | keyboards/allison/allison.h | 44 | ||||
| -rw-r--r-- | keyboards/allison/config.h | 252 | ||||
| -rw-r--r-- | keyboards/allison/info.json | 12 | ||||
| -rw-r--r-- | keyboards/allison/keymaps/default/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/allison/keymaps/default/readme.md | 7 | ||||
| -rw-r--r-- | keyboards/allison/keymaps/via/keymap.c | 50 | ||||
| -rw-r--r-- | keyboards/allison/keymaps/via/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/allison/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/allison/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/allison/rules.mk | 32 |
11 files changed, 481 insertions, 0 deletions
diff --git a/keyboards/allison/allison.c b/keyboards/allison/allison.c new file mode 100644 index 000000000..4ca8bd07d --- /dev/null +++ b/keyboards/allison/allison.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 Yiancar | ||
| 2 | * | ||
| 3 | * This program 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 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program 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 program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include "allison.h" | ||
diff --git a/keyboards/allison/allison.h b/keyboards/allison/allison.h new file mode 100644 index 000000000..e9078a82a --- /dev/null +++ b/keyboards/allison/allison.h | |||
| @@ -0,0 +1,44 @@ | |||
| 1 | /* Copyright 2020 Yiancar | ||
| 2 | * | ||
| 3 | * This program 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 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program 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 program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #pragma once | ||
| 18 | |||
| 19 | #include "quantum.h" | ||
| 20 | |||
| 21 | /* This is a shortcut to help you visually see your layout. | ||
| 22 | * | ||
| 23 | * The first section contains all of the arguments representing the physical | ||
| 24 | * layout of the board and position of the keys. | ||
| 25 | * | ||
| 26 | * The second converts the arguments into a two-dimensional array which | ||
| 27 | * represents the switch matrix. | ||
| 28 | */ | ||
| 29 | #define LAYOUT_all( \ | ||
| 30 | K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, \ | ||
| 31 | K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K0E, \ | ||
| 32 | K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \ | ||
| 33 | K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E, \ | ||
| 34 | K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E, \ | ||
| 35 | K50, K51, K52, K53, K58, K5C, K5D, K5E \ | ||
| 36 | ) \ | ||
| 37 | { \ | ||
| 38 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0D, K0E }, \ | ||
| 39 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \ | ||
| 40 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \ | ||
| 41 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3D, K3E }, \ | ||
| 42 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C, K4D, K4E }, \ | ||
| 43 | { K50, K51, K52, K53, KC_NO, KC_NO, KC_NO, KC_NO, K58, KC_NO, KC_NO, KC_NO, K5C, K5D, K5E } \ | ||
| 44 | } | ||
diff --git a/keyboards/allison/config.h b/keyboards/allison/config.h new file mode 100644 index 000000000..8a310d0a2 --- /dev/null +++ b/keyboards/allison/config.h | |||
| @@ -0,0 +1,252 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2020 Yiancar | ||
| 3 | |||
| 4 | This program is free software: you can redistribute it and/or modify | ||
| 5 | it under the terms of the GNU General Public License as published by | ||
| 6 | the Free Software Foundation, either version 2 of the License, or | ||
| 7 | (at your option) any later version. | ||
| 8 | |||
| 9 | This program is distributed in the hope that it will be useful, | ||
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | GNU General Public License for more details. | ||
| 13 | |||
| 14 | You should have received a copy of the GNU General Public License | ||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "config_common.h" | ||
| 21 | |||
| 22 | /* USB Device descriptor parameter */ | ||
| 23 | #define VENDOR_ID 0x8968 | ||
| 24 | #define PRODUCT_ID 0x414D | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER protoTypist | ||
| 27 | #define PRODUCT Allison | ||
| 28 | #define DESCRIPTION A custom luxurious 60 with F-row and Macro | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 6 | ||
| 32 | #define MATRIX_COLS 15 | ||
| 33 | |||
| 34 | /* | ||
| 35 | * Keyboard Matrix Assignments | ||
| 36 | * | ||
| 37 | * Change this to how you wired your keyboard | ||
| 38 | * COLS: AVR pins used for columns, left to right | ||
| 39 | * ROWS: AVR pins used for rows, top to bottom | ||
| 40 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 41 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 42 | * | ||
| 43 | */ | ||
| 44 | #define MATRIX_ROW_PINS { D2, D1, D0, B1, B2, D3} | ||
| 45 | #define MATRIX_COL_PINS { F4, F5, F6, F7, C7, C6, B6, B5, B4, D7, D6, D4, D5, F1, F0 } | ||
| 46 | #define UNUSED_PINS | ||
| 47 | |||
| 48 | /* COL2ROW, ROW2COL*/ | ||
| 49 | #define DIODE_DIRECTION COL2ROW | ||
| 50 | |||
| 51 | /* | ||
| 52 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 53 | */ | ||
| 54 | // #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 55 | |||
| 56 | #define BACKLIGHT_PIN B7 | ||
| 57 | #define BACKLIGHT_BREATHING | ||
| 58 | #define BACKLIGHT_LEVELS 4 | ||
| 59 | |||
| 60 | // #define RGB_DI_PIN E2 | ||
| 61 | // #ifdef RGB_DI_PIN | ||
| 62 | // #define RGBLED_NUM 16 | ||
| 63 | // #define RGBLIGHT_HUE_STEP 8 | ||
| 64 | // #define RGBLIGHT_SAT_STEP 8 | ||
| 65 | // #define RGBLIGHT_VAL_STEP 8 | ||
| 66 | // #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ | ||
| 67 | // #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ | ||
| 68 | // /*== all animations enable ==*/ | ||
| 69 | // #define RGBLIGHT_ANIMATIONS | ||
| 70 | // /*== or choose animations ==*/ | ||
| 71 | // #define RGBLIGHT_EFFECT_BREATHING | ||
| 72 | // #define RGBLIGHT_EFFECT_RAINBOW_MOOD | ||
| 73 | // #define RGBLIGHT_EFFECT_RAINBOW_SWIRL | ||
| 74 | // #define RGBLIGHT_EFFECT_SNAKE | ||
| 75 | // #define RGBLIGHT_EFFECT_KNIGHT | ||
| 76 | // #define RGBLIGHT_EFFECT_CHRISTMAS | ||
| 77 | // #define RGBLIGHT_EFFECT_STATIC_GRADIENT | ||
| 78 | // #define RGBLIGHT_EFFECT_RGB_TEST | ||
| 79 | // #define RGBLIGHT_EFFECT_ALTERNATING | ||
| 80 | // /*== customize breathing effect ==*/ | ||
| 81 | // /*==== (DEFAULT) use fixed table instead of exp() and sin() ====*/ | ||
| 82 | // #define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256(default) or 128 or 64 | ||
| 83 | // /*==== use exp() and sin() ====*/ | ||
| 84 | // #define RGBLIGHT_EFFECT_BREATHE_CENTER 1.85 // 1 to 2.7 | ||
| 85 | // #define RGBLIGHT_EFFECT_BREATHE_MAX 255 // 0 to 255 | ||
| 86 | // #endif | ||
| 87 | |||
| 88 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 89 | #define DEBOUNCE 5 | ||
| 90 | |||
| 91 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 92 | //#define MATRIX_HAS_GHOST | ||
| 93 | |||
| 94 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 95 | #define LOCKING_SUPPORT_ENABLE | ||
| 96 | /* Locking resynchronize hack */ | ||
| 97 | #define LOCKING_RESYNC_ENABLE | ||
| 98 | |||
| 99 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 100 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 101 | */ | ||
| 102 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 103 | |||
| 104 | /* | ||
| 105 | * Force NKRO | ||
| 106 | * | ||
| 107 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 108 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 109 | * makefile for this to work.) | ||
| 110 | * | ||
| 111 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 112 | * until the next keyboard reset. | ||
| 113 | * | ||
| 114 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 115 | * fully operational during normal computer usage. | ||
| 116 | * | ||
| 117 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 118 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 119 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 120 | * power-up. | ||
| 121 | * | ||
| 122 | */ | ||
| 123 | //#define FORCE_NKRO | ||
| 124 | |||
| 125 | /* | ||
| 126 | * Magic Key Options | ||
| 127 | * | ||
| 128 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 129 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 130 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 131 | * | ||
| 132 | * The options below allow the magic key functionality to be changed. This is | ||
| 133 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 134 | * | ||
| 135 | */ | ||
| 136 | |||
| 137 | /* key combination for magic key command */ | ||
| 138 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 139 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 140 | |||
| 141 | /* control how magic key switches layers */ | ||
| 142 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 143 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 144 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 145 | |||
| 146 | /* override magic key keymap */ | ||
| 147 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 148 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 149 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 150 | //#define MAGIC_KEY_HELP H | ||
| 151 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 152 | //#define MAGIC_KEY_DEBUG D | ||
| 153 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 154 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 155 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 156 | //#define MAGIC_KEY_VERSION V | ||
| 157 | //#define MAGIC_KEY_STATUS S | ||
| 158 | //#define MAGIC_KEY_CONSOLE C | ||
| 159 | //#define MAGIC_KEY_LAYER0 0 | ||
| 160 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 161 | //#define MAGIC_KEY_LAYER1 1 | ||
| 162 | //#define MAGIC_KEY_LAYER2 2 | ||
| 163 | //#define MAGIC_KEY_LAYER3 3 | ||
| 164 | //#define MAGIC_KEY_LAYER4 4 | ||
| 165 | //#define MAGIC_KEY_LAYER5 5 | ||
| 166 | //#define MAGIC_KEY_LAYER6 6 | ||
| 167 | //#define MAGIC_KEY_LAYER7 7 | ||
| 168 | //#define MAGIC_KEY_LAYER8 8 | ||
| 169 | //#define MAGIC_KEY_LAYER9 9 | ||
| 170 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 171 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 172 | //#define MAGIC_KEY_LOCK CAPS | ||
| 173 | //#define MAGIC_KEY_EEPROM E | ||
| 174 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 175 | //#define MAGIC_KEY_NKRO N | ||
| 176 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 177 | |||
| 178 | /* | ||
| 179 | * Feature disable options | ||
| 180 | * These options are also useful to firmware size reduction. | ||
| 181 | */ | ||
| 182 | |||
| 183 | /* disable debug print */ | ||
| 184 | //#define NO_DEBUG | ||
| 185 | |||
| 186 | /* disable print */ | ||
| 187 | //#define NO_PRINT | ||
| 188 | |||
| 189 | /* disable action features */ | ||
| 190 | //#define NO_ACTION_LAYER | ||
| 191 | //#define NO_ACTION_TAPPING | ||
| 192 | //#define NO_ACTION_ONESHOT | ||
| 193 | |||
| 194 | /* disable these deprecated features by default */ | ||
| 195 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
| 196 | #define NO_ACTION_MACRO | ||
| 197 | #define NO_ACTION_FUNCTION | ||
| 198 | #endif | ||
| 199 | /* | ||
| 200 | * MIDI options | ||
| 201 | */ | ||
| 202 | |||
| 203 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 204 | //#define MIDI_ENABLE_STRICT 1 | ||
| 205 | |||
| 206 | /* enable basic MIDI features: | ||
| 207 | - MIDI notes can be sent when in Music mode is on | ||
| 208 | */ | ||
| 209 | //#define MIDI_BASIC | ||
| 210 | |||
| 211 | /* enable advanced MIDI features: | ||
| 212 | - MIDI notes can be added to the keymap | ||
| 213 | - Octave shift and transpose | ||
| 214 | - Virtual sustain, portamento, and modulation wheel | ||
| 215 | - etc. | ||
| 216 | */ | ||
| 217 | //#define MIDI_ADVANCED | ||
| 218 | |||
| 219 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 220 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 221 | |||
| 222 | /* | ||
| 223 | * HD44780 LCD Display Configuration | ||
| 224 | */ | ||
| 225 | /* | ||
| 226 | #define LCD_LINES 2 //< number of visible lines of the display | ||
| 227 | #define LCD_DISP_LENGTH 16 //< visibles characters per line of the display | ||
| 228 | |||
| 229 | #define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode | ||
| 230 | |||
| 231 | #if LCD_IO_MODE | ||
| 232 | #define LCD_PORT PORTB //< port for the LCD lines | ||
| 233 | #define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0 | ||
| 234 | #define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1 | ||
| 235 | #define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2 | ||
| 236 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | ||
| 237 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | ||
| 238 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | ||
| 239 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | ||
| 240 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | ||
| 241 | #define LCD_RS_PORT LCD_PORT //< port for RS line | ||
| 242 | #define LCD_RS_PIN 3 //< pin for RS line | ||
| 243 | #define LCD_RW_PORT LCD_PORT //< port for RW line | ||
| 244 | #define LCD_RW_PIN 2 //< pin for RW line | ||
| 245 | #define LCD_E_PORT LCD_PORT //< port for Enable line | ||
| 246 | #define LCD_E_PIN 1 //< pin for Enable line | ||
| 247 | #endif | ||
| 248 | */ | ||
| 249 | |||
| 250 | /* Bootmagic Lite key configuration */ | ||
| 251 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 252 | #define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/allison/info.json b/keyboards/allison/info.json new file mode 100644 index 000000000..1c435a2d2 --- /dev/null +++ b/keyboards/allison/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "allison", | ||
| 3 | "url": "www.yiancar-designs.com", | ||
| 4 | "maintainer": "Yiancar", | ||
| 5 | "width": 16.25, | ||
| 6 | "height": 6.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_all": { | ||
| 9 | "layout": [{"label":"0,0", "x":1.25, "y":0}, {"label":"0,1", "x":2.5, "y":0}, {"label":"0,2", "x":3.5, "y":0}, {"label":"0,3", "x":4.5, "y":0}, {"label":"0,4", "x":5.5, "y":0}, {"label":"0,5", "x":6.75, "y":0}, {"label":"0,6", "x":7.75, "y":0}, {"label":"0,7", "x":8.75, "y":0}, {"label":"0,8", "x":9.75, "y":0}, {"label":"0,9", "x":11, "y":0}, {"label":"0,10", "x":12, "y":0}, {"label":"0,11", "x":13, "y":0}, {"label":"0,12", "x":14, "y":0}, {"label":"0,13", "x":15.25, "y":0}, {"label":"1,0", "x":0, "y":1.25}, {"label":"1,1", "x":1.25, "y":1.25}, {"label":"1,2", "x":2.25, "y":1.25}, {"label":"1,3", "x":3.25, "y":1.25}, {"label":"1,4", "x":4.25, "y":1.25}, {"label":"1,5", "x":5.25, "y":1.25}, {"label":"1,6", "x":6.25, "y":1.25}, {"label":"1,7", "x":7.25, "y":1.25}, {"label":"1,8", "x":8.25, "y":1.25}, {"label":"1,9", "x":9.25, "y":1.25}, {"label":"1,10", "x":10.25, "y":1.25}, {"label":"1,11", "x":11.25, "y":1.25}, {"label":"1,12", "x":12.25, "y":1.25}, {"label":"1,13", "x":13.25, "y":1.25}, {"label":"1,14", "x":14.25, "y":1.25}, {"label":"0,14", "x":15.25, "y":1.25}, {"label":"2,0", "x":0, "y":2.25}, {"label":"2,1", "x":1.25, "y":2.25, "w":1.5}, {"label":"2,2", "x":2.75, "y":2.25}, {"label":"2,3", "x":3.75, "y":2.25}, {"label":"2,4", "x":4.75, "y":2.25}, {"label":"2,5", "x":5.75, "y":2.25}, {"label":"2,6", "x":6.75, "y":2.25}, {"label":"2,7", "x":7.75, "y":2.25}, {"label":"2,8", "x":8.75, "y":2.25}, {"label":"2,9", "x":9.75, "y":2.25}, {"label":"2,10", "x":10.75, "y":2.25}, {"label":"2,11", "x":11.75, "y":2.25}, {"label":"2,12", "x":12.75, "y":2.25}, {"label":"2,13", "x":13.75, "y":2.25}, {"label":"2,14", "x":14.75, "y":2.25, "w":1.5}, {"label":"3,0", "x":0, "y":3.25}, {"label":"3,1", "x":1.25, "y":3.25, "w":1.75}, {"label":"3,2", "x":3, "y":3.25}, {"label":"3,3", "x":4, "y":3.25}, {"label":"3,4", "x":5, "y":3.25}, {"label":"3,5", "x":6, "y":3.25}, {"label":"3,6", "x":7, "y":3.25}, {"label":"3,7", "x":8, "y":3.25}, {"label":"3,8", "x":9, "y":3.25}, {"label":"3,9", "x":10, "y":3.25}, {"label":"3,10", "x":11, "y":3.25}, {"label":"3,11", "x":12, "y":3.25}, {"label":"3,12", "x":13, "y":3.25}, {"label":"3,13", "x":14, "y":3.25}, {"label":"3,14", "x":15, "y":3.25, "w":1.25}, {"label":"4,0", "x":0, "y":4.25}, {"label":"4,1", "x":1.25, "y":4.25, "w":1.25}, {"label":"4,2", "x":2.5, "y":4.25}, {"label":"4,3", "x":3.5, "y":4.25}, {"label":"4,4", "x":4.5, "y":4.25}, {"label":"4,5", "x":5.5, "y":4.25}, {"label":"4,6", "x":6.5, "y":4.25}, {"label":"4,7", "x":7.5, "y":4.25}, {"label":"4,8", "x":8.5, "y":4.25}, {"label":"4,9", "x":9.5, "y":4.25}, {"label":"4,10", "x":10.5, "y":4.25}, {"label":"4,11", "x":11.5, "y":4.25}, {"label":"4,12", "x":12.5, "y":4.25}, {"label":"4,13", "x":13.5, "y":4.25, "w":1.75}, {"label":"4,14", "x":15.25, "y":4.25}, {"label":"5,0", "x":0, "y":5.25}, {"label":"5,1", "x":1.25, "y":5.25, "w":1.5}, {"label":"5,2", "x":2.75, "y":5.25}, {"label":"5,3", "x":3.75, "y":5.25, "w":1.5}, {"label":"5,8", "x":5.25, "y":5.25, "w":7}, {"label":"5,12", "x":12.25, "y":5.25, "w":1.5}, {"label":"5,13", "x":13.75, "y":5.25}, {"label":"5,14", "x":14.75, "y":5.25, "w":1.5}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/allison/keymaps/default/keymap.c b/keyboards/allison/keymaps/default/keymap.c new file mode 100644 index 000000000..30fed354a --- /dev/null +++ b/keyboards/allison/keymaps/default/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2020 Yiancar | ||
| 2 | * | ||
| 3 | * This program 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 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program 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 program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_all( /* Base */ | ||
| 20 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, | ||
| 21 | KC_HOME, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL, | ||
| 22 | KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 23 | KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 24 | KC_END, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 25 | KC_LGUI, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_RCTL), | ||
| 26 | |||
| 27 | [1] = LAYOUT_all( /* FN1 */ | ||
| 28 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, BL_TOGG, BL_INC, BL_DEC, BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 34 | |||
| 35 | [2] = LAYOUT_all( /* Empty for dynamic keymaps */ | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 42 | |||
| 43 | [3] = LAYOUT_all( /* Empty for dynamic keymaps */ | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 50 | }; | ||
diff --git a/keyboards/allison/keymaps/default/readme.md b/keyboards/allison/keymaps/default/readme.md new file mode 100644 index 000000000..13f200dad --- /dev/null +++ b/keyboards/allison/keymaps/default/readme.md | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | # The default keymaps for Allison | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 |  | ||
| 6 | |||
| 7 |  | ||
diff --git a/keyboards/allison/keymaps/via/keymap.c b/keyboards/allison/keymaps/via/keymap.c new file mode 100644 index 000000000..30fed354a --- /dev/null +++ b/keyboards/allison/keymaps/via/keymap.c | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2020 Yiancar | ||
| 2 | * | ||
| 3 | * This program 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 2 of the License, or | ||
| 6 | * (at your option) any later version. | ||
| 7 | * | ||
| 8 | * This program 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 program. If not, see <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | #include QMK_KEYBOARD_H | ||
| 17 | |||
| 18 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 19 | [0] = LAYOUT_all( /* Base */ | ||
| 20 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_INS, | ||
| 21 | KC_HOME, KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_DEL, | ||
| 22 | KC_PGUP, KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSPC, | ||
| 23 | KC_PGDN, KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_NUHS, KC_ENT, | ||
| 24 | KC_END, KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1), | ||
| 25 | KC_LGUI, KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_APP, KC_RCTL), | ||
| 26 | |||
| 27 | [1] = LAYOUT_all( /* FN1 */ | ||
| 28 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 29 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 30 | KC_TRNS, KC_TRNS, KC_TRNS, KC_UP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 31 | KC_TRNS, KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, BL_TOGG, BL_INC, BL_DEC, BL_BRTG, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 33 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 34 | |||
| 35 | [2] = LAYOUT_all( /* Empty for dynamic keymaps */ | ||
| 36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 37 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 38 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 42 | |||
| 43 | [3] = LAYOUT_all( /* Empty for dynamic keymaps */ | ||
| 44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 46 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 47 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 48 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 49 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS), | ||
| 50 | }; | ||
diff --git a/keyboards/allison/keymaps/via/readme.md b/keyboards/allison/keymaps/via/readme.md new file mode 100644 index 000000000..b82bc8e79 --- /dev/null +++ b/keyboards/allison/keymaps/via/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # Compile with this keymap to use VIA | |||
diff --git a/keyboards/allison/keymaps/via/rules.mk b/keyboards/allison/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/allison/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/allison/readme.md b/keyboards/allison/readme.md new file mode 100644 index 000000000..343ff2325 --- /dev/null +++ b/keyboards/allison/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Allison | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A custom luxurious 60 with F-row and Macro | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [Yiancar](http://yiancar-designs.com/) and on [github](https://github.com/yiancar) | ||
| 8 | * Hardware Supported: ATmega32U4 | ||
| 9 | * Hardware Availability: Small production run by mrpetrov#9585 and [protoTypist](https://discord.gg/UvskpBB) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make allison:default | ||
| 14 | |||
| 15 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
diff --git a/keyboards/allison/rules.mk b/keyboards/allison/rules.mk new file mode 100644 index 000000000..3d524e478 --- /dev/null +++ b/keyboards/allison/rules.mk | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | # Teensy halfkay | ||
| 6 | # Pro Micro caterina | ||
| 7 | # Atmel DFU atmel-dfu | ||
| 8 | # LUFA DFU lufa-dfu | ||
| 9 | # QMK DFU qmk-dfu | ||
| 10 | # ATmega32A bootloadHID | ||
| 11 | # ATmega328P USBasp | ||
| 12 | BOOTLOADER = atmel-dfu | ||
| 13 | |||
| 14 | # Build Options | ||
| 15 | # change yes to no to disable | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration | ||
| 18 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
| 19 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
| 20 | CONSOLE_ENABLE = no # Console for debug | ||
| 21 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 22 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 23 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 24 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 25 | NKRO_ENABLE = yes # USB Nkey Rollover | ||
| 26 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 27 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 28 | MIDI_ENABLE = no # MIDI support | ||
| 29 | BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | ||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | ||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | ||
| 32 | HD44780_ENABLE = no # Enable support for HD44780 based LCDs | ||
