aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorMichele Ferri <zomgsako@gmail.com>2020-04-26 00:45:55 +0200
committerGitHub <noreply@github.com>2020-04-25 15:45:55 -0700
commit52af38da37078ad55095734fe7e4eb2c813b3ca5 (patch)
tree9d379bbfe93f1178e50478fe97e9a557b0560a0c /keyboards
parentb2dbc3f515acd20d3ae9390527b13138c0159e5e (diff)
downloadqmk_firmware-52af38da37078ad55095734fe7e4eb2c813b3ca5.tar.gz
qmk_firmware-52af38da37078ad55095734fe7e4eb2c813b3ca5.zip
[Keyboard] Add pimentoso/paddino02 (#8756)
* added pimentoso/paddino02 * pimentoso/paddino02 fix config * pimentoso/paddino02 fix right handed keymap * pimentoso/paddino02 fix readme * pimentoso/paddino02 code style * pimentoso/paddino02 code style * pimentoso/paddino02 code style * pimentoso/paddino02 fix readme * pimentoso/paddino02 code style * pimentoso/paddino02 code style
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/pimentoso/paddino02/config.h20
-rw-r--r--keyboards/pimentoso/paddino02/readme.md33
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev1/config.h45
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev1/keymaps/default/keymap.c15
-rw-r--r--keyboards/pimentoso/paddino02/rev1/rev1.c16
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev1/rev1.h13
-rw-r--r--keyboards/pimentoso/paddino02/rev1/rules.mk0
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/left/config.h45
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/left/keymaps/default/keymap.c15
-rw-r--r--keyboards/pimentoso/paddino02/rev2/left/left.c16
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/left/left.h13
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/left/rules.mk0
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/right/config.h45
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/right/keymaps/default/keymap.c15
-rw-r--r--keyboards/pimentoso/paddino02/rev2/right/right.c16
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/right/right.h13
-rwxr-xr-xkeyboards/pimentoso/paddino02/rev2/right/rules.mk0
-rwxr-xr-xkeyboards/pimentoso/paddino02/rules.mk27
18 files changed, 347 insertions, 0 deletions
diff --git a/keyboards/pimentoso/paddino02/config.h b/keyboards/pimentoso/paddino02/config.h
new file mode 100644
index 000000000..38be477a5
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/config.h
@@ -0,0 +1,20 @@
1/*
2Copyright 2020 Michele Ferri <zomgsako@gmail.com>
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"
diff --git a/keyboards/pimentoso/paddino02/readme.md b/keyboards/pimentoso/paddino02/readme.md
new file mode 100644
index 000000000..1e9518351
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/readme.md
@@ -0,0 +1,33 @@
1# Paddino02
2
310-keys DIY mechanical macropad/gamepad. Features staggered columns, 2 thumb keys, symmetric PCB (you can build right-handed and left-handed versions with the same PCB).
4
5Project page on Github, with build steps and 3d-printable files:
6
7https://github.com/Pimentoso/Paddino02
8
9* Keyboard Maintainer: [Michele Ferri](https://github.com/Pimentoso)
10* Hardware Supported: Paddino02 PCB rev1, rev2 + Arduino Pro Micro
11* Hardware Availability: the PCB is open source and can be freely printed at websites such as [JLCPCB](https://jlcpcb.com/)
12
13### To compile:
14
15`make pimentoso/paddino02/rev2/right:default`
16
17`make pimentoso/paddino02/rev2/left:default`
18
19`make pimentoso/paddino02/rev1:default` (legacy version of the PCB)
20
21### To flash:
22
23`make pimentoso/paddino02/rev2/right:default:flash`
24
25`make pimentoso/paddino02/rev2/left:default:flash`
26
27`make pimentoso/paddino02/rev1:default:flash` (legacy version of the PCB)
28
29### Default keymap
30
31![Keymap](https://raw.githubusercontent.com/Pimentoso/qmk_firmware/master/keyboards/pimentoso/paddino02/keymap.png)
32
33See 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).
diff --git a/keyboards/pimentoso/paddino02/rev1/config.h b/keyboards/pimentoso/paddino02/rev1/config.h
new file mode 100755
index 000000000..8dfc4ac05
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev1/config.h
@@ -0,0 +1,45 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xD00D
7#define PRODUCT_ID 0x0020
8#define DEVICE_VER 0x0001
9#define MANUFACTURER Pimentoso
10#define PRODUCT Paddino02 rev1
11#define DESCRIPTION 10-key ergo macropad
12
13/* key matrix size */
14#define MATRIX_ROWS 3
15#define MATRIX_COLS 4
16
17/* key matrix pins */
18#define MATRIX_ROW_PINS { D1, D0, D4 }
19#define MATRIX_COL_PINS { D7, E6, B4, B5 }
20#define UNUSED_PINS
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION ROW2COL
24
25/* number of backlight levels */
26#define BACKLIGHT_LEVELS 3
27
28/* Set 0 if debouncing isn't needed */
29#define DEBOUNCE 5
30
31/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
32#define LOCKING_SUPPORT_ENABLE
33
34/* Locking resynchronize hack */
35#define LOCKING_RESYNC_ENABLE
36
37#ifdef RGB_DI_PIN
38#define RGBLIGHT_ANIMATIONS
39
40#define RGBLED_NUM 0
41#define RGBLIGHT_HUE_STEP 8
42#define RGBLIGHT_SAT_STEP 8
43#define RGBLIGHT_VAL_STEP 8
44#define RGBLIGHT_SLEEP
45#endif
diff --git a/keyboards/pimentoso/paddino02/rev1/keymaps/default/keymap.c b/keyboards/pimentoso/paddino02/rev1/keymaps/default/keymap.c
new file mode 100755
index 000000000..343ae043b
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev1/keymaps/default/keymap.c
@@ -0,0 +1,15 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 LAYOUT(
6 KC_ESC, KC_BTN1, KC_UP, KC_BTN2,
7 KC_LSFT, KC_LEFT, KC_DOWN, KC_RGHT,
8 MO(1), KC_SPC),
9
10 LAYOUT(
11 KC_MY_COMPUTER, KC_MPRV, KC_MPLY, KC_MNXT,
12 KC_WWW_HOME, KC_MUTE, KC_VOLD, KC_VOLU,
13 KC_TRNS, KC_ENT)
14
15};
diff --git a/keyboards/pimentoso/paddino02/rev1/rev1.c b/keyboards/pimentoso/paddino02/rev1/rev1.c
new file mode 100644
index 000000000..9ebd22df7
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev1/rev1.c
@@ -0,0 +1,16 @@
1/* Copyright 2020 Michele Ferri <zomgsako@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "rev1.h"
diff --git a/keyboards/pimentoso/paddino02/rev1/rev1.h b/keyboards/pimentoso/paddino02/rev1/rev1.h
new file mode 100755
index 000000000..cca4a3c26
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev1/rev1.h
@@ -0,0 +1,13 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, \
7 K10, K11, K12, K13, \
8 K22, K23 \
9) { \
10 { K00, K01, K02, K03 }, \
11 { K10, K11, K12, K13 }, \
12 { KC_NO, KC_NO, K22, K23 } \
13}
diff --git a/keyboards/pimentoso/paddino02/rev1/rules.mk b/keyboards/pimentoso/paddino02/rev1/rules.mk
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev1/rules.mk
diff --git a/keyboards/pimentoso/paddino02/rev2/left/config.h b/keyboards/pimentoso/paddino02/rev2/left/config.h
new file mode 100755
index 000000000..43249d269
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/left/config.h
@@ -0,0 +1,45 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xD00D
7#define PRODUCT_ID 0x0021
8#define DEVICE_VER 0x0002
9#define MANUFACTURER Pimentoso
10#define PRODUCT Paddino02 rev2
11#define DESCRIPTION 10-key ergo macropad
12
13/* key matrix size */
14#define MATRIX_ROWS 3
15#define MATRIX_COLS 4
16
17/* key matrix pins */
18#define MATRIX_ROW_PINS { D0, D4, D1 }
19#define MATRIX_COL_PINS { D7, E6, B4, B5 }
20#define UNUSED_PINS
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25/* number of backlight levels */
26#define BACKLIGHT_LEVELS 3
27
28/* Set 0 if debouncing isn't needed */
29#define DEBOUNCE 5
30
31/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
32#define LOCKING_SUPPORT_ENABLE
33
34/* Locking resynchronize hack */
35#define LOCKING_RESYNC_ENABLE
36
37#ifdef RGB_DI_PIN
38#define RGBLIGHT_ANIMATIONS
39
40#define RGBLED_NUM 0
41#define RGBLIGHT_HUE_STEP 8
42#define RGBLIGHT_SAT_STEP 8
43#define RGBLIGHT_VAL_STEP 8
44#define RGBLIGHT_SLEEP
45#endif
diff --git a/keyboards/pimentoso/paddino02/rev2/left/keymaps/default/keymap.c b/keyboards/pimentoso/paddino02/rev2/left/keymaps/default/keymap.c
new file mode 100755
index 000000000..343ae043b
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/left/keymaps/default/keymap.c
@@ -0,0 +1,15 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 LAYOUT(
6 KC_ESC, KC_BTN1, KC_UP, KC_BTN2,
7 KC_LSFT, KC_LEFT, KC_DOWN, KC_RGHT,
8 MO(1), KC_SPC),
9
10 LAYOUT(
11 KC_MY_COMPUTER, KC_MPRV, KC_MPLY, KC_MNXT,
12 KC_WWW_HOME, KC_MUTE, KC_VOLD, KC_VOLU,
13 KC_TRNS, KC_ENT)
14
15};
diff --git a/keyboards/pimentoso/paddino02/rev2/left/left.c b/keyboards/pimentoso/paddino02/rev2/left/left.c
new file mode 100644
index 000000000..26e31efb8
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/left/left.c
@@ -0,0 +1,16 @@
1/* Copyright 2020 Michele Ferri <zomgsako@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "left.h"
diff --git a/keyboards/pimentoso/paddino02/rev2/left/left.h b/keyboards/pimentoso/paddino02/rev2/left/left.h
new file mode 100755
index 000000000..cca4a3c26
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/left/left.h
@@ -0,0 +1,13 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, \
7 K10, K11, K12, K13, \
8 K22, K23 \
9) { \
10 { K00, K01, K02, K03 }, \
11 { K10, K11, K12, K13 }, \
12 { KC_NO, KC_NO, K22, K23 } \
13}
diff --git a/keyboards/pimentoso/paddino02/rev2/left/rules.mk b/keyboards/pimentoso/paddino02/rev2/left/rules.mk
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/left/rules.mk
diff --git a/keyboards/pimentoso/paddino02/rev2/right/config.h b/keyboards/pimentoso/paddino02/rev2/right/config.h
new file mode 100755
index 000000000..4ef42b977
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/right/config.h
@@ -0,0 +1,45 @@
1#pragma once
2
3#include "config_common.h"
4
5/* USB Device descriptor parameter */
6#define VENDOR_ID 0xD00D
7#define PRODUCT_ID 0x0022
8#define DEVICE_VER 0x0002
9#define MANUFACTURER Pimentoso
10#define PRODUCT Paddino02 rev2
11#define DESCRIPTION 10-key ergo macropad
12
13/* key matrix size */
14#define MATRIX_ROWS 3
15#define MATRIX_COLS 4
16
17/* key matrix pins */
18#define MATRIX_ROW_PINS { F4, F6, F5 }
19#define MATRIX_COL_PINS { B6, B2, B3, B1 }
20#define UNUSED_PINS
21
22/* COL2ROW or ROW2COL */
23#define DIODE_DIRECTION COL2ROW
24
25/* number of backlight levels */
26#define BACKLIGHT_LEVELS 3
27
28/* Set 0 if debouncing isn't needed */
29#define DEBOUNCE 5
30
31/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
32#define LOCKING_SUPPORT_ENABLE
33
34/* Locking resynchronize hack */
35#define LOCKING_RESYNC_ENABLE
36
37#ifdef RGB_DI_PIN
38#define RGBLIGHT_ANIMATIONS
39
40#define RGBLED_NUM 0
41#define RGBLIGHT_HUE_STEP 8
42#define RGBLIGHT_SAT_STEP 8
43#define RGBLIGHT_VAL_STEP 8
44#define RGBLIGHT_SLEEP
45#endif
diff --git a/keyboards/pimentoso/paddino02/rev2/right/keymaps/default/keymap.c b/keyboards/pimentoso/paddino02/rev2/right/keymaps/default/keymap.c
new file mode 100755
index 000000000..0cc38837d
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/right/keymaps/default/keymap.c
@@ -0,0 +1,15 @@
1#include QMK_KEYBOARD_H
2
3const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
4
5 LAYOUT(
6 KC_ESC, KC_BTN2, KC_UP, KC_BTN1,
7 KC_LSFT, KC_RGHT, KC_DOWN, KC_LEFT,
8 MO(1), KC_SPC),
9
10 LAYOUT(
11 KC_MY_COMPUTER, KC_MNXT, KC_MPLY, KC_MPRV,
12 KC_WWW_HOME, KC_MUTE, KC_VOLU, KC_VOLD,
13 KC_TRNS, KC_ENT)
14
15};
diff --git a/keyboards/pimentoso/paddino02/rev2/right/right.c b/keyboards/pimentoso/paddino02/rev2/right/right.c
new file mode 100644
index 000000000..872541271
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/right/right.c
@@ -0,0 +1,16 @@
1/* Copyright 2020 Michele Ferri <zomgsako@gmail.com>
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "right.h"
diff --git a/keyboards/pimentoso/paddino02/rev2/right/right.h b/keyboards/pimentoso/paddino02/rev2/right/right.h
new file mode 100755
index 000000000..ac7ed847d
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/right/right.h
@@ -0,0 +1,13 @@
1#pragma once
2
3#include "quantum.h"
4
5#define LAYOUT( \
6 K00, K01, K02, K03, \
7 K10, K11, K12, K13, \
8 K20, K21 \
9) { \
10 { K03, K02, K01, K00 }, \
11 { K13, K12, K11, K10 }, \
12 { K21, K20, KC_NO, KC_NO } \
13}
diff --git a/keyboards/pimentoso/paddino02/rev2/right/rules.mk b/keyboards/pimentoso/paddino02/rev2/right/rules.mk
new file mode 100755
index 000000000..e69de29bb
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rev2/right/rules.mk
diff --git a/keyboards/pimentoso/paddino02/rules.mk b/keyboards/pimentoso/paddino02/rules.mk
new file mode 100755
index 000000000..4c2dab1ee
--- /dev/null
+++ b/keyboards/pimentoso/paddino02/rules.mk
@@ -0,0 +1,27 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5# Teensy halfkay
6# Pro Micro caterina
7# Atmel DFU atmel-dfu
8# LUFA DFU lufa-dfu
9# QMK DFU qmk-dfu
10# ATmega32A bootloadHID
11# ATmega328P USBasp
12BOOTLOADER = caterina
13
14# Build Options
15# change yes to no to disable
16#
17BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
18MOUSEKEY_ENABLE = yes # Mouse keys
19EXTRAKEY_ENABLE = yes # Audio control and System control
20CONSOLE_ENABLE = no # Console for debug
21COMMAND_ENABLE = no # Commands for debug and configuration
22SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
23NKRO_ENABLE = yes # USB Nkey Rollover
24BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
25AUDIO_ENABLE = no # Audio output on port C6
26RGBLIGHT_ENABLE = no # Enable WS2812 RGB underlight.
27KEY_LOCK_ENABLE = no # Allows locking any key.