[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>
This commit is contained in:
		
							
								
								
									
										50
									
								
								keyboards/walletburner/neuron/config.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										50
									
								
								keyboards/walletburner/neuron/config.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,50 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "config_common.h" | ||||
|  | ||||
| /* USB Device descriptor parameter */ | ||||
| #define VENDOR_ID       0xFEED | ||||
| #define PRODUCT_ID      0x62AC | ||||
| #define DEVICE_VER      0x0001 | ||||
| #define MANUFACTURER    Walletburner | ||||
| #define PRODUCT         Neuron | ||||
| #define DESCRIPTION     Keyboard | ||||
|  | ||||
| /* key matrix size */ | ||||
| #define MATRIX_ROWS 4 | ||||
| #define MATRIX_COLS 12 | ||||
|  | ||||
| /* key matrix pins */ | ||||
| #define MATRIX_ROW_PINS { D0, D1, D3, F5 } | ||||
| #define MATRIX_COL_PINS { F0, F7, F6, F4, F1, E6, D6, D2, B4, D7, B6, D5 } | ||||
| #define UNUSED_PINS | ||||
|  | ||||
| /* COL2ROW or ROW2COL */ | ||||
| #define DIODE_DIRECTION COL2ROW | ||||
|  | ||||
| /* number of backlight levels */ | ||||
|  | ||||
| #define BACKLIGHT_PIN B5 | ||||
| #ifdef BACKLIGHT_PIN | ||||
| #define BACKLIGHT_LEVELS 3 | ||||
| #endif | ||||
|  | ||||
| /* Set 0 if debouncing isn't needed */ | ||||
| #define DEBOUNCE 5 | ||||
|  | ||||
| /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||||
| #define LOCKING_SUPPORT_ENABLE | ||||
|  | ||||
| /* Locking resynchronize hack */ | ||||
| #define LOCKING_RESYNC_ENABLE | ||||
|  | ||||
|  | ||||
| #define RGB_DI_PIN B1 | ||||
| #ifdef RGB_DI_PIN | ||||
| #define RGBLIGHT_ANIMATIONS | ||||
| #define RGBLED_NUM 1 | ||||
| #define RGBLIGHT_HUE_STEP 8 | ||||
| #define RGBLIGHT_SAT_STEP 8 | ||||
| #define RGBLIGHT_VAL_STEP 8 | ||||
| #endif | ||||
|  | ||||
							
								
								
									
										12
									
								
								keyboards/walletburner/neuron/info.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								keyboards/walletburner/neuron/info.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| { | ||||
|     "keyboard_name": "Neuron",  | ||||
|     "url": "https://qmk.fm/keyboards/",  | ||||
|     "maintainer": "worldspawn00",  | ||||
|     "width": 12,  | ||||
|     "height": 4,  | ||||
|     "layouts": { | ||||
|         "LAYOUT": { | ||||
|             "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}] | ||||
|         } | ||||
|     } | ||||
| } | ||||
							
								
								
									
										18
									
								
								keyboards/walletburner/neuron/keymaps/default/keymap.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								keyboards/walletburner/neuron/keymaps/default/keymap.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,18 @@ | ||||
| #include QMK_KEYBOARD_H | ||||
|  | ||||
| const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||||
|  | ||||
| 	[0] = LAYOUT( | ||||
| 		KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,  | ||||
| 		KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT,  | ||||
| 		KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, MO(1),  | ||||
| 		KC_LGUI, KC_RALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI), | ||||
|  | ||||
| 	[1] = LAYOUT( | ||||
| 		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, 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, KC_TRNS, KC_TRNS,  | ||||
| 		KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS) | ||||
|  | ||||
| }; | ||||
|  | ||||
							
								
								
									
										1
									
								
								keyboards/walletburner/neuron/neuron.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								keyboards/walletburner/neuron/neuron.c
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| #include "neuron.h" | ||||
							
								
								
									
										16
									
								
								keyboards/walletburner/neuron/neuron.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								keyboards/walletburner/neuron/neuron.h
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| #pragma once | ||||
|  | ||||
| #include "quantum.h" | ||||
|  | ||||
| #define LAYOUT( \ | ||||
| 	K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, \ | ||||
| 	K100, K101, K102, K103, K104, K105, K106, K107, K108, K109,       K111, \ | ||||
| 	K200,       K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, \ | ||||
| 	      K301, K302, K303,             K306,       K308,       K310, K311  \ | ||||
| ) { \ | ||||
| 	{ K000,  K001,  K002,  K003,  K004,  K005,  K006,  K007,  K008,  K009,  K010,  K011 }, \ | ||||
| 	{ K100,  K101,  K102,  K103,  K104,  K105,  K106,  K107,  K108,  K109,  KC_NO, K111 }, \ | ||||
| 	{ K200,  KC_NO, K202,  K203,  K204,  K205,  K206,  K207,  K208,  K209,  K210,  K211 }, \ | ||||
| 	{ KC_NO, K301,  K302,  K303,  KC_NO, KC_NO, K306,  KC_NO, K308, KC_NO, K310,  K311 }  \ | ||||
| } | ||||
|  | ||||
							
								
								
									
										15
									
								
								keyboards/walletburner/neuron/readme.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								keyboards/walletburner/neuron/readme.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| # Neuron | ||||
|  | ||||
|    | ||||
|  | ||||
| The Neuron is a 12 column staggered 40% keyboard.   | ||||
|  | ||||
| * Keyboard Maintainer: [worldspawn00](https://github.com/worldspawn00/)   | ||||
| * Hardware Supported: The Neuron PCB and kit.   | ||||
| * Hardware Availability: [PCB & Kit](https://geekhack.org/index.php?topic=102681.0)   | ||||
|  | ||||
| Make example for this keyboard (after setting up your build environment): | ||||
|  | ||||
|     make walletburner/neuron:default | ||||
|  | ||||
| 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). | ||||
							
								
								
									
										26
									
								
								keyboards/walletburner/neuron/rules.mk
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										26
									
								
								keyboards/walletburner/neuron/rules.mk
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,26 @@ | ||||
| # MCU name | ||||
| MCU = atmega32u4 | ||||
|  | ||||
| # Bootloader selection | ||||
| #   Teensy       halfkay | ||||
| #   Pro Micro    caterina | ||||
| #   Atmel DFU    atmel-dfu | ||||
| #   LUFA DFU     lufa-dfu | ||||
| #   QMK DFU      qmk-dfu | ||||
| #   ATmega32A    bootloadHID | ||||
| #   ATmega328P   USBasp | ||||
| BOOTLOADER = atmel-dfu | ||||
|  | ||||
| # Build Options | ||||
| #   comment out to disable the options. | ||||
| # | ||||
| BOOTMAGIC_ENABLE = yes # Virtual DIP switch configuration | ||||
| MOUSEKEY_ENABLE = yes  # Mouse keys | ||||
| EXTRAKEY_ENABLE = yes  # Audio control and System control | ||||
| CONSOLE_ENABLE = no    # Console for debug | ||||
| COMMAND_ENABLE = no    # Commands for debug and configuration | ||||
| SLEEP_LED_ENABLE = no  # Breathing sleep LED during USB suspend | ||||
| NKRO_ENABLE = yes      # USB Nkey Rollover - if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||||
| BACKLIGHT_ENABLE = no  # Enable keyboard backlight functionality | ||||
| AUDIO_ENABLE = no | ||||
| RGBLIGHT_ENABLE = yes | ||||
		Reference in New Issue
	
	Block a user