diff options
Diffstat (limited to 'keyboards/laser_ninja/pumpkinpad')
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/config.h | 22 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/info.json | 112 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/keymaps/default/keymap.c | 31 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/keymaps/via/keymap.c | 41 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/keymaps/via/rules.mk | 1 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/readme.md | 23 | ||||
-rw-r--r-- | keyboards/laser_ninja/pumpkinpad/rules.mk | 1 |
7 files changed, 231 insertions, 0 deletions
diff --git a/keyboards/laser_ninja/pumpkinpad/config.h b/keyboards/laser_ninja/pumpkinpad/config.h new file mode 100644 index 0000000000..fbb4aaafce --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/config.h @@ -0,0 +1,22 @@ +/* Copyright 2022 Joah Nelson (Jels) + * + * 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 + +/* 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 diff --git a/keyboards/laser_ninja/pumpkinpad/info.json b/keyboards/laser_ninja/pumpkinpad/info.json new file mode 100644 index 0000000000..3908e99fc2 --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/info.json @@ -0,0 +1,112 @@ +{ + "keyboard_name": "Pumpkinpad", + "manufacturer": "Laser Ninja", + "url": "", + "maintainer": "Jels", + "processor": "STM32F072", + "bootloader": "stm32-dfu", + "features": { + "bootmagic": true, + "command": false, + "console": false, + "extrakey": false, + "mousekey": false, + "nkro": false, + "rgb_matrix": true + }, + "matrix_pins": { + "direct": [ + ["A9", "B3", "B9", "NO_PIN"], + ["A8", "B12", "A2", "A1"], + ["B15", "B14", "B13", "NO_PIN"] + ] + }, + "usb": { + "vid": "0x6C6E", + "pid": "0x7070", + "device_version": "0.0.1" + }, + "ws2812": { + "pin": "A10" + }, + "layouts": { + "LAYOUT": { + "layout": [ + {"matrix": [0, 0], "x": 0.5, "y": 0}, + {"matrix": [0, 1], "x": 1.5, "y": 0}, + {"matrix": [0, 2], "x": 2.5, "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.5, "y": 2}, + {"matrix": [2, 1], "x": 1.5, "y": 2}, + {"matrix": [2, 2], "x": 2.5, "y": 2} + ] + } + }, + "rgb_matrix": { + "animations": { + "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, + "rainbow_moving_chevron": true, + "cycle_out_in": true, + "cycle_out_in_dual": 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 + }, + "driver": "ws2812", + "layout": [ + {"flags": 2, "x": 36, "y": 3}, + {"flags": 2, "x": 86, "y": 2}, + {"flags": 2, "x": 138, "y": 2}, + {"flags": 2, "x": 188, "y": 2}, + {"flags": 2, "x": 215, "y": 16}, + {"flags": 2, "x": 215, "y": 16}, + {"flags": 4, "matrix": [0, 2], "x": 167, "y": 17}, + {"flags": 4, "matrix": [0, 1], "x": 112, "y": 17}, + {"flags": 4, "matrix": [0, 0], "x": 57, "y": 17}, + {"flags": 2, "x": 9, "y": 15}, + {"flags": 2, "x": 9, "y": 15}, + {"flags": 2, "x": 6, "y": 34}, + {"flags": 2, "x": 9, "y": 48}, + {"flags": 2, "x": 9, "y": 48}, + {"flags": 4, "matrix": [1, 0], "x": 29, "y": 38}, + {"flags": 4, "matrix": [1, 1], "x": 84, "y": 38}, + {"flags": 4, "matrix": [1, 2], "x": 140, "y": 38}, + {"flags": 2, "x": 218, "y": 34}, + {"flags": 2, "x": 215, "y": 48}, + {"flags": 2, "x": 215, "y": 48}, + {"flags": 2, "x": 188, "y": 61}, + {"flags": 4, "matrix": [2, 2], "x": 167, "y": 59}, + {"flags": 2, "x": 138, "y": 61}, + {"flags": 4, "matrix": [2, 1], "x": 112, "y": 59}, + {"flags": 2, "x": 86, "y": 61}, + {"flags": 4, "matrix": [2, 0], "x": 57, "y": 59}, + {"flags": 2, "x": 36, "y": 61} + ], + "max_brightness": 200 + } +} diff --git a/keyboards/laser_ninja/pumpkinpad/keymaps/default/keymap.c b/keyboards/laser_ninja/pumpkinpad/keymaps/default/keymap.c new file mode 100644 index 0000000000..8b60519b90 --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/keymaps/default/keymap.c @@ -0,0 +1,31 @@ + /* Copyright 2022 Joah Nelson (Jels) + * + * 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] = { + +[0] = LAYOUT( + KC_F1, KC_F2, KC_F3, + KC_F4, KC_F5, KC_F6, KC_F7, + KC_F8, MO(1), KC_F10 +), +[1] = LAYOUT( + RGB_TOG, RGB_MOD, RGB_RMOD, + RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, + RGB_VAI, RGB_VAD, _______ +) +}; diff --git a/keyboards/laser_ninja/pumpkinpad/keymaps/via/keymap.c b/keyboards/laser_ninja/pumpkinpad/keymaps/via/keymap.c new file mode 100644 index 0000000000..a63a5a0047 --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/keymaps/via/keymap.c @@ -0,0 +1,41 @@ + /* Copyright 2022 Joah Nelson (Jels) + * + * 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] = { + +[0] = LAYOUT( + KC_F1, KC_F2, KC_F3, + KC_F4, KC_F5, KC_F6, KC_F7, + KC_F8, MO(1), KC_F10 +), +[1] = LAYOUT( + RGB_TOG, RGB_MOD, RGB_RMOD, + RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, + RGB_VAI, RGB_VAD, _______ +), +[2] = LAYOUT( + _______, _______, _______, + _______, _______, _______, _______, + _______, _______, _______ +), +[3] = LAYOUT( + _______, _______, _______, + _______, _______, _______, _______, + _______, _______, _______ +) +}; diff --git a/keyboards/laser_ninja/pumpkinpad/keymaps/via/rules.mk b/keyboards/laser_ninja/pumpkinpad/keymaps/via/rules.mk new file mode 100644 index 0000000000..1e5b99807c --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/keymaps/via/rules.mk @@ -0,0 +1 @@ +VIA_ENABLE = yes diff --git a/keyboards/laser_ninja/pumpkinpad/readme.md b/keyboards/laser_ninja/pumpkinpad/readme.md new file mode 100644 index 0000000000..a5739029e7 --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/readme.md @@ -0,0 +1,23 @@ +# Pumpkinpad + +![pumpkinpad](https://i.imgur.com/jFkl9rwh.jpg) + +A 60% PCB + +- Keyboard Maintainer: [Jels](https://github.com/Jels02) +- Hardware Supported: Pumpkinpad PCB +- Hardware Availabililty: [Laser_Ninja](https://kennui.com/w/Laser_Ninja) + +Make example for this keyboard (after setting up your build environment): + + make laser_ninja/pumpkinpad:default + +Flashing example for this keyboard: + + make laser_ninja/pumpkinpad: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). + +- **Bootmagic reset**: Hold down the top left key 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 diff --git a/keyboards/laser_ninja/pumpkinpad/rules.mk b/keyboards/laser_ninja/pumpkinpad/rules.mk new file mode 100644 index 0000000000..08a1c1568c --- /dev/null +++ b/keyboards/laser_ninja/pumpkinpad/rules.mk @@ -0,0 +1 @@ +# This file is intentionally left blank. |