[Keyboard] Add Work Louder Numpad (#18912)
* [Keyboard] Add Work Louder Numpad * Add future proofing for rgb matrix * Update readme * fixup copyright headers * Actually enable viamaster
parent
7fe76e53c1
commit
e3a97eb1c8
|
@ -0,0 +1,33 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
|
||||
// #define RGB_DI_PIN D1
|
||||
#define DRIVER_LED_TOTAL 16
|
||||
#define RGB_MATRIX_LED_COUNT DRIVER_LED_TOTAL
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||
#define RGB_MATRIX_DISABLE_KEYCODES
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
||||
#define RGBLIGHT_DI_PIN D2
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9
|
||||
#define RGBLIGHT_DEFAULT_HUE 213
|
|
@ -0,0 +1,92 @@
|
|||
{
|
||||
"manufacturer": "Work Louder",
|
||||
"keyboard_name": "numpad",
|
||||
"maintainer": "Drashna Jael're",
|
||||
"bootloader": "atmel-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgblight": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "C6", "C7"],
|
||||
"rows": ["F1", "F4", "F5", "F6"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"url": "https://worklouder.cc",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x99EB",
|
||||
"vid": "0x574C"
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"layout": [
|
||||
{ "flags": 1, "matrix": [3, 3], "x": 141, "y": 64 },
|
||||
{ "flags": 1, "matrix": [3, 2], "x": 122, "y": 64 },
|
||||
{ "flags": 1, "matrix": [3, 1], "x": 103, "y": 64 },
|
||||
{ "flags": 4, "matrix": [3, 0], "x": 84, "y": 64 },
|
||||
{ "flags": 1, "matrix": [2, 0], "x": 84, "y": 45 },
|
||||
{ "flags": 1, "matrix": [2, 1], "x": 103, "y": 45 },
|
||||
{ "flags": 1, "matrix": [2, 2], "x": 122, "y": 45 },
|
||||
{ "flags": 4, "matrix": [2, 3], "x": 141, "y": 45 },
|
||||
{ "flags": 1, "matrix": [1, 3], "x": 141, "y": 26 },
|
||||
{ "flags": 1, "matrix": [1, 2], "x": 122, "y": 26 },
|
||||
{ "flags": 1, "matrix": [1, 1], "x": 103, "y": 26 },
|
||||
{ "flags": 4, "matrix": [1, 0], "x": 84, "y": 26 },
|
||||
{ "flags": 1, "matrix": [0, 0], "x": 84, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 1], "x": 103, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 2], "x": 122, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 3], "x": 141, "y": 7 }
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"knight": true,
|
||||
"rainbow_mood": true,
|
||||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"brightness_steps": 8,
|
||||
"hue_steps": 8,
|
||||
"led_count": 8,
|
||||
"max_brightness": 255,
|
||||
"pin": "D1",
|
||||
"saturation_steps": 8,
|
||||
"sleep": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_4x4": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "matrix": [0, 1], "x": 1, "y": 0 },
|
||||
{ "matrix": [0, 2], "x": 2, "y": 0 },
|
||||
{ "matrix": [0, 3], "x": 3, "y": 0 },
|
||||
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [1, 2], "x": 2, "y": 1 },
|
||||
{ "matrix": [1, 3], "x": 3, "y": 1 },
|
||||
{ "matrix": [2, 0], "x": 0, "y": 2 },
|
||||
{ "matrix": [2, 1], "x": 1, "y": 2 },
|
||||
{ "matrix": [2, 2], "x": 2, "y": 2 },
|
||||
{ "matrix": [2, 3], "x": 3, "y": 2 },
|
||||
{ "matrix": [3, 0], "x": 0, "y": 3 },
|
||||
{ "matrix": [3, 1], "x": 1, "y": 3 },
|
||||
{ "matrix": [3, 2], "x": 2, "y": 3 },
|
||||
{ "matrix": [3, 3], "x": 3, "y": 3 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,24 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┐
|
||||
* │ 7 │ 8 │ 9 │ / │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 4 │ 5 │ 6 │ * │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 1 │ 2 │ 3 │ - │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 0 │ . │Ent│ + │
|
||||
* └───┴───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_4x4(
|
||||
KC_P7, KC_P8, KC_P9, KC_PSLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PAST,
|
||||
KC_P1, KC_P2, KC_P3, KC_PMNS,
|
||||
KC_P0, KC_PDOT, KC_PENT, KC_PPLS
|
||||
)
|
||||
};
|
|
@ -0,0 +1,24 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┐
|
||||
* │ 7 │ 8 │ 9 │ / │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 4 │ 5 │ 6 │ * │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 1 │ 2 │ 3 │ - │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 0 │ . │Ent│ + │
|
||||
* └───┴───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_4x4(
|
||||
KC_P7, KC_P8, KC_P9, KC_PSLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PAST,
|
||||
KC_P1, KC_P2, KC_P3, KC_PMNS,
|
||||
KC_P0, KC_PDOT, KC_PENT, KC_PPLS
|
||||
)
|
||||
};
|
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
|
@ -0,0 +1,27 @@
|
|||
# Work Louder Num Pad
|
||||
|
||||
![work_louder/numpad](https://worklouder.cc/wp-content/uploads/2022/08/Numpad-WP.png)
|
||||
|
||||
*An ATmega32u4 based 4x4 number pad with per key and underglow RGB*
|
||||
|
||||
* Keyboard Maintainer: [Drashna Jael're](https://github.com/drashna)
|
||||
* Hardware Supported: An ATmega32u4 based 4x4 number pad with per key and underglow RGB
|
||||
* Hardware Availability: [Work Louder](https://shop.worklouder.cc/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make work_louder/numpad:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make work_louder/numpad:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
|
@ -0,0 +1 @@
|
|||
SRC += rgb_functions.c
|
Loading…
Reference in New Issue