mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Add M6-C Keyboard Firmware (#21852)
Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Wolf <contact@vwolf.be>
This commit is contained in:
parent
04ce3497ab
commit
47e72a95ef
10
keyboards/wolf/m6_c/config.h
Normal file
10
keyboards/wolf/m6_c/config.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
// Copyright 2023 contact@vwolf.be
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
#pragma once
|
||||
|
||||
#define RGB_MATRIX_LED_COUNT 6
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_MATRIX_KEYPRESSES
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
||||
#define RGB_MATRIX_DEFAULT_MODE RGB_MATRIX_CYCLE_ALL
|
101
keyboards/wolf/m6_c/info.json
Normal file
101
keyboards/wolf/m6_c/info.json
Normal file
|
@ -0,0 +1,101 @@
|
|||
{
|
||||
"manufacturer": "Rama",
|
||||
"keyboard_name": "M6-C",
|
||||
"maintainer": "ToastyStoemp",
|
||||
"bootloader": "atmel-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": false,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B0", "B1", "B7"],
|
||||
"rows": ["B2", "B3"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"ws2812": {
|
||||
"pin": "D5"
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "ws2812",
|
||||
"max_brightness": 120,
|
||||
"animations": {
|
||||
"solid_color": true,
|
||||
"alphas_mods": true,
|
||||
"gradient_up_down": true,
|
||||
"gradient_left_right": true,
|
||||
"breathing": true,
|
||||
"band_sat": true,
|
||||
"band_val": true,
|
||||
"band_pinwheel_sat": true,
|
||||
"band_pinwheel_val": true,
|
||||
"band_spiral_sat": true,
|
||||
"band_spiral_val": true,
|
||||
"cycle_all": true,
|
||||
"cycle_left_right": true,
|
||||
"cycle_up_down": true,
|
||||
"cycle_out_in": true,
|
||||
"cycle_out_in_dual": true,
|
||||
"rainbow_moving_chevron": true,
|
||||
"cycle_pinwheel": true,
|
||||
"cycle_spiral": true,
|
||||
"dual_beacon": true,
|
||||
"rainbow_beacon": true,
|
||||
"rainbow_pinwheels": true,
|
||||
"raindrops": true,
|
||||
"jellybean_raindrops": true,
|
||||
"hue_breathing": true,
|
||||
"hue_pendulum": true,
|
||||
"hue_wave": true,
|
||||
"pixel_fractal": true,
|
||||
"pixel_flow": true,
|
||||
"pixel_rain": true,
|
||||
"typing_heatmap": true,
|
||||
"digital_rain": true,
|
||||
"solid_reactive_simple": true,
|
||||
"solid_reactive": true,
|
||||
"solid_reactive_wide": true,
|
||||
"solid_reactive_multiwide": true,
|
||||
"solid_reactive_cross": true,
|
||||
"solid_reactive_multicross": true,
|
||||
"solid_reactive_nexus": true,
|
||||
"solid_reactive_multinexus": true,
|
||||
"splash": true,
|
||||
"multisplash": true,
|
||||
"solid_splash": true,
|
||||
"solid_multisplash": true
|
||||
},
|
||||
"layout": [
|
||||
{ "flags": 4, "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "flags": 4, "matrix": [0, 1], "x": 122, "y": 0 },
|
||||
{ "flags": 4, "matrix": [0, 2], "x": 243, "y": 0 },
|
||||
{ "flags": 4, "matrix": [1, 2], "x": 244, "y": 64 },
|
||||
{ "flags": 4, "matrix": [1, 1], "x": 122, "y": 64 },
|
||||
{ "flags": 4, "matrix": [1, 0], "x": 0, "y": 64 }
|
||||
]
|
||||
},
|
||||
"url": "",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x0060",
|
||||
"vid": "0x5453"
|
||||
},
|
||||
"community_layouts": ["ortho_2x3"],
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_2x3": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "matrix": [0, 1], "x": 1, "y": 0 },
|
||||
{ "matrix": [0, 2], "x": 2, "y": 0 },
|
||||
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [1, 2], "x": 2, "y": 1 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
12
keyboards/wolf/m6_c/keymaps/default/keymap.c
Normal file
12
keyboards/wolf/m6_c/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2020-2022 QMK (@qmk)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_ortho_2x3(
|
||||
KC_1, KC_2, KC_3,
|
||||
KC_4, KC_5, KC_6
|
||||
)
|
||||
};
|
12
keyboards/wolf/m6_c/keymaps/via/keymap.c
Normal file
12
keyboards/wolf/m6_c/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
// Copyright 2020-2022 QMK (@qmk)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[0] = LAYOUT_ortho_2x3(
|
||||
KC_1, KC_2, KC_3,
|
||||
KC_4, KC_5, KC_6
|
||||
)
|
||||
};
|
2
keyboards/wolf/m6_c/keymaps/via/rules.mk
Normal file
2
keyboards/wolf/m6_c/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
VIA_ENABLE = yes
|
||||
LTO_ENABLE = yes
|
24
keyboards/wolf/m6_c/readme.md
Normal file
24
keyboards/wolf/m6_c/readme.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# M6-C
|
||||
|
||||
![M6-C](https://i.imgur.com/gkRotHh.jpeg)
|
||||
|
||||
The following is the QMK Firmware for the M6-C PCB.
|
||||
|
||||
* Keyboard Maintainer: [Wolf](https://github.com/ToastyStoemp)
|
||||
* Hardware Supported: M6-C PCB
|
||||
* Hardware Availability: https://ramaworks.store/products/m6-c
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make wolf/m6_c:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make wolf/m6_c: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 ESC key and plug in the keyboard (Top Left most switch)
|
||||
* **Physical reset button**: Double press the button through the pinhole in the case
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT`
|
2
keyboards/wolf/m6_c/rules.mk
Normal file
2
keyboards/wolf/m6_c/rules.mk
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Processor frequency
|
||||
F_CPU = 8000000
|
Loading…
Reference in a new issue