aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/ai03/voyager60_alps/config.h98
-rw-r--r--keyboards/ai03/voyager60_alps/info.json12
-rw-r--r--keyboards/ai03/voyager60_alps/keymaps/default/keymap.c32
-rw-r--r--keyboards/ai03/voyager60_alps/keymaps/default/readme.md1
-rw-r--r--keyboards/ai03/voyager60_alps/keymaps/via/keymap.c47
-rw-r--r--keyboards/ai03/voyager60_alps/keymaps/via/readme.md1
-rw-r--r--keyboards/ai03/voyager60_alps/keymaps/via/rules.mk1
-rw-r--r--keyboards/ai03/voyager60_alps/readme.md25
-rw-r--r--keyboards/ai03/voyager60_alps/rules.mk22
-rw-r--r--keyboards/ai03/voyager60_alps/voyager60_alps.c15
-rw-r--r--keyboards/ai03/voyager60_alps/voyager60_alps.h32
11 files changed, 286 insertions, 0 deletions
diff --git a/keyboards/ai03/voyager60_alps/config.h b/keyboards/ai03/voyager60_alps/config.h
new file mode 100644
index 000000000..98f37e8cf
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/config.h
@@ -0,0 +1,98 @@
1/*
2Copyright 2020 <t@ylor.io>
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 "config_common.h"
18
19#define VENDOR_ID 0xA103
20#define PRODUCT_ID 0x060A
21#define DEVICE_VER 0x0001
22#define MANUFACTURER ai03
23#define PRODUCT Voyager60-Alps
24
25#define MATRIX_ROWS 5
26#define MATRIX_COLS 15
27
28#define MATRIX_ROW_PINS { B1, B2, B3, F0, F1 }
29#define MATRIX_COL_PINS { F4, F7, F5, F6, C7, C6, B6, B5, B4, D7, D6, D4, D5, D3}
30#define UNUSED_PINS
31
32#define DIODE_DIRECTION COL2ROW
33
34/*
35 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
36 */
37#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
38
39// define BACKLIGHT_PIN B7
40// define BACKLIGHT_BREATHING
41// #define BACKLIGHT_LEVELS 3
42
43#define RGB_DI_PIN D2
44#ifdef RGB_DI_PIN
45 #define RGBLED_NUM 14
46 #define RGBLIGHT_HUE_STEP 8
47 #define RGBLIGHT_SAT_STEP 8
48 #define RGBLIGHT_VAL_STEP 8
49 #define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
50 #define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
51// /*== all animations enable ==*/
52 #define RGBLIGHT_ANIMATIONS
53// /*== or choose animations ==*/
54// #define RGBLIGHT_EFFECT_BREATHING
55// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
56// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
57// #define RGBLIGHT_EFFECT_SNAKE
58// #define RGBLIGHT_EFFECT_KNIGHT
59// #define RGBLIGHT_EFFECT_CHRISTMAS
60// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
61// #define RGBLIGHT_EFFECT_RGB_TEST
62// #define RGBLIGHT_EFFECT_ALTERNATING
63#endif
64
65/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
66#define DEBOUNCE 5
67
68/* define if matrix has ghost (lacks anti-ghosting diodes) */
69//#define MATRIX_HAS_GHOST
70
71/* number of backlight levels */
72
73/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
74// #define LOCKING_SUPPORT_ENABLE
75/* Locking resynchronize hack */
76// #define LOCKING_RESYNC_ENABLE
77
78/*
79 * Feature disable options
80 * These options are also useful to firmware size reduction.
81 */
82
83/* disable debug print */
84// #define NO_DEBUG
85
86/* disable print */
87// #define NO_PRINT
88
89/* disable action features */
90//#define NO_ACTION_LAYER
91//#define NO_ACTION_TAPPING
92//#define NO_ACTION_ONESHOT
93//#define NO_ACTION_MACRO
94//#define NO_ACTION_FUNCTION
95
96/* Bootmagic Lite key configuration */
97// #define BOOTMAGIC_LITE_ROW 0
98// #define BOOTMAGIC_LITE_COLUMN 0
diff --git a/keyboards/ai03/voyager60_alps/info.json b/keyboards/ai03/voyager60_alps/info.json
new file mode 100644
index 000000000..96d5fcfbf
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/info.json
@@ -0,0 +1,12 @@
1{
2 "keyboard_name": "Voyager60-Alps",
3 "url": "https://github.com/ai03-2725/Voyager60/tree/alps",
4 "maintainer": "ai03",
5 "width": 15,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":14, "y":0}, {"x":0, "y":1, "w":1.5}, {"x":1.5, "y":1}, {"x":2.5, "y":1}, {"x":3.5, "y":1}, {"x":4.5, "y":1}, {"x":5.5, "y":1}, {"x":6.5, "y":1}, {"x":7.5, "y":1}, {"x":8.5, "y":1}, {"x":9.5, "y":1}, {"x":10.5, "y":1}, {"x":11.5, "y":1}, {"x":12.5, "y":1}, {"x":13.5, "y":1, "w":1.5}, {"x":0, "y":2, "w":1.75}, {"x":1.75, "y":2}, {"x":2.75, "y":2}, {"x":3.75, "y":2}, {"x":4.75, "y":2}, {"x":5.75, "y":2}, {"x":6.75, "y":2}, {"x":7.75, "y":2}, {"x":8.75, "y":2}, {"x":9.75, "y":2}, {"x":10.75, "y":2}, {"x":11.75, "y":2}, {"x":12.75, "y":2, "w":2.25}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3}, {"x":2.25, "y":3}, {"x":3.25, "y":3}, {"x":4.25, "y":3}, {"x":5.25, "y":3}, {"x":6.25, "y":3}, {"x":7.25, "y":3}, {"x":8.25, "y":3}, {"x":9.25, "y":3}, {"x":10.25, "y":3}, {"x":11.25, "y":3}, {"x":12.25, "y":3, "w":1.75}, {"x":14, "y":3}, {"x":0, "y":4, "w":1.25}, {"x":1.25, "y":4, "w":1.25}, {"x":2.5, "y":4, "w":1.25}, {"x":3.75, "y":4, "w":2.75}, {"x":6.5, "y":4, "w":1.25}, {"x":7.75, "y":4, "w":2.25}, {"x":10, "y":4, "w":1.25}, {"x":11.25, "y":4, "w":1.25}, {"x":12.5, "y":4, "w":1.25}, {"x":13.75, "y":4, "w":1.25}]
10 }
11 }
12} \ No newline at end of file
diff --git a/keyboards/ai03/voyager60_alps/keymaps/default/keymap.c b/keyboards/ai03/voyager60_alps/keymaps/default/keymap.c
new file mode 100644
index 000000000..171f0c7f0
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/keymaps/default/keymap.c
@@ -0,0 +1,32 @@
1/*
2Copyright 2020 <t@ylor.io>
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
17const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
18 [0] = LAYOUT( /* Base */
19 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC,
20 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
21 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
22 KC_LSFT, KC_NO, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
23 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, KC_NO, MO(1), KC_RALT, KC_RCTL
24 ),
25 [1] = LAYOUT( /* Fn */
26 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL,
27 _______, _______, KC_UP, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
28 _______, KC_LEFT, KC_DOWN, KC_RGHT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
31 )
32};
diff --git a/keyboards/ai03/voyager60_alps/keymaps/default/readme.md b/keyboards/ai03/voyager60_alps/keymaps/default/readme.md
new file mode 100644
index 000000000..1a7879261
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/keymaps/default/readme.md
@@ -0,0 +1 @@
# Default keymap
diff --git a/keyboards/ai03/voyager60_alps/keymaps/via/keymap.c b/keyboards/ai03/voyager60_alps/keymaps/via/keymap.c
new file mode 100644
index 000000000..1a5e74c42
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/keymaps/via/keymap.c
@@ -0,0 +1,47 @@
1/*
2Copyright 2020 <t@ylor.io>
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
17const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
18
19 [0] = LAYOUT( /* Base */
20 KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_BSPC,
21 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS,
22 KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT,
23 KC_LSFT, _______, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, MO(1),
24 KC_LCTL, KC_LALT, KC_LGUI, KC_SPC, KC_SPC, KC_SPC, _______, KC_RGUI, KC_RALT, KC_RCTL
25 ),
26 [1] = LAYOUT( /* FN */
27 RESET, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_DEL, KC_DEL,
28 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
29 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
32 ),
33 [2] = LAYOUT( /* Blank. For VIA compatibility */
34 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
35 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
36 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
39 ),
40 [3] = LAYOUT( /* Blank. For VIA compatibility */
41 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
42 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
43 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45 _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
46 )
47};
diff --git a/keyboards/ai03/voyager60_alps/keymaps/via/readme.md b/keyboards/ai03/voyager60_alps/keymaps/via/readme.md
new file mode 100644
index 000000000..cb1709f70
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/keymaps/via/readme.md
@@ -0,0 +1 @@
# VIA Keymap
diff --git a/keyboards/ai03/voyager60_alps/keymaps/via/rules.mk b/keyboards/ai03/voyager60_alps/keymaps/via/rules.mk
new file mode 100644
index 000000000..1e5b99807
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/keymaps/via/rules.mk
@@ -0,0 +1 @@
VIA_ENABLE = yes
diff --git a/keyboards/ai03/voyager60_alps/readme.md b/keyboards/ai03/voyager60_alps/readme.md
new file mode 100644
index 000000000..f67b2f19d
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/readme.md
@@ -0,0 +1,25 @@
1# Voyager60-Alps
2A fully featured Alps-specific 60% PCB
3
4![Render](https://raw.githubusercontent.com/ai03-2725/Voyager60/alps/Renders/Front.png)
5
6### Features
7* RGB underglow
8* Decent amount of layout compatibility - [View supported layouts](http://www.keyboard-layout-editor.com/#/gists/c867bdba7e5ae8be282f77a242bacf66)
9* Slot cutout for maximum flexibility and typing comfort
10* Over-current and static discharge protection
11* Fully open-source
12
13### Additional Information
14
15* Keyboard Maintainer: [ai03](https://github.com/ai03-2725)
16* Hardware Supported: Voyager60-Alps PCB
17* Hardware Availability: [Gerbers](https://github.com/ai03-2725/Voyager60/tree/alps)
18
19### Building the Firmware
20
21Make example for this keyboard (after setting up your build environment):
22
23 make ai03/voyager60_alps:default
24
25See 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/ai03/voyager60_alps/rules.mk b/keyboards/ai03/voyager60_alps/rules.mk
new file mode 100644
index 000000000..f49426d51
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/rules.mk
@@ -0,0 +1,22 @@
1# MCU name
2MCU = atmega32u4
3
4# Bootloader selection
5BOOTLOADER = atmel-dfu
6
7# Build Options
8# change yes to no to disable
9#
10BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11MOUSEKEY_ENABLE = yes # Mouse keys
12EXTRAKEY_ENABLE = yes # Audio control and System control
13CONSOLE_ENABLE = no # Console for debug
14COMMAND_ENABLE = no # Commands for debug and configuration
15# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
16SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
17# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
18NKRO_ENABLE = yes # USB Nkey Rollover
19BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
20RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21BLUETOOTH_ENABLE = no # Enable Bluetooth
22AUDIO_ENABLE = no # Audio output
diff --git a/keyboards/ai03/voyager60_alps/voyager60_alps.c b/keyboards/ai03/voyager60_alps/voyager60_alps.c
new file mode 100644
index 000000000..251198c44
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/voyager60_alps.c
@@ -0,0 +1,15 @@
1/*
2Copyright 2020 <t@ylor.io>
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 "voyager60_alps.h"
diff --git a/keyboards/ai03/voyager60_alps/voyager60_alps.h b/keyboards/ai03/voyager60_alps/voyager60_alps.h
new file mode 100644
index 000000000..fa178316e
--- /dev/null
+++ b/keyboards/ai03/voyager60_alps/voyager60_alps.h
@@ -0,0 +1,32 @@
1/*
2Copyright 2020 <t@ylor.io>
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#define LAYOUT( \
20 K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013, K212, \
21 K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113, \
22 K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K213, \
23 K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313, \
24 K400, K401, K402, K404, K406, K408, K410, K411, K412, K413 \
25) \
26{ \
27 { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010, K011, K012, K013 }, \
28 { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110, K111, K112, K113 }, \
29 { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210, K211, K212, K213 }, \
30 { K300, K301, K302, K303, K304, K305, K306, K307, K308, K309, K310, K311, K312, K313 }, \
31 { K400, K401, K402, KC_NO, K404, KC_NO, K406, KC_NO, K408, KC_NO, K410, K411, K412, K413 } \
32}