diff options
| author | worldspawn00 <mcmancuso@gmail.com> | 2020-02-07 21:42:29 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-02-07 19:42:29 -0800 |
| commit | dd6f92541d0a860c23d0f465cb45631c5097a2d1 (patch) | |
| tree | 9faf2b961bad60aeb165e5425a0b7df2ca51f0d5 /keyboards/walletburner | |
| parent | 610cf729af9e4499702b88091a2f06ec0235d0b4 (diff) | |
| download | qmk_firmware-dd6f92541d0a860c23d0f465cb45631c5097a2d1.tar.gz qmk_firmware-dd6f92541d0a860c23d0f465cb45631c5097a2d1.zip | |
[Keyboard] adding keyboard: neuron (#7980)
* neuron
* Update keyboards/walletburner/neuron/neuron.h
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/neuron.h
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/config.h
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/config.h
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/config.h
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/rules.mk
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/rules.mk
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/rules.mk
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/rules.mk
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/rules.mk
Co-Authored-By: ridingqwerty <george.g.koenig@gmail.com>
* Update keyboards/walletburner/neuron/readme.md
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/walletburner/neuron/readme.md
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Update keyboards/walletburner/neuron/readme.md
Co-Authored-By: Drashna Jaelre <drashna@live.com>
* Committed review suggestions
* Corrected bootloader to use atmel-dfu
* One last tweak to correct MANUFACTURER
Co-authored-by: ridingqwerty <george.g.koenig@gmail.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/walletburner')
| -rw-r--r-- | keyboards/walletburner/neuron/config.h | 50 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/info.json | 12 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/keymaps/default/keymap.c | 18 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/neuron.c | 1 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/neuron.h | 16 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/walletburner/neuron/rules.mk | 26 |
7 files changed, 138 insertions, 0 deletions
diff --git a/keyboards/walletburner/neuron/config.h b/keyboards/walletburner/neuron/config.h new file mode 100644 index 000000000..0671200db --- /dev/null +++ b/keyboards/walletburner/neuron/config.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "config_common.h" | ||
| 4 | |||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xFEED | ||
| 7 | #define PRODUCT_ID 0x62AC | ||
| 8 | #define DEVICE_VER 0x0001 | ||
| 9 | #define MANUFACTURER Walletburner | ||
| 10 | #define PRODUCT Neuron | ||
| 11 | #define DESCRIPTION Keyboard | ||
| 12 | |||
| 13 | /* key matrix size */ | ||
| 14 | #define MATRIX_ROWS 4 | ||
| 15 | #define MATRIX_COLS 12 | ||
| 16 | |||
| 17 | /* key matrix pins */ | ||
| 18 | #define MATRIX_ROW_PINS { D0, D1, D3, F5 } | ||
| 19 | #define MATRIX_COL_PINS { F0, F7, F6, F4, F1, E6, D6, D2, B4, D7, B6, D5 } | ||
| 20 | #define UNUSED_PINS | ||
| 21 | |||
| 22 | /* COL2ROW or ROW2COL */ | ||
| 23 | #define DIODE_DIRECTION COL2ROW | ||
| 24 | |||
| 25 | /* number of backlight levels */ | ||
| 26 | |||
| 27 | #define BACKLIGHT_PIN B5 | ||
| 28 | #ifdef BACKLIGHT_PIN | ||
| 29 | #define BACKLIGHT_LEVELS 3 | ||
| 30 | #endif | ||
| 31 | |||
| 32 | /* Set 0 if debouncing isn't needed */ | ||
| 33 | #define DEBOUNCE 5 | ||
| 34 | |||
| 35 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 36 | #define LOCKING_SUPPORT_ENABLE | ||
| 37 | |||
| 38 | /* Locking resynchronize hack */ | ||
| 39 | #define LOCKING_RESYNC_ENABLE | ||
| 40 | |||
| 41 | |||
| 42 | #define RGB_DI_PIN B1 | ||
| 43 | #ifdef RGB_DI_PIN | ||
| 44 | #define RGBLIGHT_ANIMATIONS | ||
| 45 | #define RGBLED_NUM 1 | ||
| 46 | #define RGBLIGHT_HUE_STEP 8 | ||
| 47 | #define RGBLIGHT_SAT_STEP 8 | ||
| 48 | #define RGBLIGHT_VAL_STEP 8 | ||
| 49 | #endif | ||
| 50 | |||
diff --git a/keyboards/walletburner/neuron/info.json b/keyboards/walletburner/neuron/info.json new file mode 100644 index 000000000..4ea4bcb94 --- /dev/null +++ b/keyboards/walletburner/neuron/info.json | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "Neuron", | ||
| 3 | "url": "https://qmk.fm/keyboards/", | ||
| 4 | "maintainer": "worldspawn00", | ||
| 5 | "width": 12, | ||
| 6 | "height": 4, | ||
| 7 | "layouts": { | ||
| 8 | "LAYOUT": { | ||
| 9 | "layout": [{"label":"Esc", "x":0, "y":0}, {"label":"Q", "x":1, "y":0}, {"label":"W", "x":2, "y":0}, {"label":"E", "x":3, "y":0}, {"label":"R", "x":4, "y":0}, {"label":"T", "x":5, "y":0}, {"label":"Y", "x":6, "y":0}, {"label":"U", "x":7, "y":0}, {"label":"I", "x":8, "y":0}, {"label":"O\u2191", "x":9, "y":0}, {"label":"P", "x":10, "y":0}, {"label":"Back<br>Space", "x":11, "y":0}, {"label":"Ctrl", "x":0, "y":1, "w":1.25}, {"label":"A", "x":1.25, "y":1}, {"label":"S", "x":2.25, "y":1}, {"label":"D", "x":3.25, "y":1}, {"label":"F", "x":4.25, "y":1}, {"label":"G", "x":5.25, "y":1}, {"label":"H", "x":6.25, "y":1}, {"label":"J", "x":7.25, "y":1}, {"label":"K\u2190", "x":8.25, "y":1}, {"label":"L\u2192", "x":9.25, "y":1}, {"label":"Enter", "x":10.25, "y":1, "w":1.75}, {"label":"Shift", "x":0, "y":2, "w":1.75}, {"label":"Z", "x":1.75, "y":2}, {"label":"X", "x":2.75, "y":2}, {"label":"C", "x":3.75, "y":2}, {"label":"V", "x":4.75, "y":2}, {"label":"B", "x":5.75, "y":2}, {"label":"N", "x":6.75, "y":2}, {"label":"M", "x":7.75, "y":2}, {"label":"<\u2193,", "x":8.75, "y":2}, {"label":">.", "x":9.75, "y":2}, {"label":"Fn", "x":10.75, "y":2, "w":1.25}, {"label":"Super", "x":1, "y":3}, {"label":"Meta", "x":2, "y":3, "w":1.5}, {"x":3.5, "y":3, "w":2.25}, {"x":5.75, "y":3, "w":2.75}, {"label":"Meta", "x":8.5, "y":3, "w":1.5}, {"label":"Alt Gr", "x":10, "y":3}] | ||
| 10 | } | ||
| 11 | } | ||
| 12 | } \ No newline at end of file | ||
diff --git a/keyboards/walletburner/neuron/keymaps/default/keymap.c b/keyboards/walletburner/neuron/keymaps/default/keymap.c new file mode 100644 index 000000000..e2c1dcf01 --- /dev/null +++ b/keyboards/walletburner/neuron/keymaps/default/keymap.c | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | #include QMK_KEYBOARD_H | ||
| 2 | |||
| 3 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 4 | |||
| 5 | [0] = LAYOUT( | ||
| 6 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
| 7 | KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
| 8 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1), | ||
| 9 | KC_LGUI, KC_RALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI), | ||
| 10 | |||
| 11 | [1] = LAYOUT( | ||
| 12 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 13 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 14 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
| 15 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||
| 16 | |||
| 17 | }; | ||
| 18 | |||
diff --git a/keyboards/walletburner/neuron/neuron.c b/keyboards/walletburner/neuron/neuron.c new file mode 100644 index 000000000..b6ca44bd7 --- /dev/null +++ b/keyboards/walletburner/neuron/neuron.c | |||
| @@ -0,0 +1 @@ | |||
| #include "neuron.h" | |||
diff --git a/keyboards/walletburner/neuron/neuron.h b/keyboards/walletburner/neuron/neuron.h new file mode 100644 index 000000000..b224260d2 --- /dev/null +++ b/keyboards/walletburner/neuron/neuron.h | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include "quantum.h" | ||
| 4 | |||
| 5 | #define LAYOUT( \ | ||
| 6 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||
| 7 | K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K111, \ | ||
| 8 | K200, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||
| 9 | K301, K302, K303, K306, K308, K310, K311 \ | ||
| 10 | ) { \ | ||
| 11 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011 }, \ | ||
| 12 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, KC_NO, K111 }, \ | ||
| 13 | { K200, KC_NO, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211 }, \ | ||
| 14 | { KC_NO, K301, K302, K303, KC_NO, KC_NO, K306, KC_NO, K308, KC_NO, K310, K311 } \ | ||
| 15 | } | ||
| 16 | |||
diff --git a/keyboards/walletburner/neuron/readme.md b/keyboards/walletburner/neuron/readme.md new file mode 100644 index 000000000..d33c561a6 --- /dev/null +++ b/keyboards/walletburner/neuron/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # Neuron | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | The Neuron is a 12 column staggered 40% keyboard. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [worldspawn00](https://github.com/worldspawn00/) | ||
| 8 | * Hardware Supported: The Neuron PCB and kit. | ||
| 9 | * Hardware Availability: [PCB & Kit](https://geekhack.org/index.php?topic=102681.0) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make walletburner/neuron: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/walletburner/neuron/rules.mk b/keyboards/walletburner/neuron/rules.mk new file mode 100644 index 000000000..ae77f0a0e --- /dev/null +++ b/keyboards/walletburner/neuron/rules.mk | |||
| @@ -0,0 +1,26 @@ | |||
| 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 | # comment out to disable the options. | ||
| 16 | # | ||
| 17 | BOOTMAGIC_ENABLE = yes # 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 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 23 | NKRO_ENABLE = yes # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 24 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
| 25 | AUDIO_ENABLE = no | ||
| 26 | RGBLIGHT_ENABLE = yes | ||
