aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/axolstudio/helpo/config.h42
-rw-r--r--keyboards/axolstudio/helpo/helpo.c17
-rw-r--r--keyboards/axolstudio/helpo/helpo.h39
-rw-r--r--keyboards/axolstudio/helpo/info.json33
-rw-r--r--keyboards/axolstudio/helpo/keymaps/default/keymap.c32
-rw-r--r--keyboards/axolstudio/helpo/keymaps/via/keymap.c44
-rw-r--r--keyboards/axolstudio/helpo/keymaps/via/rules.mk1
-rw-r--r--keyboards/axolstudio/helpo/readme.md17
-rw-r--r--keyboards/axolstudio/helpo/rules.mk25
9 files changed, 250 insertions, 0 deletions
diff --git a/keyboards/axolstudio/helpo/config.h b/keyboards/axolstudio/helpo/config.h
new file mode 100644
index 000000000..927c7cc56
--- /dev/null
+++ b/keyboards/axolstudio/helpo/config.h
@@ -0,0 +1,42 @@
1/*
2Copyright 2020 kb-elmo
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 0x525C
24#define PRODUCT_ID 0xC89F
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Axolstudio
27#define PRODUCT Helpo
28
29/* key matrix size */
30#define MATRIX_ROWS 4
31#define MATRIX_COLS 5
32
33/* Keyboard Matrix Assignments */
34
35#define MATRIX_ROW_PINS { A2, A3, A4, A5 }
36#define MATRIX_COL_PINS { A1, B4, B3, B2, B1 }
37
38/* COL2ROW, ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
42#define DEBOUNCE 5
diff --git a/keyboards/axolstudio/helpo/helpo.c b/keyboards/axolstudio/helpo/helpo.c
new file mode 100644
index 000000000..04c7b4f1a
--- /dev/null
+++ b/keyboards/axolstudio/helpo/helpo.c
@@ -0,0 +1,17 @@
1/* Copyright 2020 kb-elmo
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
17#include "helpo.h"
diff --git a/keyboards/axolstudio/helpo/helpo.h b/keyboards/axolstudio/helpo/helpo.h
new file mode 100644
index 000000000..f6b0e0796
--- /dev/null
+++ b/keyboards/axolstudio/helpo/helpo.h
@@ -0,0 +1,39 @@
1/* Copyright 2020 kb-elmo
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
17#pragma once
18
19#include "quantum.h"
20
21/* This is a shortcut to help you visually see your layout.
22 *
23 * The first section contains all of the arguments representing the physical
24 * layout of the board and position of the keys.
25 *
26 * The second converts the arguments into a two-dimensional array which
27 * represents the switch matrix.
28 */
29#define LAYOUT( \
30 k04, k03, k02, k01, k00, \
31 k09, k08, k07, k06, k05, \
32 k14, k13, k12, k11, k10, \
33 k19, k18, k17, k16, k15 \
34) { \
35 { k00, k01, k02, k03, k04, }, \
36 { k05, k06, k07, k08, k09, }, \
37 { k10, k11, k12, k13, k14, }, \
38 { k15, k16, k17, k18, k19, } \
39}
diff --git a/keyboards/axolstudio/helpo/info.json b/keyboards/axolstudio/helpo/info.json
new file mode 100644
index 000000000..557f0273a
--- /dev/null
+++ b/keyboards/axolstudio/helpo/info.json
@@ -0,0 +1,33 @@
1{
2 "keyboard_name": "helpo",
3 "url": "",
4 "maintainer": "kb-elmo",
5 "width": 5,
6 "height": 4,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15 {"x":0, "y":1},
16 {"x":1, "y":1},
17 {"x":2, "y":1},
18 {"x":3, "y":1},
19 {"x":4, "y":1},
20 {"x":0, "y":2},
21 {"x":1, "y":2},
22 {"x":2, "y":2},
23 {"x":3, "y":2},
24 {"x":4, "y":2},
25 {"x":0, "y":3},
26 {"x":1, "y":3},
27 {"x":2, "y":3},
28 {"x":3, "y":3},
29 {"x":4, "y":3}
30 ]
31 }
32 }
33}
diff --git a/keyboards/axolstudio/helpo/keymaps/default/keymap.c b/keyboards/axolstudio/helpo/keymaps/default/keymap.c
new file mode 100644
index 000000000..6a36b6d2b
--- /dev/null
+++ b/keyboards/axolstudio/helpo/keymaps/default/keymap.c
@@ -0,0 +1,32 @@
1/* Copyright 2020 kb-elmo
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 QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 /* Base */
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5,
22 KC_6, KC_7, KC_8, KC_9, KC_0,
23 KC_A, KC_B, KC_C, KC_D, KC_E,
24 KC_F, KC_G, KC_H, KC_I, MO(1)
25 ),
26 [1] = LAYOUT(
27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
31 )
32};
diff --git a/keyboards/axolstudio/helpo/keymaps/via/keymap.c b/keyboards/axolstudio/helpo/keymaps/via/keymap.c
new file mode 100644
index 000000000..f1b331002
--- /dev/null
+++ b/keyboards/axolstudio/helpo/keymaps/via/keymap.c
@@ -0,0 +1,44 @@
1/* Copyright 2020 kb-elmo
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 QMK_KEYBOARD_H
17
18const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
19 /* Base */
20 [0] = LAYOUT(
21 KC_1, KC_2, KC_3, KC_4, KC_5,
22 KC_6, KC_7, KC_8, KC_9, KC_0,
23 KC_A, KC_B, KC_C, KC_D, KC_E,
24 KC_F, KC_G, KC_H, KC_I, MO(1)
25 ),
26 [1] = LAYOUT(
27 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
28 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
29 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
30 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
31 ),
32 [2] = LAYOUT(
33 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
34 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
35 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
36 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
37 ),
38 [3] = LAYOUT(
39 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
40 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
41 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
42 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS
43 )
44};
diff --git a/keyboards/axolstudio/helpo/keymaps/via/rules.mk b/keyboards/axolstudio/helpo/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/axolstudio/helpo/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/axolstudio/helpo/readme.md b/keyboards/axolstudio/helpo/readme.md
new file mode 100644
index 000000000..fa759c574
--- /dev/null
+++ b/keyboards/axolstudio/helpo/readme.md
@@ -0,0 +1,17 @@
1# Helpo
2
3ATmega32A powered 20 key THT macropad
4
5* Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo)
6* Hardware Supported: Helpo PCB
7* Hardware Availability: will be added later
8
9Make example for this keyboard (after setting up your build environment):
10
11 make axolstudio/helpo:default
12
13Flashing example for this keyboard:
14
15 make axolstudio/helpo:default:flash
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).
diff --git a/keyboards/axolstudio/helpo/rules.mk b/keyboards/axolstudio/helpo/rules.mk
new file mode 100644
index 000000000..307616647
--- /dev/null
+++ b/keyboards/axolstudio/helpo/rules.mk
@@ -0,0 +1,25 @@
1# MCU name
2MCU = atmega32a
3
4# Processor frequency
5F_CPU = 16000000
6
7# Bootloader selection
8BOOTLOADER = USBasp
9
10# Build Options
11# change yes to no to disable
12#
13BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
14MOUSEKEY_ENABLE = yes # 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 = no # USB Nkey Rollover
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
24BLUETOOTH_ENABLE = no # Enable Bluetooth
25AUDIO_ENABLE = no # Audio output