aboutsummaryrefslogtreecommitdiff
path: root/keyboards/skippys_custom_pcs/roopad
diff options
context:
space:
mode:
authorWolf Van Herreweghe <wolfvanh@gmail.com>2021-11-29 17:27:07 +0100
committerGitHub <noreply@github.com>2021-11-29 08:27:07 -0800
commit569eee20b4db77f13d28c35cb17fbadb536c4a11 (patch)
treec71bd383fb3f2e9387b852b4aac1877563a1ee29 /keyboards/skippys_custom_pcs/roopad
parent62e01928cd4d978d275eb28992866ddf0d39922f (diff)
downloadqmk_firmware-569eee20b4db77f13d28c35cb17fbadb536c4a11.tar.gz
qmk_firmware-569eee20b4db77f13d28c35cb17fbadb536c4a11.zip
[Keyboard] Add RooPad (#15215)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Wolf Van Herreweghe <wolfvh@getupgamesofficial.com>
Diffstat (limited to 'keyboards/skippys_custom_pcs/roopad')
-rw-r--r--keyboards/skippys_custom_pcs/roopad/config.h71
-rw-r--r--keyboards/skippys_custom_pcs/roopad/info.json10
-rw-r--r--keyboards/skippys_custom_pcs/roopad/keymaps/default/keymap.c67
-rw-r--r--keyboards/skippys_custom_pcs/roopad/keymaps/via/keymap.c85
-rw-r--r--keyboards/skippys_custom_pcs/roopad/keymaps/via/rules.mk1
-rw-r--r--keyboards/skippys_custom_pcs/roopad/readme.md22
-rw-r--r--keyboards/skippys_custom_pcs/roopad/roopad.c14
-rw-r--r--keyboards/skippys_custom_pcs/roopad/roopad.h32
-rw-r--r--keyboards/skippys_custom_pcs/roopad/rules.mk24
9 files changed, 326 insertions, 0 deletions
diff --git a/keyboards/skippys_custom_pcs/roopad/config.h b/keyboards/skippys_custom_pcs/roopad/config.h
new file mode 100644
index 000000000..53a29c615
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/config.h
@@ -0,0 +1,71 @@
1/*
2Copyright 2020 <contact@vwolf.be>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x36B6 // skippys_custom_pcs
24#define PRODUCT_ID 0x0001 // RooPad
25#define DEVICE_VER 0x0001 // Version 1
26#define MANUFACTURER ToastyStoemp
27#define PRODUCT RooPad
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 5
32
33/*
34 * Keyboard Matrix Assignments
35 *
36 * Change this to how you wired your keyboard
37 * COLS: AVR pins used for columns, left to right
38 * ROWS: AVR pins used for rows, top to bottom
39 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 *
42*/
43
44// Checked with Eagle Schematic
45#define MATRIX_ROW_PINS { B5, F6, F5, F4, F1 }
46#define MATRIX_COL_PINS { F0, B4, D7, D6, D4 }
47#define UNUSED_PINS
48
49/* COL2ROW or ROW2COL */
50#define DIODE_DIRECTION COL2ROW
51
52/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
53#define DEBOUNCE 5
54
55#define RGB_DI_PIN B6
56#define RGBLED_NUM 21
57#define RGBLIGHT_SLEEP
58
59#define RGBLIGHT_EFFECT_ALTERNATING
60#define RGBLIGHT_EFFECT_BREATHING
61#define RGBLIGHT_EFFECT_CHRISTMAS
62#define RGBLIGHT_EFFECT_KNIGHT
63#define RGBLIGHT_EFFECT_RAINBOW_MOOD
64#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
65#define RGBLIGHT_EFFECT_RGB_TEST
66#define RGBLIGHT_EFFECT_SNAKE
67#define RGBLIGHT_EFFECT_STATIC_GRADIENT
68#define RGBLIGHT_EFFECT_TWINKLE
69
70#define NO_ACTION_MACRO
71#define NO_ACTION_FUNCTION
diff --git a/keyboards/skippys_custom_pcs/roopad/info.json b/keyboards/skippys_custom_pcs/roopad/info.json
new file mode 100644
index 000000000..e866a1cc2
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/info.json
@@ -0,0 +1,10 @@
1{
2 "keyboard_name": "RooPad",
3 "url": "",
4 "maintainer": "ToastyStoemp",
5 "layouts": {
6 "LAYOUT": {
7 "layout": [{"label":"Num Lock", "x":1.5, "y":0}, {"label":"/", "x":2.5, "y":0}, {"label":"*", "x":3.5, "y":0}, {"label":"-", "x":4.5, "y":0}, {"x":0, "y":1}, {"label":"7", "x":1.5, "y":1}, {"label":"8", "x":2.5, "y":1}, {"label":"9", "x":3.5, "y":1}, {"label":"+", "x":4.5, "y":1, "h":2}, {"x":0, "y":2}, {"label":"4", "x":1.5, "y":2}, {"label":"5", "x":2.5, "y":2}, {"label":"6", "x":3.5, "y":2}, {"x":0, "y":3}, {"label":"1", "x":1.5, "y":3}, {"label":"2", "x":2.5, "y":3}, {"label":"3", "x":3.5, "y":3}, {"label":"Enter", "x":4.5, "y":3, "h":2}, {"x":0, "y":4}, {"label":"0", "x":1.5, "y":4, "w":2}, {"label":".", "x":3.5, "y":4}]
8 }
9 }
10} \ No newline at end of file
diff --git a/keyboards/skippys_custom_pcs/roopad/keymaps/default/keymap.c b/keyboards/skippys_custom_pcs/roopad/keymaps/default/keymap.c
new file mode 100644
index 000000000..2d8f5dce9
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/keymaps/default/keymap.c
@@ -0,0 +1,67 @@
1/*
2Copyright 2020 <contact@vwolf.be>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20};
21
22const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
23
24 /*
25 * ┌───┬───┬───┬───┐
26 * │Num│ / │ * │ - │
27 * ┌───┬─┼───┼───┼───┼───┤
28 * │Cal│ │ 7 │ 8 │ 9 │ │
29 * ├───┼─┼───┼───┼───┤ + │
30 * │WWW│ │ 4 │ 5 │ 6 │ │
31 * ├───┼─┼───┼───┼───┼───┤
32 * │Mai│ │ 1 │ 2 │ 3 │ E │
33 * ├───┼─┼───┴───┼───┤ N │
34 * │FN │ │ 0 │ . │ T │
35 * └───┴─┴───────┴───┴───┘
36 */
37
38 [_LAYER0] = LAYOUT(
39 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
40 KC_CALC, KC_P7, KC_P8, KC_P9, KC_PPLS,
41 KC_WSCH, KC_P4, KC_P5, KC_P6,
42 KC_MAIL, KC_P1, KC_P2, KC_P3, KC_PENT,
43 MO(1), KC_P0, KC_PDOT
44 ),
45
46 /*
47 * ┌───┬───┬───┬───┐
48 * │Num│ / │ * │-BR│
49 * ┌───┬─┼───┼───┼───┼───┤
50 * │ │ │F7 │F8 │F9 │ │
51 * ├───┼─┼───┼───┼───┤+BR│
52 * │ │ │F4 │F5 │F6 │ │
53 * ├───┼─┼───┼───┼───┼───┤
54 * │ │ │F1 │F2 │F3 │RGB│
55 * ├───┼─┼───┴───┼───┤ │
56 * │FN │ │ │TOG│MOD│
57 * └───┴─┴───────┴───┴───┘
58 */
59
60 [_LAYER1] = LAYOUT(
61 KC_NLCK, KC_PSLS, KC_PAST, RGB_VAD,
62 KC_TRNS, KC_F7, KC_F8, KC_F9, RGB_VAI,
63 KC_TRNS, KC_F4, KC_F5, KC_F6,
64 KC_TRNS, KC_F1, KC_F2, KC_F3, RGB_MOD,
65 KC_TRNS, KC_TRNS, RGB_TOG
66 )
67};
diff --git a/keyboards/skippys_custom_pcs/roopad/keymaps/via/keymap.c b/keyboards/skippys_custom_pcs/roopad/keymaps/via/keymap.c
new file mode 100644
index 000000000..d4dedc9a0
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/keymaps/via/keymap.c
@@ -0,0 +1,85 @@
1/*
2Copyright 2020 <contact@vwolf.be>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#include QMK_KEYBOARD_H
16
17enum layers {
18 _LAYER0,
19 _LAYER1,
20 _LAYER2,
21 _LAYER3,
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25
26 /*
27 * ┌───┬───┬───┬───┐
28 * │Num│ / │ * │ - │
29 * ┌───┬─┼───┼───┼───┼───┤
30 * │Cal│ │ 7 │ 8 │ 9 │ │
31 * ├───┼─┼───┼───┼───┤ + │
32 * │WWW│ │ 4 │ 5 │ 6 │ │
33 * ├───┼─┼───┼───┼───┼───┤
34 * │Mai│ │ 1 │ 2 │ 3 │ E │
35 * ├───┼─┼───┴───┼───┤ N │
36 * │FN │ │ 0 │ . │ T │
37 * └───┴─┴───────┴───┴───┘
38 */
39
40 [_LAYER0] = LAYOUT(
41 KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
42 KC_CALC, KC_P7, KC_P8, KC_P9, KC_PPLS,
43 KC_WSCH, KC_P4, KC_P5, KC_P6,
44 KC_MAIL, KC_P1, KC_P2, KC_P3, KC_PENT,
45 MO(1), KC_P0, KC_PDOT
46 ),
47
48 /*
49 * ┌───┬───┬───┬───┐
50 * │Num│ / │ * │-BR│
51 * ┌───┬─┼───┼───┼───┼───┤
52 * │ │ │F7 │F8 │F9 │ │
53 * ├───┼─┼───┼───┼───┤+BR│
54 * │ │ │F4 │F5 │F6 │ │
55 * ├───┼─┼───┼───┼───┼───┤
56 * │ │ │F1 │F2 │F3 │RGB│
57 * ├───┼─┼───┴───┼───┤ │
58 * │FN │ │ │TOG│MOD│
59 * └───┴─┴───────┴───┴───┘
60 */
61
62 [_LAYER1] = LAYOUT(
63 KC_NLCK, KC_PSLS, KC_PAST, RGB_VAD,
64 KC_TRNS, KC_F7, KC_F8, KC_F9, RGB_VAI,
65 KC_TRNS, KC_F4, KC_F5, KC_F6,
66 KC_TRNS, KC_F1, KC_F2, KC_F3, RGB_MOD,
67 KC_TRNS, KC_TRNS, RGB_TOG
68 ),
69
70 [_LAYER2] = LAYOUT(
71 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
72 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
73 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
74 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
75 KC_TRNS, KC_TRNS, KC_TRNS
76 ),
77
78 [_LAYER3] = LAYOUT(
79 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
80 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
81 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
82 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
83 KC_TRNS, KC_TRNS, KC_TRNS
84 )
85};
diff --git a/keyboards/skippys_custom_pcs/roopad/keymaps/via/rules.mk b/keyboards/skippys_custom_pcs/roopad/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/skippys_custom_pcs/roopad/readme.md b/keyboards/skippys_custom_pcs/roopad/readme.md
new file mode 100644
index 000000000..34c4f3342
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/readme.md
@@ -0,0 +1,22 @@
1# kuku65
2
3The following is the QMK Firmware for the kuku65 Hotswap PCB.
4
5The PCB features:
6* QMK & VIA compatibility
7* Hotswap
8
9---
10
11* Keyboard Maintainer: [ToastyStoemp](https://github.com/ToastyStoemp)
12
13Make example for this keyboard (after setting up your build environment):
14
15 make wolf/kuku65:default
16
17See 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).
18
19## Bootloader Enter the bootloader in 3 ways:
20* **Bootmagic reset**: Hold down the key ESC key and plug in the keyboard (Top Left most switch)
21* **Physical reset button**: Briefly press the button on the back of the PCB
22* **Keycode in layout**: Press the B key on layer 1 which is mapped to `RESET`
diff --git a/keyboards/skippys_custom_pcs/roopad/roopad.c b/keyboards/skippys_custom_pcs/roopad/roopad.c
new file mode 100644
index 000000000..408d7d56f
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/roopad.c
@@ -0,0 +1,14 @@
1/*
2Copyright 2020 <contact@vwolf.be>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14#include "roopad.h"
diff --git a/keyboards/skippys_custom_pcs/roopad/roopad.h b/keyboards/skippys_custom_pcs/roopad/roopad.h
new file mode 100644
index 000000000..f52038333
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/roopad.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2020 <contact@vwolf.be>
3This program is free software: you can redistribute it and/or modify
4it under the terms of the GNU General Public License as published by
5the Free Software Foundation, either version 2 of the License, or
6(at your option) any later version.
7This program is distributed in the hope that it will be useful,
8but WITHOUT ANY WARRANTY; without even the implied warranty of
9MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10GNU General Public License for more details.
11You should have received a copy of the GNU General Public License
12along with this program. If not, see <http://www.gnu.org/licenses/>.
13*/
14
15#pragma once
16
17#include "quantum.h"
18
19/* RooPad Keymap Definitions */
20#define LAYOUT( \
21 K01, K02, K03, K04, \
22 K10, K11, K12, K13, K14, \
23 K20, K21, K22, K23, \
24 K30, K31, K32, K33, K34, \
25 K40, K41, K43 \
26) { \
27 { KC_NO, K01, K02, K03, K04 }, \
28 { K10, K11, K12, K13, K14 }, \
29 { K20, K21, K22, K23, KC_NO }, \
30 { K30, K31, K32, K33, K34 }, \
31 { K40, K41, KC_NO, K43, KC_NO } \
32}
diff --git a/keyboards/skippys_custom_pcs/roopad/rules.mk b/keyboards/skippys_custom_pcs/roopad/rules.mk
new file mode 100644
index 000000000..94b6cd838
--- /dev/null
+++ b/keyboards/skippys_custom_pcs/roopad/rules.mk
@@ -0,0 +1,24 @@
1# MCU name
2MCU = atmega32u4
3
4# Processor frequency
5F_CPU = 8000000
6
7# Bootloader selection
8BOOTLOADER = atmel-dfu
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
14MOUSEKEY_ENABLE = no # Mouse keys
15EXTRAKEY_ENABLE = yes # Audio control and System control
16CONSOLE_ENABLE = no # Console for debug
17COMMAND_ENABLE = no # Commands for debug and configuration
18# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
19SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
20# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
21NKRO_ENABLE = yes # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
24AUDIO_ENABLE = no # Audio output \ No newline at end of file