diff options
| author | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-11-27 18:50:35 -0800 |
|---|---|---|
| committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2019-11-27 18:50:35 -0800 |
| commit | 99a58aa2b8d1e03fe5caa63c64445af6bd64f0b4 (patch) | |
| tree | 7a520253b5dd192d54315f65c376bdaffce0748f | |
| parent | 4ae87ab40aa9d7c0c13aef77038e5b3ba3eb1dfc (diff) | |
| download | qmk_firmware-99a58aa2b8d1e03fe5caa63c64445af6bd64f0b4.tar.gz qmk_firmware-99a58aa2b8d1e03fe5caa63c64445af6bd64f0b4.zip | |
[Keyboard] New Keyboard: J-01 (#7494)
* initial commit
* create the appropriate LAYOUT macro
* ANSI FOREVER
* Update keyboards/jae/j01/config.h
Changing it to use the Esc key for bootmagic lite
* Update keyboards/jae/j01/readme.md
* Update keyboards/jae/j01/readme.md
* Update keyboards/jae/j01/info.json
* Update keyboards/jae/j01/readme.md
* Update keyboards/jae/j01/info.json
* remove file as per fauxpark comments
| -rw-r--r-- | keyboards/jae/j01/config.h | 225 | ||||
| -rw-r--r-- | keyboards/jae/j01/info.json | 12 | ||||
| -rw-r--r-- | keyboards/jae/j01/j01.c | 52 | ||||
| -rw-r--r-- | keyboards/jae/j01/j01.h | 46 | ||||
| -rw-r--r-- | keyboards/jae/j01/keymaps/default/keymap.c | 35 | ||||
| -rw-r--r-- | keyboards/jae/j01/keymaps/default/readme.md | 1 | ||||
| -rw-r--r-- | keyboards/jae/j01/readme.md | 13 | ||||
| -rw-r--r-- | keyboards/jae/j01/rules.mk | 32 |
8 files changed, 416 insertions, 0 deletions
diff --git a/keyboards/jae/j01/config.h b/keyboards/jae/j01/config.h new file mode 100644 index 000000000..8faa651aa --- /dev/null +++ b/keyboards/jae/j01/config.h | |||
| @@ -0,0 +1,225 @@ | |||
| 1 | /* | ||
| 2 | Copyright 2019 Maarten Dekkers <maartenwut@gmail.com> | ||
| 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 0x4705 | ||
| 24 | #define PRODUCT_ID 0x0143 | ||
| 25 | #define DEVICE_VER 0x0001 | ||
| 26 | #define MANUFACTURER Maartenwut | ||
| 27 | #define PRODUCT J-01 | ||
| 28 | #define DESCRIPTION A custom 65%ish keyboard | ||
| 29 | |||
| 30 | /* key matrix size */ | ||
| 31 | #define MATRIX_ROWS 5 | ||
| 32 | #define MATRIX_COLS 17 | ||
| 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 | |||
| 45 | #define MATRIX_ROW_PINS {B2, B1, B3, B0, D0} | ||
| 46 | #define MATRIX_COL_PINS {D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6, F5, F4, F1} | ||
| 47 | #define UNUSED_PINS | ||
| 48 | |||
| 49 | /* COL2ROW, ROW2COL*/ | ||
| 50 | #define DIODE_DIRECTION COL2ROW | ||
| 51 | |||
| 52 | /* | ||
| 53 | * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN. | ||
| 54 | */ | ||
| 55 | #define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6 | ||
| 56 | |||
| 57 | #define BACKLIGHT_PIN B7 | ||
| 58 | #define BACKLIGHT_BREATHING | ||
| 59 | #define BACKLIGHT_LEVELS 4 | ||
| 60 | |||
| 61 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 62 | #define DEBOUNCE 5 | ||
| 63 | |||
| 64 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 65 | //#define MATRIX_HAS_GHOST | ||
| 66 | |||
| 67 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 68 | #define LOCKING_SUPPORT_ENABLE | ||
| 69 | /* Locking resynchronize hack */ | ||
| 70 | #define LOCKING_RESYNC_ENABLE | ||
| 71 | |||
| 72 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 73 | * This is userful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 74 | */ | ||
| 75 | // #define GRAVE_ESC_CTRL_OVERRIDE | ||
| 76 | |||
| 77 | /* | ||
| 78 | * Force NKRO | ||
| 79 | * | ||
| 80 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 81 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 82 | * makefile for this to work.) | ||
| 83 | * | ||
| 84 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 85 | * until the next keyboard reset. | ||
| 86 | * | ||
| 87 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 88 | * fully operational during normal computer usage. | ||
| 89 | * | ||
| 90 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 91 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 92 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 93 | * power-up. | ||
| 94 | * | ||
| 95 | */ | ||
| 96 | //#define FORCE_NKRO | ||
| 97 | |||
| 98 | /* | ||
| 99 | * Magic Key Options | ||
| 100 | * | ||
| 101 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 102 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 103 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 104 | * | ||
| 105 | * The options below allow the magic key functionality to be changed. This is | ||
| 106 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 107 | * | ||
| 108 | */ | ||
| 109 | |||
| 110 | /* key combination for magic key command */ | ||
| 111 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 112 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 113 | |||
| 114 | /* control how magic key switches layers */ | ||
| 115 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 116 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 117 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 118 | |||
| 119 | /* override magic key keymap */ | ||
| 120 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 121 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 122 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 123 | //#define MAGIC_KEY_HELP H | ||
| 124 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 125 | //#define MAGIC_KEY_DEBUG D | ||
| 126 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 127 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 128 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 129 | //#define MAGIC_KEY_VERSION V | ||
| 130 | //#define MAGIC_KEY_STATUS S | ||
| 131 | //#define MAGIC_KEY_CONSOLE C | ||
| 132 | //#define MAGIC_KEY_LAYER0 0 | ||
| 133 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 134 | //#define MAGIC_KEY_LAYER1 1 | ||
| 135 | //#define MAGIC_KEY_LAYER2 2 | ||
| 136 | //#define MAGIC_KEY_LAYER3 3 | ||
| 137 | //#define MAGIC_KEY_LAYER4 4 | ||
| 138 | //#define MAGIC_KEY_LAYER5 5 | ||
| 139 | //#define MAGIC_KEY_LAYER6 6 | ||
| 140 | //#define MAGIC_KEY_LAYER7 7 | ||
| 141 | //#define MAGIC_KEY_LAYER8 8 | ||
| 142 | //#define MAGIC_KEY_LAYER9 9 | ||
| 143 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 144 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 145 | //#define MAGIC_KEY_LOCK CAPS | ||
| 146 | //#define MAGIC_KEY_EEPROM E | ||
| 147 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 148 | //#define MAGIC_KEY_NKRO N | ||
| 149 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 150 | |||
| 151 | /* | ||
| 152 | * Feature disable options | ||
| 153 | * These options are also useful to firmware size reduction. | ||
| 154 | */ | ||
| 155 | |||
| 156 | /* disable debug print */ | ||
| 157 | //#define NO_DEBUG | ||
| 158 | |||
| 159 | /* disable print */ | ||
| 160 | //#define NO_PRINT | ||
| 161 | |||
| 162 | /* disable action features */ | ||
| 163 | //#define NO_ACTION_LAYER | ||
| 164 | //#define NO_ACTION_TAPPING | ||
| 165 | //#define NO_ACTION_ONESHOT | ||
| 166 | |||
| 167 | /* disable these deprecated features by default */ | ||
| 168 | #ifndef LINK_TIME_OPTIMIZATION_ENABLE | ||
| 169 | #define NO_ACTION_MACRO | ||
| 170 | #define NO_ACTION_FUNCTION | ||
| 171 | #endif | ||
| 172 | /* | ||
| 173 | * MIDI options | ||
| 174 | */ | ||
| 175 | |||
| 176 | /* Prevent use of disabled MIDI features in the keymap */ | ||
| 177 | //#define MIDI_ENABLE_STRICT 1 | ||
| 178 | |||
| 179 | /* enable basic MIDI features: | ||
| 180 | - MIDI notes can be sent when in Music mode is on | ||
| 181 | */ | ||
| 182 | //#define MIDI_BASIC | ||
| 183 | |||
| 184 | /* enable advanced MIDI features: | ||
| 185 | - MIDI notes can be added to the keymap | ||
| 186 | - Octave shift and transpose | ||
| 187 | - Virtual sustain, portamento, and modulation wheel | ||
| 188 | - etc. | ||
| 189 | */ | ||
| 190 | //#define MIDI_ADVANCED | ||
| 191 | |||
| 192 | /* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */ | ||
| 193 | //#define MIDI_TONE_KEYCODE_OCTAVES 1 | ||
| 194 | |||
| 195 | /* | ||
| 196 | * HD44780 LCD Display Configuration | ||
| 197 | */ | ||
| 198 | /* | ||
| 199 | #define LCD_LINES 2 //< number of visible lines of the display | ||
| 200 | #define LCD_DISP_LENGTH 16 //< visibles characters per line of the display | ||
| 201 | |||
| 202 | #define LCD_IO_MODE 1 //< 0: memory mapped mode, 1: IO port mode | ||
| 203 | |||
| 204 | #if LCD_IO_MODE | ||
| 205 | #define LCD_PORT PORTB //< port for the LCD lines | ||
| 206 | #define LCD_DATA0_PORT LCD_PORT //< port for 4bit data bit 0 | ||
| 207 | #define LCD_DATA1_PORT LCD_PORT //< port for 4bit data bit 1 | ||
| 208 | #define LCD_DATA2_PORT LCD_PORT //< port for 4bit data bit 2 | ||
| 209 | #define LCD_DATA3_PORT LCD_PORT //< port for 4bit data bit 3 | ||
| 210 | #define LCD_DATA0_PIN 4 //< pin for 4bit data bit 0 | ||
| 211 | #define LCD_DATA1_PIN 5 //< pin for 4bit data bit 1 | ||
| 212 | #define LCD_DATA2_PIN 6 //< pin for 4bit data bit 2 | ||
| 213 | #define LCD_DATA3_PIN 7 //< pin for 4bit data bit 3 | ||
| 214 | #define LCD_RS_PORT LCD_PORT //< port for RS line | ||
| 215 | #define LCD_RS_PIN 3 //< pin for RS line | ||
| 216 | #define LCD_RW_PORT LCD_PORT //< port for RW line | ||
| 217 | #define LCD_RW_PIN 2 //< pin for RW line | ||
| 218 | #define LCD_E_PORT LCD_PORT //< port for Enable line | ||
| 219 | #define LCD_E_PIN 1 //< pin for Enable line | ||
| 220 | #endif | ||
| 221 | */ | ||
| 222 | |||
| 223 | /* Bootmagic Lite key configuration */ | ||
| 224 | #define BOOTMAGIC_LITE_ROW 0 | ||
| 225 | #define BOOTMAGIC_LITE_COLUMN 2 | ||
diff --git a/keyboards/jae/j01/info.json b/keyboards/jae/j01/info.json new file mode 100644 index 000000000..3e51d4373 --- /dev/null +++ b/keyboards/jae/j01/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "J01", | ||
| 3 | "url": "", | ||
| 4 | "maintainer": "MechMerlin", | ||
| 5 | "width": 19, | ||
| 6 | "height": 5.25, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT_ansi": { | ||
| 9 | "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2.5, "y":0}, {"x":3.5, "y":0}, {"x":4.5, "y":0}, {"x":5.5, "y":0}, {"x":6.5, "y":0}, {"x":7.5, "y":0}, {"x":8.5, "y":0}, {"x":9.5, "y":0}, {"x":10.5, "y":0}, {"x":11.5, "y":0}, {"x":12.5, "y":0}, {"x":13.5, "y":0}, {"x":14.5, "y":0}, {"x":15.5, "y":0}, {"x":16.5, "y":0}, {"x":18, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2.5, "y":1, "w":1.5}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":14, "y":1}, {"x":15, "y":1}, {"x":16, "y":1, "w":1.5}, {"x":18, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2.5, "y":2, "w":1.75}, {"x":4.25, "y":2}, {"x":5.25, "y":2}, {"x":6.25, "y":2}, {"x":7.25, "y":2}, {"x":8.25, "y":2}, {"x":9.25, "y":2}, {"x":10.25, "y":2}, {"x":11.25, "y":2}, {"x":12.25, "y":2}, {"x":13.25, "y":2}, {"x":14.25, "y":2}, {"x":15.25, "y":2, "w":2.25}, {"x":18, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2.5, "y":3, "w":2.25}, {"x":4.75, "y":3}, {"x":5.75, "y":3}, {"x":6.75, "y":3}, {"x":7.75, "y":3}, {"x":8.75, "y":3}, {"x":9.75, "y":3}, {"x":10.75, "y":3}, {"x":11.75, "y":3}, {"x":12.75, "y":3}, {"x":13.75, "y":3}, {"x":14.75, "y":3, "w":1.75}, {"x":16.75, "y":3.25}, {"x":18, "y":3}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":1.25}, {"x":5, "y":4, "w":1.25}, {"x":6.25, "y":4, "w":6.25}, {"x":12.5, "y":4, "w":1.5}, {"x":14, "y":4, "w":1.5}, {"x":15.75, "y":4.25}, {"x":16.75, "y":4.25}, {"x":17.75, "y":4.25}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } | ||
diff --git a/keyboards/jae/j01/j01.c b/keyboards/jae/j01/j01.c new file mode 100644 index 000000000..a72279b35 --- /dev/null +++ b/keyboards/jae/j01/j01.c | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* Copyright Maarten Dekkers <maartenwut@gmail.com> | ||
| 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 "j01.h" | ||
| 18 | |||
| 19 | // Optional override functions below. | ||
| 20 | // You can leave any or all of these undefined. | ||
| 21 | // These are only required if you want to perform custom actions. | ||
| 22 | |||
| 23 | |||
| 24 | void matrix_init_kb(void) { | ||
| 25 | // put your keyboard start-up code here | ||
| 26 | // runs once when the firmware starts up | ||
| 27 | |||
| 28 | matrix_init_user(); | ||
| 29 | setPinOutput(E6); | ||
| 30 | } | ||
| 31 | |||
| 32 | void matrix_scan_kb(void) { | ||
| 33 | // put your looping keyboard code here | ||
| 34 | // runs every cycle (a lot) | ||
| 35 | |||
| 36 | matrix_scan_user(); | ||
| 37 | } | ||
| 38 | |||
| 39 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 40 | // put your per-action keyboard code here | ||
| 41 | // runs for every action, just before processing by the firmware | ||
| 42 | |||
| 43 | return process_record_user(keycode, record); | ||
| 44 | } | ||
| 45 | |||
| 46 | bool led_update_kb(led_t led_state) { | ||
| 47 | if(led_update_user(led_state)) { | ||
| 48 | writePin(E6, !led_state.caps_lock); | ||
| 49 | } | ||
| 50 | |||
| 51 | return true; | ||
| 52 | } | ||
diff --git a/keyboards/jae/j01/j01.h b/keyboards/jae/j01/j01.h new file mode 100644 index 000000000..d322b7645 --- /dev/null +++ b/keyboards/jae/j01/j01.h | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | /* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com> | ||
| 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 | |||
| 30 | #define XXX KC_NO | ||
| 31 | |||
| 32 | #define LAYOUT_ansi( \ | ||
| 33 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k1f, k0g, \ | ||
| 34 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k2e, k1g, \ | ||
| 35 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2f, k2g, \ | ||
| 36 | k30, k31, k32, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3g, \ | ||
| 37 | k42, k43, k44, k48, k4c, k4d, k4e, k4f, k4g \ | ||
| 38 | ) \ | ||
| 39 | { \ | ||
| 40 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g}, \ | ||
| 41 | {k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g}, \ | ||
| 42 | {k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g}, \ | ||
| 43 | {k30, k31, k32, XXX, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, k3e, k3f, k3g}, \ | ||
| 44 | {XXX, XXX, k42, k43, k44, XXX, XXX, XXX, k48, XXX, XXX, XXX, k4c, k4d, k4e, k4f, k4g} \ | ||
| 45 | } | ||
| 46 | |||
diff --git a/keyboards/jae/j01/keymaps/default/keymap.c b/keyboards/jae/j01/keymaps/default/keymap.c new file mode 100644 index 000000000..edb195b27 --- /dev/null +++ b/keyboards/jae/j01/keymaps/default/keymap.c | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | /* Copyright 2019 Maarten Dekkers <maartenwut@gmail.com> | ||
| 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 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_ansi( | ||
| 22 | KC_F1, KC_F2, KC_ESC, 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_BSPC, KC_GRV, KC_DEL, \ | ||
| 23 | KC_F3, KC_F4, 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_BSLS, KC_PGUP, \ | ||
| 24 | KC_F5, KC_F6, 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_ENT, KC_PGDN, \ | ||
| 25 | KC_F7, KC_F8, KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, MO(1), \ | ||
| 26 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT), | ||
| 27 | |||
| 28 | [1] = LAYOUT_ansi( | ||
| 29 | KC_TRNS, KC_TRNS, 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, KC_TRNS, KC_TRNS, \ | ||
| 30 | KC_TRNS, KC_TRNS, BL_TOGG, BL_INC, BL_STEP, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_HOME, \ | ||
| 31 | KC_TRNS, KC_TRNS, BL_BRTG, BL_DEC, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_END, \ | ||
| 32 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MUTE, KC_VOLD, KC_VOLU, 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, KC_TRNS), | ||
| 34 | }; | ||
| 35 | |||
diff --git a/keyboards/jae/j01/keymaps/default/readme.md b/keyboards/jae/j01/keymaps/default/readme.md new file mode 100644 index 000000000..cd7209ec7 --- /dev/null +++ b/keyboards/jae/j01/keymaps/default/readme.md | |||
| @@ -0,0 +1 @@ | |||
| # The default keymap for j01 | |||
diff --git a/keyboards/jae/j01/readme.md b/keyboards/jae/j01/readme.md new file mode 100644 index 000000000..8ed94f04f --- /dev/null +++ b/keyboards/jae/j01/readme.md | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | # J-01 | ||
| 2 | |||
| 3 | A 65% with the arrow keys and right most column exploded away, with macro keys on the left hand side. Only 15 manufactured. | ||
| 4 | |||
| 5 | * Keyboard Maintainer: [Maartenwut](https://github.com/maartenwut) | ||
| 6 | * Hardware Supported: J-01 PCB | ||
| 7 | * Hardware Availability: Private Group Buy and [Charity Raffle](https://novelkeys.xyz/collections/frontpage/products/j-01-raffle-ticket) | ||
| 8 | |||
| 9 | Make example for this keyboard (after setting up your build environment): | ||
| 10 | |||
| 11 | make jae/j01:default | ||
| 12 | |||
| 13 | 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/jae/j01/rules.mk b/keyboards/jae/j01/rules.mk new file mode 100644 index 000000000..b45d822c0 --- /dev/null +++ b/keyboards/jae/j01/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 = yes # Console for debug | ||
| 21 | COMMAND_ENABLE = yes # 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 = no # 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 | ||
