Skip to content

Commit cd8c71a

Browse files
authored
[Keyboard] Phase Studio's Titan 65 (#11920)
1 parent 8c1cdce commit cd8c71a

File tree

9 files changed

+355
-0
lines changed

9 files changed

+355
-0
lines changed
+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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+
17+
#pragma once
18+
19+
#include "config_common.h"
20+
21+
/* USB Device descriptor parameter */
22+
#define VENDOR_ID 0x5054
23+
#define PRODUCT_ID 0xBB91
24+
#define DEVICE_VER 0x0001
25+
#define MANUFACTURER Phase Studio
26+
#define PRODUCT Titan 65
27+
28+
/* key matrix size */
29+
#define MATRIX_ROWS 5
30+
#define MATRIX_COLS 16
31+
32+
/*
33+
* Keyboard Matrix Assignments
34+
*
35+
* Change this to how you wired your keyboard
36+
* COLS: AVR pins used for columns, left to right
37+
* ROWS: AVR pins used for rows, top to bottom
38+
* DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39+
* ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40+
*
41+
*/
42+
#define MATRIX_ROW_PINS { B4, B5, B6, C6, F7 }
43+
#define MATRIX_COL_PINS { B0, B1, B2, B3, B7, D0, D1, D2, D3, D5, F0, F1, C7, F4, F5, F6 }
44+
45+
#define DIODE_DIRECTION COL2ROW
46+
47+
#define RGB_DI_PIN E6
48+
#define DRIVER_LED_TOTAL 67
49+
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
50+
#define RGB_DISABLE_WHEN_USB_SUSPENDED false // turn off effects when suspended
51+
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
+80
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
{
2+
"keyboard_name": "Titan 65",
3+
"url": "",
4+
"maintainer": "drashna",
5+
"width": 16,
6+
"height": 5,
7+
"layouts": {
8+
"LAYOUT": {
9+
"layout": [
10+
{"label":"K00 (B4,B0)", "x":0, "y":0},
11+
{"label":"K01 (B4,B1)", "x":1, "y":0},
12+
{"label":"K02 (B4,B2)", "x":2, "y":0},
13+
{"label":"K03 (B4,B3)", "x":3, "y":0},
14+
{"label":"K04 (B4,B7)", "x":4, "y":0},
15+
{"label":"K05 (B4,D0)", "x":5, "y":0},
16+
{"label":"K06 (B4,D1)", "x":6, "y":0},
17+
{"label":"K07 (B4,D2)", "x":7, "y":0},
18+
{"label":"K08 (B4,D3)", "x":8, "y":0},
19+
{"label":"K09 (B4,D5)", "x":9, "y":0},
20+
{"label":"K0A (B4,F0)", "x":10, "y":0},
21+
{"label":"K0B (B4,F1)", "x":11, "y":0},
22+
{"label":"K0C (B4,C7)", "x":12, "y":0},
23+
{"label":"K0E (B4,F5)", "x":13, "y":0, "w":2},
24+
{"label":"K0F (B4,F6)", "x":15, "y":0},
25+
{"label":"K10 (B5,B0)", "x":0, "y":1, "w":1.5},
26+
{"label":"K12 (B5,B2)", "x":1.5, "y":1},
27+
{"label":"K13 (B5,B3)", "x":2.5, "y":1},
28+
{"label":"K14 (B5,B7)", "x":3.5, "y":1},
29+
{"label":"K15 (B5,D0)", "x":4.5, "y":1},
30+
{"label":"K16 (B5,D1)", "x":5.5, "y":1},
31+
{"label":"K17 (B5,D2)", "x":6.5, "y":1},
32+
{"label":"K18 (B5,D3)", "x":7.5, "y":1},
33+
{"label":"K19 (B5,D5)", "x":8.5, "y":1},
34+
{"label":"K1A (B5,F0)", "x":9.5, "y":1},
35+
{"label":"K1B (B5,F1)", "x":10.5, "y":1},
36+
{"label":"K1C (B5,C7)", "x":11.5, "y":1},
37+
{"label":"K1D (B5,F4)", "x":12.5, "y":1},
38+
{"label":"K1E (B5,F5)", "x":13.5, "y":1, "w":1.5},
39+
{"label":"K1F (B5,F6)", "x":15, "y":1},
40+
{"label":"K20 (B6,B0)", "x":0, "y":2, "w":1.75},
41+
{"label":"K22 (B6,B2)", "x":1.75, "y":2},
42+
{"label":"K23 (B6,B3)", "x":2.75, "y":2},
43+
{"label":"K24 (B6,B7)", "x":3.75, "y":2},
44+
{"label":"K25 (B6,D0)", "x":4.75, "y":2},
45+
{"label":"K26 (B6,D1)", "x":5.75, "y":2},
46+
{"label":"K27 (B6,D2)", "x":6.75, "y":2},
47+
{"label":"K28 (B6,D3)", "x":7.75, "y":2},
48+
{"label":"K29 (B6,D5)", "x":8.75, "y":2},
49+
{"label":"K2A (B6,F0)", "x":9.75, "y":2},
50+
{"label":"K2B (B6,F1)", "x":10.75, "y":2},
51+
{"label":"K2C (B6,C7)", "x":11.75, "y":2},
52+
{"label":"K2D (B6,F4)", "x":12.75, "y":2, "w":2.25},
53+
{"label":"K2F (B6,F6)", "x":15, "y":2},
54+
{"label":"K31 (C6,B1)", "x":0, "y":3, "w":2.25},
55+
{"label":"K32 (C6,B2)", "x":2.25, "y":3},
56+
{"label":"K33 (C6,B3)", "x":3.25, "y":3},
57+
{"label":"K34 (C6,B7)", "x":4.25, "y":3},
58+
{"label":"K35 (C6,D0)", "x":5.25, "y":3},
59+
{"label":"K36 (C6,D1)", "x":6.25, "y":3},
60+
{"label":"K37 (C6,D2)", "x":7.25, "y":3},
61+
{"label":"K38 (C6,D3)", "x":8.25, "y":3},
62+
{"label":"K39 (C6,D5)", "x":9.25, "y":3},
63+
{"label":"K3A (C6,F0)", "x":10.25, "y":3},
64+
{"label":"K3B (C6,F1)", "x":11.25, "y":3},
65+
{"label":"K3D (C6,F4)", "x":12.25, "y":3, "w":1.75},
66+
{"label":"K3E (C6,F5)", "x":14, "y":3},
67+
{"label":"K3F (C6,F6)", "x":15, "y":3},
68+
{"label":"K40 (F7,B0)", "x":0, "y":4, "w":1.25},
69+
{"label":"K41 (F7,B1)", "x":1.25, "y":4},
70+
{"label":"K42 (F7,B2)", "x":2.25, "y":4, "w":1.25},
71+
{"label":"K46 (F7,D1)", "x":3.5, "y":4, "w":6.25},
72+
{"label":"K4A (F7,F0)", "x":9.75, "y":4, "w":1.25},
73+
{"label":"K4B (F7,F1)", "x":11, "y":4, "w":1.25},
74+
{"label":"K4D (F7,F4)", "x":13, "y":4},
75+
{"label":"K4E (F7,F5)", "x":14, "y":4},
76+
{"label":"K4F (F7,F6)", "x":15, "y":4}
77+
]
78+
}
79+
}
80+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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+
17+
#include QMK_KEYBOARD_H
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
[0] = LAYOUT(
21+
KC_GRV, 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_HOME,
22+
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, KC_PGUP,
23+
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, KC_PGDN,
24+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, LT(1, KC_END),
25+
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT
26+
),
27+
[1] = LAYOUT(
28+
KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
29+
_______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______,
30+
_______, RGB_RMOD,RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32+
_______, _______, _______, _______, _______, _______, _______, _______, _______
33+
),
34+
35+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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+
17+
#include QMK_KEYBOARD_H
18+
19+
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20+
21+
[0] = LAYOUT(
22+
KC_GRV, 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_HOME,
23+
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, KC_PGUP,
24+
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, KC_PGDN,
25+
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, LT(1, KC_END),
26+
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, KC_LCTL, KC_LEFT, KC_DOWN, KC_RGHT
27+
),
28+
[1] = LAYOUT(
29+
KC_ESC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RESET,
30+
_______, RGB_MOD, RGB_HUI, RGB_SAI, RGB_VAI, RGB_TOG, _______, _______, _______, _______, _______, _______, _______, _______, _______,
31+
_______, RGB_RMOD,RGB_HUD, RGB_SAD, RGB_VAD, _______, _______, _______, _______, _______, _______, _______, _______, _______,
32+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
33+
_______, _______, _______, _______, _______, _______, _______, _______, _______
34+
),
35+
[2] = LAYOUT(
36+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
37+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
38+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
39+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
40+
_______, _______, _______, _______, _______, _______, _______, _______, _______
41+
),
42+
[3] = LAYOUT(
43+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
44+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
45+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
46+
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
47+
_______, _______, _______, _______, _______, _______, _______, _______, _______
48+
),
49+
50+
};
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
VIA_ENABLE = yes
2+
LTO_ENABLE = yes
+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Titan 65
2+
3+
A 65% ANSI keyboard with per key RGB
4+
5+
* Keyboard Maintainer: [Drashna Jaelre](https://github.com/drashna)
6+
* Hardware Supported: atmega32u4 based PCB
7+
* Hardware Availability: TBD
8+
9+
Make example for this keyboard (after setting up your build environment):
10+
11+
make phase_studio/titan65:default
12+
13+
Flashing example for this keyboard:
14+
15+
make phase_studio/titan65:default:flash
16+
17+
18+
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).
19+
20+
## Bootloader
21+
22+
To enter the bootloader, hold down the top left most key when plugging in the USB cable.
23+
24+
Alternatively, the default keymap has a RESET key if yo hold down the "home" (right most, second from botton) key and hit the top right most key.
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# MCU name
2+
MCU = atmega32u4
3+
4+
# Bootloader selection
5+
BOOTLOADER = atmel-dfu
6+
7+
# Build Options
8+
# change yes to no to disable
9+
#
10+
BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration
11+
MOUSEKEY_ENABLE = yes # Mouse keys
12+
EXTRAKEY_ENABLE = yes # Audio control and System control
13+
CONSOLE_ENABLE = no # Console for debug
14+
COMMAND_ENABLE = no # Commands for debug and configuration
15+
NKRO_ENABLE = yes # USB Nkey Rollover
16+
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
17+
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
18+
BLUETOOTH_ENABLE = no # Enable Bluetooth
19+
AUDIO_ENABLE = no # Audio output
20+
RGB_MATRIX_ENABLE = yes
21+
RGB_MATRIX_DRIVER = WS2812
22+
23+
24+
AUDIO_SUPPORTED = no
25+
RGBLIGHT_SUPPORTED = no
26+
RGB_MATRIX_SUPPORTED = yes
+52
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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+
17+
#include "titan65.h"
18+
19+
#ifdef RGB_MATRIX_ENABLE
20+
led_config_t g_led_config = {
21+
{
22+
{ 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, NO_LED, 65, 66 },
23+
{ 51, NO_LED, 50, 49, 48, 47, 46, 45, 44, 43, 42, 41, 40, 39, .38, 37 },
24+
{ 23, NO_LED, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, NO_LED, 36 },
25+
{ NO_LED, 22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12, NO_LED, 11, 10, 9 },
26+
{ 0, 1, NO_LED, 2, NO_LED, NO_LED, 3, NO_LED, NO_LED, NO_LED, 4, 5, NO_LED, 6, 7, 8 }
27+
}, {
28+
{ 2, 64 }, { 21, 64 }, { 39, 64 }, { 96, 64 }, { 150, 64 }, { 165, 64 }, { 195, 64 }, { 210, 64 }, { 224, 64 },
29+
{ 224, 48 }, { 210, 48 }, { 189, 48 }, { 154, 48 }, { 139, 48 }, { 124, 48 }, { 109, 48 }, { 94, 48 }, { 79, 48 }, { 64, 48 }, { 49, 48 }, { 34, 48 }, { 22, 48 },
30+
{ 6, 32 }, { 41, 32 }, { 56, 32 }, { 71, 32 }, { 86, 32 }, { 101, 32 }, { 116, 32 }, { 131, 32 }, { 146, 32 }, { 161, 32 }, { 176, 32 }, { 201, 32 }, { 224, 32 },
31+
{ 224, 16 }, { 206, 16 },{ 188, 16 }, { 173, 16 }, { 158, 16 }, { 143, 16 }, { 128, 16 }, { 113, 16 }, { 98, 16 }, { 83, 16 }, { 68, 16 }, { 53, 16 }, { 38, 16 }, { 4, 16 },
32+
{ 0, 0 }, { 15, 0 }, { 30, 0 }, { 45, 0 }, { 60, 0 }, { 75, 0 }, { 90, 0 }, { 105, 0 }, { 120, 0 }, { 135, 0 }, { 150, 0 }, { 165, 0 }, { 203, 0 }, { 224, 0 }
33+
34+
}, {
35+
1, 1, 1, 4, 1, 1, 1, 1, 1,
36+
1, 1, 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
37+
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1,
38+
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1,
39+
1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1
40+
}
41+
};
42+
43+
void suspend_power_down_kb(void) {
44+
rgb_matrix_set_suspend_state(true);
45+
suspend_power_down_user();
46+
}
47+
48+
void suspend_wakeup_init_kb(void) {
49+
rgb_matrix_set_suspend_state(false);
50+
suspend_wakeup_init_user();
51+
}
52+
#endif
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
/* Copyright 2021 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.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+
17+
#pragma once
18+
19+
#include "quantum.h"
20+
21+
#define ___ KC_NO
22+
23+
#define LAYOUT( \
24+
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, K0F, \
25+
K10, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F, \
26+
K20, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2F, \
27+
K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3D, K3E, K3F, \
28+
K40, K41, K43, K46, K4A, K4B, K4D, K4E, K4F \
29+
) { \
30+
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, ___, K0E, K0F }, \
31+
{ K10, ___, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, K1F }, \
32+
{ K20, ___, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, ___, K2F }, \
33+
{ ___, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, ___, K3D, K3E, K3F }, \
34+
{ K40, K41, ___, K43, ___, ___, K46, ___, ___, ___, K4A, K4B, ___, K4D, K4E, K4F }, \
35+
}

0 commit comments

Comments
 (0)