Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Keyboard] Add marshkeys flowerpad #23240

Merged
merged 11 commits into from
Mar 21, 2024
18 changes: 18 additions & 0 deletions keyboards/marshkeys/flowerpad/config.h
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
Copyright 2024 Benjamin Božič

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#pragma once
16 changes: 16 additions & 0 deletions keyboards/marshkeys/flowerpad/flowerpad.c
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
Copyright 2024 Benjamin Božič

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
37 changes: 37 additions & 0 deletions keyboards/marshkeys/flowerpad/info.json
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"keyboard_name": "Flowerpad",
"maintainer": "Ethirallan",
"manufacturer": "marshkeys.com",
"url": "marshkeys.com",
"development_board": "promicro",
"bootmagic": {
"enabled": true,
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
"matrix": [0, 1]
},
"features": {
"bootmagic": true,
"extrakey": true
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
},
"diode_direction": "COL2ROW",
"matrix_pins": {
"cols": ["F7", "F6", "F5"],
"rows": ["C6", "D4", "D0"]
},
"layouts": {
"LAYOUT": {
"layout": [
{ "matrix": [0, 1], "x": 0, "y": 1 },
{ "matrix": [1, 0], "x": 1, "y": 0 },
{ "matrix": [1, 1], "x": 1, "y": 1 },
{ "matrix": [1, 2], "x": 1, "y": 2 },
{ "matrix": [2, 0], "x": 2, "y": 0 },
{ "matrix": [2, 2], "x": 2, "y": 2 }
]
}
},
"usb": {
"device_version": "1.0.0",
"pid": "0x466C",
"vid": "0x4D61"
}
}
35 changes: 35 additions & 0 deletions keyboards/marshkeys/flowerpad/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Copyright 2024 Benjamin Božič

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* --------
* | MUTE |
* |------+------+------|
* | PREV | PLAY | NEXT |
* |------+------+------|
* | VOL- | | VOL+ |
* -------- --------
*/
LAYOUT(
KC_MUTE,
KC_MPRV, KC_MPLY, KC_MNXT,
KC_VOLD, KC_VOLU
),
};
3 changes: 3 additions & 0 deletions keyboards/marshkeys/flowerpad/keymaps/default/readme.md
Ethirallan marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Default Flowerpad Layout

This is the default layout that comes flashed on every Flowerpad. It has only one layer with multimedia keys.
35 changes: 35 additions & 0 deletions keyboards/marshkeys/flowerpad/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
Copyright 2024 Benjamin Božič

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/*
* --------
* | MUTE |
* |------+------+------|
* | PREV | PLAY | NEXT |
* |------+------+------|
* | VOL- | | VOL+ |
* -------- --------
*/
LAYOUT(
KC_MUTE,
KC_MPRV, KC_MPLY, KC_MNXT,
KC_VOLD, KC_VOLU
),
};
1 change: 1 addition & 0 deletions keyboards/marshkeys/flowerpad/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VIA_ENABLE = yes
21 changes: 21 additions & 0 deletions keyboards/marshkeys/flowerpad/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Flowerpad

A flourishing 6-key macropad that will catch your eye.

* Keyboard Maintainer: [Benjamin Božič](https://github.com/Ethirallan)
* Hardware Supported: Onboard ATmega32u4, Flowerpad PCB v1, hotswap v1
* Hardware Availability: marshkeys.com

Make example for this keyboard (after setting up your build environment):

make marshkeys/flowerpad:default

Flashing example for this keyboard:

make marshkeys/flowerpad: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 by holding down the top key (where the usb connects) and plug in the keyboard
1 change: 1 addition & 0 deletions keyboards/marshkeys/flowerpad/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank
Loading