forked from mirrors/qmk_firmware
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
d9e559a78e
24 changed files with 1307 additions and 33 deletions
46
keyboards/hotdox76v2/config.h
Normal file
46
keyboards/hotdox76v2/config.h
Normal file
|
@ -0,0 +1,46 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "config_common.h"
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
#define RGB_MATRIX_SPLIT \
|
||||
{ 43, 43 }
|
||||
|
||||
#define RGB_DI_PIN D3
|
||||
#define RGBLED_NUM 86
|
||||
#define DRIVER_LED_TOTAL RGBLED_NUM
|
||||
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_MATRIX_CENTER \
|
||||
{ 112, 32 }
|
||||
|
||||
#define SPLIT_TRANSPORT_MIRROR
|
||||
#define SPLIT_MODS_ENABLE
|
||||
#define SPLIT_LAYER_STATE_ENABLE
|
||||
#define SPLIT_LED_STATE_ENABLE
|
||||
#define SPLIT_OLED_ENABLE
|
||||
#define SPLIT_TRANSACTION_IDS_KB KEYBOARD_CURRENT_ALPA_SYNC
|
||||
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN
|
||||
#define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT
|
||||
#define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL
|
309
keyboards/hotdox76v2/hotdox76v2.c
Normal file
309
keyboards/hotdox76v2/hotdox76v2.c
Normal file
|
@ -0,0 +1,309 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
#include <string.h>
|
||||
#include <transactions.h>
|
||||
#include "oled_font_lib/logo2.h"
|
||||
#include "oled_font_lib/ext_font.h"
|
||||
|
||||
|
||||
#ifdef RGB_MATRIX_ENABLE
|
||||
// clang-format off
|
||||
led_config_t g_led_config = {
|
||||
{
|
||||
{ NO_LED, 34, 33, 32, 35, 37, 36 },
|
||||
{ 27, 28, 29, 30, 31, NO_LED, NO_LED },
|
||||
{ 26, 25, 24, 23, 22, 21, 20 },
|
||||
{ 14, 15, 16, 17, 18, 19, NO_LED },
|
||||
{ 13, 12, 11, 10, 9, 8, 7 },
|
||||
{ 0, 1, 2, 3, 4, 5, 6 },
|
||||
/*right*/
|
||||
{ NO_LED, 72, 71, 70, 73, 75, 74 },
|
||||
{ 65, 66, 67, 68, 69, NO_LED, NO_LED },
|
||||
{ 64, 63, 62, 61, 60, 59, 58 },
|
||||
{ 52, 53, 54, 55, 56, 57, NO_LED },
|
||||
{ 51, 50, 49, 48, 47, 46, 45 },
|
||||
{ 38, 39, 40, 41, 42, 43, 44 }
|
||||
},
|
||||
{
|
||||
// LED Index to Physical Position
|
||||
{0,0}, {17,0}, {34,0}, {52,0}, {69,0}, {86,0}, {103,0}, \
|
||||
{103,13}, {86,13}, {69,13}, {52,13}, {34,13}, {17,13}, {0,13}, \
|
||||
{0,26}, {17,26}, {34,26}, {52,26}, {69,26}, {86,26}, \
|
||||
{103,38}, {86,38}, {69,38}, {52,38}, {34,38}, {17,38}, {0,38}, \
|
||||
{0,51}, {17,51}, {34,51}, {52,51}, {69,51}, \
|
||||
{86,64}, {69,64}, {52,64}, {34,64}, {17,64}, {0,64}, \
|
||||
{69,64}, {52,64}, {34,64}, {17,64}, {0,64}, \
|
||||
|
||||
\
|
||||
{224,0}, {207,0}, {190,0}, {172,0}, {155,0}, {138,0}, {121,0}, \
|
||||
{121,13}, {138,13}, {155,13}, {172,13}, {190,13}, {207,13}, {224,13}, \
|
||||
{224,26}, {207,26}, {190,26}, {172,26}, {155,26}, {138,26}, \
|
||||
{121,38}, {138,38}, {155,38}, {172,38}, {190,38}, {207,38}, {224,38}, \
|
||||
{224,51}, {207,51}, {190,51}, {172,51}, {155,51}, \
|
||||
{138,64}, {155,64}, {172,64}, {190,64}, {207,64}, {224,64}, \
|
||||
{155,64}, {172,64}, {190,64}, {207,64}, {224,64}\
|
||||
|
||||
|
||||
},
|
||||
{
|
||||
// LED Index to Flag
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,\
|
||||
2,2,2,2,2,\
|
||||
4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,\
|
||||
2,2,2,2,2
|
||||
}
|
||||
};
|
||||
// clang-format on
|
||||
#endif
|
||||
|
||||
#ifdef OLED_ENABLE
|
||||
|
||||
# define UNC (94 + 0x21)
|
||||
typedef struct _master_to_slave_t {
|
||||
int cur_alp_index;
|
||||
char current_alp[7];
|
||||
} master_to_slave_t;
|
||||
master_to_slave_t m2s;
|
||||
|
||||
typedef struct _slave_to_master_t {
|
||||
int cur_alp_index;
|
||||
char current_alp[7];
|
||||
} slave_to_master_t;
|
||||
slave_to_master_t s2m;
|
||||
|
||||
oled_rotation_t oled_init_kb(oled_rotation_t rotation) {
|
||||
strcpy((char *)(m2s.current_alp), "[ ]");
|
||||
m2s.current_alp[1] = UNC;
|
||||
m2s.current_alp[2] = UNC;
|
||||
m2s.current_alp[3] = UNC;
|
||||
m2s.current_alp[4] = UNC;
|
||||
|
||||
m2s.cur_alp_index = 1;
|
||||
|
||||
strcpy((char *)(s2m.current_alp), "[ ]");
|
||||
s2m.current_alp[1] = UNC;
|
||||
s2m.current_alp[2] = UNC;
|
||||
s2m.current_alp[3] = UNC;
|
||||
s2m.current_alp[4] = UNC;
|
||||
|
||||
s2m.cur_alp_index = 1;
|
||||
|
||||
if (is_keyboard_left()) {
|
||||
return OLED_ROTATION_180;
|
||||
} else {
|
||||
return OLED_ROTATION_0;
|
||||
}
|
||||
}
|
||||
|
||||
void render_logo(void) {
|
||||
uint8_t i = 0, j = 0;
|
||||
for (i = 0; i < 4; ++i) {
|
||||
for (j = 0; j < 32; ++j) {
|
||||
if (is_keyboard_left()) {
|
||||
oled_write_raw_byte(pgm_read_byte(&logo_mouse[i * 32 + j]), i * 128 + j);
|
||||
} else {
|
||||
oled_write_raw_byte(pgm_read_byte(&logo_mouse[i * 32 + j]), i * 128 + j + 96);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void render_layer_helper_fun(uint8_t start_line, const char *data, uint8_t gap_w, uint8_t l) {
|
||||
uint8_t j = 0, k = 0;
|
||||
for (j = 0; j < l; ++j) { // font index
|
||||
for (k = 0; k < 12; ++k) { // font byte index
|
||||
// base + logo_w(32) + gap_w(12) +l*font_w(12)+current_byte_index
|
||||
oled_write_raw_byte(pgm_read_byte(&ext_big_font[pgm_read_byte(&data[j]) - 0x21][k]), start_line * 2 * 128 + 32 + gap_w + j * 12 + k);
|
||||
oled_write_raw_byte(pgm_read_byte(&ext_big_font[pgm_read_byte(&data[j]) - 0x21][k + 12]), start_line * 2 * 128 + 128 + 32 + gap_w + j * 12 + k);
|
||||
}
|
||||
}
|
||||
for (j = 0; j < gap_w; ++j) {
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 32 + j);
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 32 + gap_w + l * 12 + j);
|
||||
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 128 + 32 + j);
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 128 + 32 + gap_w + l * 12 + j);
|
||||
}
|
||||
}
|
||||
void render_layer(uint8_t layer) {
|
||||
render_layer_helper_fun(0, PSTR("LAYER:"), 12, 6);
|
||||
switch (layer) {
|
||||
case 0:
|
||||
render_layer_helper_fun(1, PSTR("1:HOME"), 12, 6);
|
||||
break;
|
||||
case 1:
|
||||
render_layer_helper_fun(1, PSTR("2:CODE"), 12, 6);
|
||||
break;
|
||||
case 2:
|
||||
render_layer_helper_fun(1, PSTR("3:OFFICE"), 0, 8);
|
||||
break;
|
||||
case 3:
|
||||
default:
|
||||
render_layer_helper_fun(1, PSTR("4:OTHERS"), 0, 8);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void render_cur_input_helper_fun(uint8_t start_line, const char *data, uint8_t gap_w, uint8_t l) {
|
||||
uint8_t j = 0, k = 0;
|
||||
for (j = 0; j < l; ++j) { // font index
|
||||
for (k = 0; k < 12; ++k) { // font byte index
|
||||
// base + logo_w(0) + gap_w(12) +l*font_w(12)+current_byte_index
|
||||
oled_write_raw_byte(pgm_read_byte(&ext_big_font[data[j] - 0x21][k]), start_line * 2 * 128 + gap_w + j * 12 + k);
|
||||
oled_write_raw_byte(pgm_read_byte(&ext_big_font[data[j] - 0x21][12 + k]), start_line * 2 * 128 + 128 + gap_w + j * 12 + k);
|
||||
}
|
||||
}
|
||||
for (j = 0; j < gap_w; ++j) {
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + j);
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + gap_w + l * 12 + j);
|
||||
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 128 + j);
|
||||
oled_write_raw_byte(pgm_read_byte(&blank_block), start_line * 2 * 128 + 128 + gap_w + l * 12 + j);
|
||||
}
|
||||
}
|
||||
|
||||
void render_cur_input(void) {
|
||||
render_cur_input_helper_fun(0, "INPUTS:", 6, 7);
|
||||
if (is_keyboard_master()) {
|
||||
render_cur_input_helper_fun(1, (const char *)(m2s.current_alp), 12, 6);
|
||||
} else {
|
||||
render_cur_input_helper_fun(1, (const char *)(s2m.current_alp), 12, 6);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
bool oled_task_kb(void) {
|
||||
if (!oled_task_user()) {
|
||||
return false;
|
||||
}
|
||||
render_logo();
|
||||
if (is_keyboard_left()) {
|
||||
render_layer(biton32(layer_state));
|
||||
} else {
|
||||
render_cur_input();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
static const char PROGMEM code_to_name[0xFF] = {
|
||||
// 0 1 2 3 4 5 6 7 8 9 A B c D E F
|
||||
UNC, UNC, UNC, UNC, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', // 0x
|
||||
'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', // 1x
|
||||
'3', '4', '5', '6', '7', '8', '9', '0', UNC, UNC, UNC, UNC, UNC, '-', '=', '[', // 2x
|
||||
']', '\\', '#', ';', '\'', '`', ',', '.', '/', UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 3x
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 4x
|
||||
UNC, UNC, UNC, UNC, '/', '*', '-', '+', UNC, '1', '2', '3', '4', '5', '6', '7', // 5x
|
||||
'8', '9', '0', '.', UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 6x
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 7x
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 8x
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // 9x
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // Ax
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // Bx
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // Cx
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // Dx
|
||||
UNC, UNC, 'A', 'W', UNC, 'S', UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, // Ex
|
||||
UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC, UNC // Fx
|
||||
};
|
||||
|
||||
void get_cur_alp_hook(uint16_t keycode) {
|
||||
if (keycode >= 0xF0) {
|
||||
keycode = 0xF0;
|
||||
}
|
||||
if (m2s.cur_alp_index < 4) {
|
||||
m2s.current_alp[m2s.cur_alp_index] = pgm_read_byte(&code_to_name[keycode]);
|
||||
if (m2s.cur_alp_index == 1) {
|
||||
m2s.current_alp[2] = m2s.current_alp[3] = m2s.current_alp[4] = UNC;
|
||||
}
|
||||
m2s.cur_alp_index++;
|
||||
} else {
|
||||
for (uint8_t i = 2; i <= 4; ++i) {
|
||||
m2s.current_alp[i - 1] = m2s.current_alp[i];
|
||||
}
|
||||
m2s.current_alp[m2s.cur_alp_index] = pgm_read_byte(&code_to_name[keycode]);
|
||||
}
|
||||
}
|
||||
|
||||
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
|
||||
if (record->event.pressed) {
|
||||
get_cur_alp_hook(keycode);
|
||||
}
|
||||
if (!process_record_user(keycode, record)) {
|
||||
return false;
|
||||
}
|
||||
switch (keycode) {
|
||||
case TOG_OLED:
|
||||
if (record->event.pressed) {
|
||||
if (is_oled_on()) {
|
||||
oled_off();
|
||||
} else {
|
||||
oled_on();
|
||||
}
|
||||
}
|
||||
return false;
|
||||
default:
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void matrix_scan_kb(void) {
|
||||
if (!is_oled_on()) {
|
||||
m2s.cur_alp_index = 1;
|
||||
}
|
||||
matrix_scan_user();
|
||||
}
|
||||
|
||||
void user_sync_alpa_slave_handler(uint8_t in_buflen, const void *in_data, uint8_t out_buflen, void *out_data) {
|
||||
const master_to_slave_t *m2s_p = (const master_to_slave_t *)in_data;
|
||||
s2m.cur_alp_index = m2s_p->cur_alp_index;
|
||||
for (size_t i = 0; i < 7; i++) {
|
||||
s2m.current_alp[i] = m2s_p->current_alp[i];
|
||||
}
|
||||
}
|
||||
|
||||
void keyboard_post_init_kb(void) {
|
||||
transaction_register_rpc(KEYBOARD_CURRENT_ALPA_SYNC, user_sync_alpa_slave_handler);
|
||||
keyboard_post_init_user();
|
||||
}
|
||||
|
||||
void housekeeping_task_kb(void) {
|
||||
if (is_keyboard_master()) {
|
||||
// Interact with slave every 200ms
|
||||
static uint32_t last_sync = 0;
|
||||
if (timer_elapsed32(last_sync) > 200) {
|
||||
if (transaction_rpc_exec(KEYBOARD_CURRENT_ALPA_SYNC, sizeof(m2s), &m2s, sizeof(s2m), &s2m)) {
|
||||
last_sync = timer_read32();
|
||||
dprint("Slave sync successed!\n");
|
||||
} else {
|
||||
dprint("Slave sync failed!\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
housekeeping_task_user();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef SWAP_HANDS_ENABLE
|
||||
__attribute__((weak))
|
||||
const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Left hand, matrix positions */
|
||||
{{0, 6}, {1, 6}, {2, 6}, {3, 6}, {4, 6}, {5, 6}, {6, 6}},
|
||||
{{0, 7}, {1, 7}, {2, 7}, {3, 7}, {4, 7}, {5, 7}, {6, 7}},
|
||||
{{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}},
|
||||
{{0, 9}, {1, 9}, {2, 9}, {3, 9}, {4, 9}, {5, 9}, {6, 9}},
|
||||
{{0, 10}, {1, 10}, {2, 10}, {3, 10}, {4, 10}, {5, 10}, {6, 10}},
|
||||
{{0, 11}, {1, 11}, {2, 11}, {3, 11}, {4, 11}, {5, 11}, {6, 11}},
|
||||
|
||||
/* Right hand, matrix positions */
|
||||
{{0, 5}, {1, 5}, {2, 5}, {3, 5}, {4, 5}, {5, 5}, {6, 5}},
|
||||
{{0, 4}, {1, 4}, {2, 4}, {3, 4}, {4, 4}, {5, 4}, {6, 4}},
|
||||
{{0, 3}, {1, 3}, {2, 3}, {3, 3}, {4, 3}, {5, 3}, {6, 3}},
|
||||
{{0, 2}, {1, 2}, {2, 2}, {3, 2}, {4, 2}, {5, 2}, {6, 2}},
|
||||
{{0, 1}, {1, 1}, {2, 1}, {3, 1}, {4, 1}, {5, 1}, {6, 1}},
|
||||
{{0, 0}, {1, 0}, {2, 0}, {3, 0}, {4, 0}, {5, 0}, {6, 0}}
|
||||
};
|
||||
#endif
|
9
keyboards/hotdox76v2/hotdox76v2.h
Normal file
9
keyboards/hotdox76v2/hotdox76v2.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define TOG_OLED KC_F13
|
224
keyboards/hotdox76v2/info.json
Normal file
224
keyboards/hotdox76v2/info.json
Normal file
|
@ -0,0 +1,224 @@
|
|||
{
|
||||
"manufacturer": "JasonRen biu",
|
||||
"keyboard_name": "hotdox76",
|
||||
"maintainer": "Drashna Jael're",
|
||||
"bootloader": "atmel-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"lto": true,
|
||||
"oled": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["F7", "F6", "F5", "F4", "F1", "F0", "E6"],
|
||||
"rows": ["D6", "D7", "B4", "B5", "B6", "C6"]
|
||||
},
|
||||
"split": {
|
||||
"enabled": true,
|
||||
"soft_serial_pin": "D2"
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"url": "https://github.com/Oh-My-Mechanical-Keyboard",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0xAAA9",
|
||||
"vid": "0xAA96"
|
||||
},
|
||||
"community_layouts": [
|
||||
"ergodox"
|
||||
],
|
||||
"layouts": {
|
||||
"LAYOUT_ergodox": {
|
||||
"layout": [
|
||||
{ "label": "L00", "matrix": [5, 0], "w": 1.5, "x": 0, "y": 0.375 },
|
||||
{ "label": "L01", "matrix": [5, 1], "w": 1, "x": 1.5, "y": 0.375 },
|
||||
{ "label": "L02", "matrix": [5, 2], "w": 1, "x": 2.5, "y": 0.125 },
|
||||
{ "label": "L03", "matrix": [5, 3], "w": 1, "x": 3.5, "y": 0 },
|
||||
{ "label": "L04", "matrix": [5, 4], "w": 1, "x": 4.5, "y": 0.125 },
|
||||
{ "label": "L05", "matrix": [5, 5], "w": 1, "x": 5.5, "y": 0.25 },
|
||||
{ "label": "L06", "matrix": [5, 6], "w": 1, "x": 6.5, "y": 0.25 },
|
||||
|
||||
{ "label": "L10", "matrix": [4, 0], "w": 1.5, "x": 0, "y": 1.375 },
|
||||
{ "label": "L11", "matrix": [4, 1], "w": 1, "x": 1.5, "y": 1.375 },
|
||||
{ "label": "L12", "matrix": [4, 2], "w": 1, "x": 2.5, "y": 1.125 },
|
||||
{ "label": "L13", "matrix": [4, 3], "w": 1, "x": 3.5, "y": 1 },
|
||||
{ "label": "L14", "matrix": [4, 4], "w": 1, "x": 4.5, "y": 1.125 },
|
||||
{ "label": "L15", "matrix": [4, 5], "w": 1, "x": 5.5, "y": 1.25 },
|
||||
{ "label": "L16", "matrix": [4, 6], "w": 1, "x": 6.5, "y": 1.25, "h": 1.5 },
|
||||
|
||||
{ "label": "L20", "matrix": [3, 0], "w": 1.5, "x": 0, "y": 2.375 },
|
||||
{ "label": "L21", "matrix": [3, 1], "w": 1, "x": 1.5, "y": 2.375 },
|
||||
{ "label": "L22", "matrix": [3, 2], "w": 1, "x": 2.5, "y": 2.125 },
|
||||
{ "label": "L23", "matrix": [3, 3], "w": 1, "x": 3.5, "y": 2 },
|
||||
{ "label": "L24", "matrix": [3, 4], "w": 1, "x": 4.5, "y": 2.125 },
|
||||
{ "label": "L25", "matrix": [3, 5], "w": 1, "x": 5.5, "y": 2.25 },
|
||||
|
||||
{ "label": "L30", "matrix": [2, 0], "w": 1.5, "x": 0, "y": 3.375 },
|
||||
{ "label": "L31", "matrix": [2, 1], "w": 1, "x": 1.5, "y": 3.375 },
|
||||
{ "label": "L32", "matrix": [2, 2], "w": 1, "x": 2.5, "y": 3.125 },
|
||||
{ "label": "L33", "matrix": [2, 3], "w": 1, "x": 3.5, "y": 3 },
|
||||
{ "label": "L34", "matrix": [2, 4], "w": 1, "x": 4.5, "y": 3.125 },
|
||||
{ "label": "L35", "matrix": [2, 5], "w": 1, "x": 5.5, "y": 3.25 },
|
||||
{ "label": "L36", "matrix": [2, 6], "w": 1, "x": 6.5, "y": 2.75, "h": 1.5 },
|
||||
|
||||
{ "label": "L40", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 4.375 },
|
||||
{ "label": "L41", "matrix": [1, 1], "w": 1, "x": 1.5, "y": 4.375 },
|
||||
{ "label": "L42", "matrix": [1, 2], "w": 1, "x": 2.5, "y": 4.125 },
|
||||
{ "label": "L43", "matrix": [1, 3], "w": 1, "x": 3.5, "y": 4 },
|
||||
{ "label": "L44", "matrix": [1, 4], "w": 1, "x": 4.5, "y": 4.125 },
|
||||
|
||||
{ "label": "L55", "matrix": [0, 5], "w": 1, "x": 6, "y": 5 },
|
||||
{ "label": "L56", "matrix": [0, 6], "w": 1, "x": 7, "y": 5 },
|
||||
{ "label": "L54", "matrix": [0, 4], "w": 1, "x": 7, "y": 6 },
|
||||
{ "label": "L53", "matrix": [0, 3], "w": 1, "x": 5, "y": 6, "h": 2 },
|
||||
{ "label": "L52", "matrix": [0, 2], "w": 1, "x": 6, "y": 6, "h": 2 },
|
||||
{ "label": "L51", "matrix": [0, 1], "w": 1, "x": 7, "y": 7 },
|
||||
|
||||
{ "label": "R06", "matrix": [11, 6], "w": 1, "x": 9.5, "y": 0.25 },
|
||||
{ "label": "R05", "matrix": [11, 5], "w": 1, "x": 10.5, "y": 0.25 },
|
||||
{ "label": "R04", "matrix": [11, 4], "w": 1, "x": 11.5, "y": 0.125 },
|
||||
{ "label": "R03", "matrix": [11, 3], "w": 1, "x": 12.5, "y": 0 },
|
||||
{ "label": "R02", "matrix": [11, 2], "w": 1, "x": 13.5, "y": 0.125 },
|
||||
{ "label": "R01", "matrix": [11, 1], "w": 1, "x": 14.5, "y": 0.375 },
|
||||
{ "label": "R00", "matrix": [11, 0], "w": 1.5, "x": 15.5, "y": 0.375 },
|
||||
|
||||
{ "label": "R16", "matrix": [10, 6], "w": 1, "x": 9.5, "y": 1.25, "h": 1.5 },
|
||||
{ "label": "R15", "matrix": [10, 5], "w": 1, "x": 10.5, "y": 1.25 },
|
||||
{ "label": "R14", "matrix": [10, 4], "w": 1, "x": 11.5, "y": 1.125 },
|
||||
{ "label": "R13", "matrix": [10, 3], "w": 1, "x": 12.5, "y": 1 },
|
||||
{ "label": "R12", "matrix": [10, 2], "w": 1, "x": 13.5, "y": 1.125 },
|
||||
{ "label": "R11", "matrix": [10, 1], "w": 1, "x": 14.5, "y": 1.375 },
|
||||
{ "label": "R10", "matrix": [10, 0], "w": 1.5, "x": 15.5, "y": 1.375 },
|
||||
|
||||
{ "label": "R25", "matrix": [9, 5], "w": 1, "x": 10.5, "y": 2.25 },
|
||||
{ "label": "R24", "matrix": [9, 4], "w": 1, "x": 11.5, "y": 2.125 },
|
||||
{ "label": "R23", "matrix": [9, 3], "w": 1, "x": 12.5, "y": 2 },
|
||||
{ "label": "R22", "matrix": [9, 2], "w": 1, "x": 13.5, "y": 2.125 },
|
||||
{ "label": "R21", "matrix": [9, 1], "w": 1, "x": 14.5, "y": 2.375 },
|
||||
{ "label": "R20", "matrix": [9, 0], "w": 1.5, "x": 15.5, "y": 2.375 },
|
||||
|
||||
{ "label": "R36", "matrix": [8, 6], "w": 1, "x": 9.5, "y": 2.75, "h": 1.5 },
|
||||
{ "label": "R35", "matrix": [8, 5], "w": 1, "x": 10.5, "y": 3.25 },
|
||||
{ "label": "R34", "matrix": [8, 4], "w": 1, "x": 11.5, "y": 3.125 },
|
||||
{ "label": "R33", "matrix": [8, 3], "w": 1, "x": 12.5, "y": 3 },
|
||||
{ "label": "R32", "matrix": [8, 2], "w": 1, "x": 13.5, "y": 3.125 },
|
||||
{ "label": "R31", "matrix": [8, 1], "w": 1, "x": 14.5, "y": 3.375 },
|
||||
{ "label": "R30", "matrix": [8, 0], "w": 1.5, "x": 15.5, "y": 3.375 },
|
||||
|
||||
{ "label": "R44", "matrix": [7, 4], "w": 1, "x": 11.5, "y": 4.125 },
|
||||
{ "label": "R43", "matrix": [7, 3], "w": 1, "x": 12.5, "y": 4 },
|
||||
{ "label": "R42", "matrix": [7, 2], "w": 1, "x": 13.5, "y": 4.125 },
|
||||
{ "label": "R41", "matrix": [7, 1], "w": 1, "x": 14.5, "y": 4.375 },
|
||||
{ "label": "R40", "matrix": [7, 0], "w": 1, "x": 15.5, "y": 4.375 },
|
||||
|
||||
{ "label": "R56", "matrix": [6, 6], "w": 1, "x": 9, "y": 5 },
|
||||
{ "label": "R55", "matrix": [6, 5], "w": 1, "x": 10, "y": 5 },
|
||||
{ "label": "R54", "matrix": [6, 4], "w": 1, "x": 9, "y": 6 },
|
||||
{ "label": "R51", "matrix": [6, 1], "w": 1, "x": 9, "y": 7 },
|
||||
{ "label": "R52", "matrix": [6, 2], "w": 1, "x": 11, "y": 6, "h": 2 },
|
||||
{ "label": "R53", "matrix": [6, 3], "w": 1, "x": 10, "y": 6, "h": 2 }
|
||||
]
|
||||
},
|
||||
"LAYOUT_ergodox_pretty": {
|
||||
"layout": [
|
||||
{ "label": "L00", "matrix": [5, 0], "w": 1.5, "x": 0, "y": 0.375 },
|
||||
{ "label": "L01", "matrix": [5, 1], "w": 1, "x": 1.5, "y": 0.375 },
|
||||
{ "label": "L02", "matrix": [5, 2], "w": 1, "x": 2.5, "y": 0.125 },
|
||||
{ "label": "L03", "matrix": [5, 3], "w": 1, "x": 3.5, "y": 0 },
|
||||
{ "label": "L04", "matrix": [5, 4], "w": 1, "x": 4.5, "y": 0.125 },
|
||||
{ "label": "L05", "matrix": [5, 5], "w": 1, "x": 5.5, "y": 0.25 },
|
||||
{ "label": "L06", "matrix": [5, 6], "w": 1, "x": 6.5, "y": 0.25 },
|
||||
|
||||
{ "label": "R06", "matrix": [11, 6], "w": 1, "x": 9.5, "y": 0.25 },
|
||||
{ "label": "R05", "matrix": [11, 5], "w": 1, "x": 10.5, "y": 0.25 },
|
||||
{ "label": "R04", "matrix": [11, 4], "w": 1, "x": 11.5, "y": 0.125 },
|
||||
{ "label": "R03", "matrix": [11, 3], "w": 1, "x": 12.5, "y": 0 },
|
||||
{ "label": "R02", "matrix": [11, 2], "w": 1, "x": 13.5, "y": 0.125 },
|
||||
{ "label": "R01", "matrix": [11, 1], "w": 1, "x": 14.5, "y": 0.375 },
|
||||
{ "label": "R00", "matrix": [11, 0], "w": 1.5, "x": 15.5, "y": 0.375 },
|
||||
|
||||
{ "label": "L10", "matrix": [4, 0], "w": 1.5, "x": 0, "y": 1.375 },
|
||||
{ "label": "L11", "matrix": [4, 1], "w": 1, "x": 1.5, "y": 1.375 },
|
||||
{ "label": "L12", "matrix": [4, 2], "w": 1, "x": 2.5, "y": 1.125 },
|
||||
{ "label": "L13", "matrix": [4, 3], "w": 1, "x": 3.5, "y": 1 },
|
||||
{ "label": "L14", "matrix": [4, 4], "w": 1, "x": 4.5, "y": 1.125 },
|
||||
{ "label": "L15", "matrix": [4, 5], "w": 1, "x": 5.5, "y": 1.25 },
|
||||
{ "label": "L16", "matrix": [4, 6], "w": 1, "x": 6.5, "y": 1.25, "h": 1.5 },
|
||||
|
||||
{ "label": "R16", "matrix": [10, 6], "w": 1, "x": 9.5, "y": 1.25, "h": 1.5 },
|
||||
{ "label": "R15", "matrix": [10, 5], "w": 1, "x": 10.5, "y": 1.25 },
|
||||
{ "label": "R14", "matrix": [10, 4], "w": 1, "x": 11.5, "y": 1.125 },
|
||||
{ "label": "R13", "matrix": [10, 3], "w": 1, "x": 12.5, "y": 1 },
|
||||
{ "label": "R12", "matrix": [10, 2], "w": 1, "x": 13.5, "y": 1.125 },
|
||||
{ "label": "R11", "matrix": [10, 1], "w": 1, "x": 14.5, "y": 1.375 },
|
||||
{ "label": "R10", "matrix": [10, 0], "w": 1.5, "x": 15.5, "y": 1.375 },
|
||||
|
||||
{ "label": "L20", "matrix": [3, 0], "w": 1.5, "x": 0, "y": 2.375 },
|
||||
{ "label": "L21", "matrix": [3, 1], "w": 1, "x": 1.5, "y": 2.375 },
|
||||
{ "label": "L22", "matrix": [3, 2], "w": 1, "x": 2.5, "y": 2.125 },
|
||||
{ "label": "L23", "matrix": [3, 3], "w": 1, "x": 3.5, "y": 2 },
|
||||
{ "label": "L24", "matrix": [3, 4], "w": 1, "x": 4.5, "y": 2.125 },
|
||||
{ "label": "L25", "matrix": [3, 5], "w": 1, "x": 5.5, "y": 2.25 },
|
||||
|
||||
{ "label": "R25", "matrix": [9, 5], "w": 1, "x": 10.5, "y": 2.25 },
|
||||
{ "label": "R24", "matrix": [9, 4], "w": 1, "x": 11.5, "y": 2.125 },
|
||||
{ "label": "R23", "matrix": [9, 3], "w": 1, "x": 12.5, "y": 2 },
|
||||
{ "label": "R22", "matrix": [9, 2], "w": 1, "x": 13.5, "y": 2.125 },
|
||||
{ "label": "R21", "matrix": [9, 1], "w": 1, "x": 14.5, "y": 2.375 },
|
||||
{ "label": "R20", "matrix": [9, 0], "w": 1.5, "x": 15.5, "y": 2.375 },
|
||||
|
||||
{ "label": "L30", "matrix": [2, 0], "w": 1.5, "x": 0, "y": 3.375 },
|
||||
{ "label": "L31", "matrix": [2, 1], "w": 1, "x": 1.5, "y": 3.375 },
|
||||
{ "label": "L32", "matrix": [2, 2], "w": 1, "x": 2.5, "y": 3.125 },
|
||||
{ "label": "L33", "matrix": [2, 3], "w": 1, "x": 3.5, "y": 3 },
|
||||
{ "label": "L34", "matrix": [2, 4], "w": 1, "x": 4.5, "y": 3.125 },
|
||||
{ "label": "L35", "matrix": [2, 5], "w": 1, "x": 5.5, "y": 3.25 },
|
||||
{ "label": "L36", "matrix": [2, 6], "w": 1, "x": 6.5, "y": 2.75, "h": 1.5 },
|
||||
|
||||
{ "label": "R36", "matrix": [8, 6], "w": 1, "x": 9.5, "y": 2.75, "h": 1.5 },
|
||||
{ "label": "R35", "matrix": [8, 5], "w": 1, "x": 10.5, "y": 3.25 },
|
||||
{ "label": "R34", "matrix": [8, 4], "w": 1, "x": 11.5, "y": 3.125 },
|
||||
{ "label": "R33", "matrix": [8, 3], "w": 1, "x": 12.5, "y": 3 },
|
||||
{ "label": "R32", "matrix": [8, 2], "w": 1, "x": 13.5, "y": 3.125 },
|
||||
{ "label": "R31", "matrix": [8, 1], "w": 1, "x": 14.5, "y": 3.375 },
|
||||
{ "label": "R30", "matrix": [8, 0], "w": 1.5, "x": 15.5, "y": 3.375 },
|
||||
|
||||
{ "label": "L40", "matrix": [1, 0], "w": 1, "x": 0.5, "y": 4.375 },
|
||||
{ "label": "L41", "matrix": [1, 1], "w": 1, "x": 1.5, "y": 4.375 },
|
||||
{ "label": "L42", "matrix": [1, 2], "w": 1, "x": 2.5, "y": 4.125 },
|
||||
{ "label": "L43", "matrix": [1, 3], "w": 1, "x": 3.5, "y": 4 },
|
||||
{ "label": "L44", "matrix": [1, 4], "w": 1, "x": 4.5, "y": 4.125 },
|
||||
|
||||
{ "label": "R44", "matrix": [7, 4], "w": 1, "x": 11.5, "y": 4.125 },
|
||||
{ "label": "R43", "matrix": [7, 3], "w": 1, "x": 12.5, "y": 4 },
|
||||
{ "label": "R42", "matrix": [7, 2], "w": 1, "x": 13.5, "y": 4.125 },
|
||||
{ "label": "R41", "matrix": [7, 1], "w": 1, "x": 14.5, "y": 4.375 },
|
||||
{ "label": "R40", "matrix": [7, 0], "w": 1, "x": 15.5, "y": 4.375 },
|
||||
|
||||
{ "label": "L55", "matrix": [0, 5], "w": 1, "x": 6, "y": 5 },
|
||||
{ "label": "L56", "matrix": [0, 6], "w": 1, "x": 7, "y": 5 },
|
||||
|
||||
{ "label": "R56", "matrix": [6, 6], "w": 1, "x": 9, "y": 5 },
|
||||
{ "label": "R55", "matrix": [6, 5], "w": 1, "x": 10, "y": 5 },
|
||||
|
||||
{ "label": "L54", "matrix": [0, 4], "w": 1, "x": 7, "y": 6 },
|
||||
|
||||
{ "label": "R54", "matrix": [6, 4], "w": 1, "x": 9, "y": 6 },
|
||||
|
||||
{ "label": "L53", "matrix": [0, 3], "w": 1, "x": 5, "y": 6,"h": 2 },
|
||||
{ "label": "L52", "matrix": [0, 2], "w": 1, "x": 6, "y": 6,"h": 2 },
|
||||
{ "label": "L51", "matrix": [0, 1], "w": 1, "x": 7, "y": 7 },
|
||||
|
||||
{ "label": "R51", "matrix": [6, 1], "w": 1, "x": 9, "y": 7 },
|
||||
{ "label": "R52", "matrix": [6, 2], "w": 1, "x": 11, "y": 6, "h": 2 },
|
||||
{ "label": "R53", "matrix": [6, 3], "w": 1, "x": 10, "y": 6, "h": 2 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
35
keyboards/hotdox76v2/keymaps/default/keymap.c
Normal file
35
keyboards/hotdox76v2/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,35 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌──────┬───┬───┬───┬───┬───┬───┐ ┌───┬───┬───┬───┬───┬───┬──────┐
|
||||
* │ ` │ 1 │ 2 │ 3 │ 4 │ 5 │ = │ │ 5 │ 6 │ 7 │ 8 │ 9 │ 0 │ - │
|
||||
* ├──────┼───┼───┼───┼───┼───┼───┤ ├───┼───┼───┼───┼───┼───┼──────┤
|
||||
* │ Tab │ Q │ W │ E │ R │ T │ = │ │ Y │ Y │ U │ I │ O │ P │ \ │
|
||||
* ├──────┼───┼───┼───┼───┼───┤ │ │ ├───┼───┼───┼───┼───┼──────┤
|
||||
* │Escape│ A │ S │ D │ F │ G ├───┤ ├───┤ H │ J │ K │ L │ ; │ ' │
|
||||
* ├──────┼───┼───┼───┼───┼───┤ │ │ ├───┼───┼───┼───┼───┼──────┤
|
||||
* │Shift │ Z │ X │ C │ V │ B │ B │ │ N │ N │ M │ , │ . │ / │ Shift│
|
||||
* └──┬───┼───┼───┼───┼───┼───┴───┘ ┌───┬───┐ ┌───┬───┐ └───┴───┼───┼───┼───┼───┼───┬──┘
|
||||
* │Ctl│F4 │F5 │GUI│Alt│ │ C │ V │ │Alt│ A │ │ ← │ ↓ │ ↑ │ → │GUI│
|
||||
* └───┴───┴───┴───┴───┘ ┌───┼───┼───┤ ├───┼───┼───┐ └───┴───┴───┴───┴───┘
|
||||
* │ │ │PgU│ │PgD│ │ │
|
||||
* │Bsp│Bsp├───┤ ├───┤Ent│ │
|
||||
* │ │ │Del│ │Ctl│ │ │
|
||||
* └───┴───┴───┘ └───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ergodox_pretty(
|
||||
KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_EQL, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_EQL, KC_Y, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_ESC, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT,
|
||||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_B, KC_N, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT,
|
||||
KC_LCTL, KC_F4, KC_F5, KC_LGUI, KC_LALT, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT, KC_RGUI,
|
||||
KC_C, KC_V, KC_RALT, KC_A,
|
||||
KC_PGUP, KC_PGDN,
|
||||
KC_BSPC, KC_BSPC, KC_DEL, KC_RCTL, KC_ENT, KC_SPC
|
||||
)
|
||||
};
|
179
keyboards/hotdox76v2/keymaps/via/keymap.c
Normal file
179
keyboards/hotdox76v2/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,179 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
enum Layer_name {
|
||||
HOME,
|
||||
CODE,
|
||||
OFFICE,
|
||||
OTHER
|
||||
};
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/* Keymap 0: Basic layer
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | = | 1 | 2 | 3 | 4 | 5 | LEFT | | RIGHT| 6 | 7 | 8 | 9 | 0 | - |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | Del | Q | W | E | R | T | L1 | | L1 | Y | U | I | O | P | \ |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | BkSp | A | S | D | F | G |------| |------| H | J | K | L |; / L2|' / Cmd |
|
||||
* |--------+------+------+------+------+------| Hyper| | Meh |------+------+------+------+------+--------|
|
||||
* | LShift |Z/Ctrl| X | C | V | B | | | | N | M | , | . |//Ctrl| RShift |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* |Grv/L1| '" |AltShf| Left | Right| | Up | Down | [ | ] | ~L1 |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* | App | LGui | | Alt |Ctrl/Esc|
|
||||
* ,------|------|------| |------+--------+------.
|
||||
* | | | Home | | PgUp | | |
|
||||
* | Space|Backsp|------| |------| Tab |Enter |
|
||||
* | |ace | End | | PgDn | | |
|
||||
* `--------------------' `----------------------'
|
||||
*/
|
||||
LAYOUT_ergodox(
|
||||
// left hand
|
||||
KC_EQL, KC_1, KC_2, KC_3, KC_4, KC_5, KC_LEFT,
|
||||
KC_DEL, KC_Q, KC_W, KC_E, KC_R, KC_T, TG(1),
|
||||
KC_BSPC, KC_A, KC_S, KC_D, KC_F, KC_G,
|
||||
KC_LSFT, CTL_T(KC_Z), KC_X, KC_C, KC_V, KC_B, ALL_T(KC_NO),
|
||||
LT(1,KC_GRV), KC_QUOT, LALT(KC_LSFT), KC_LEFT,KC_RGHT,
|
||||
ALT_T(KC_APP), KC_LGUI,
|
||||
KC_HOME,
|
||||
KC_SPC,KC_BSPC,KC_END,
|
||||
// right hand
|
||||
KC_RGHT, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS,
|
||||
TG(1), KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSLS,
|
||||
KC_H, KC_J, KC_K, KC_L, LT(2, KC_SCLN), GUI_T(KC_QUOT),
|
||||
MEH_T(KC_NO),KC_N, KC_M, KC_COMM,KC_DOT, CTL_T(KC_SLSH), KC_RSFT,
|
||||
KC_UP, KC_DOWN,KC_LBRC,KC_RBRC, TT(1),
|
||||
KC_LALT, CTL_T(KC_ESC),
|
||||
KC_PGUP,
|
||||
KC_PGDN,KC_TAB, KC_ENT
|
||||
),
|
||||
/* Keymap 1: Symbol Layer
|
||||
*
|
||||
* ,---------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | F1 | F2 | F3 | F4 | F5 | | | | F6 | F7 | F8 | F9 | F10 | F11 |
|
||||
* |---------+------+------+------+------+------+------| |------+------+------+------+------+------+--------|
|
||||
* | | ! | @ | { | } | | | | | | Up | 7 | 8 | 9 | * | F12 |
|
||||
* |---------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | # | $ | ( | ) | ` |------| |------| Down | 4 | 5 | 6 | + | |
|
||||
* |---------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | % | ^ | [ | ] | ~ | | | | & | 1 | 2 | 3 | \ | |
|
||||
* `---------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | | | | | | | | . | 0 | = | |
|
||||
* `-----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* |Animat| | |Toggle| |
|
||||
* ,------|------|------| |------+------+------.
|
||||
* |Bright|Bright| | | |Hue- |Hue+ |
|
||||
* |ness- |ness+ |------| |------| | |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
LAYOUT_ergodox(
|
||||
// left hand
|
||||
KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_TRNS,
|
||||
KC_TRNS, KC_EXLM, KC_AT, KC_LCBR, KC_RCBR, KC_PIPE, KC_TRNS,
|
||||
KC_TRNS, KC_HASH, KC_DLR, KC_LPRN, KC_RPRN, KC_GRV,
|
||||
KC_TRNS, KC_PERC, KC_CIRC, KC_LBRC, KC_RBRC, KC_TILD, KC_TRNS,
|
||||
TOG_OLED, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
RGB_MOD,KC_TRNS,
|
||||
KC_TRNS,
|
||||
RGB_VAD,RGB_VAI,KC_TRNS,
|
||||
// right hand
|
||||
KC_TRNS, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11,
|
||||
KC_TRNS, KC_UP, KC_7, KC_8, KC_9, KC_ASTR, KC_F12,
|
||||
KC_DOWN, KC_4, KC_5, KC_6, KC_PLUS, KC_TRNS,
|
||||
KC_TRNS, KC_AMPR, KC_1, KC_2, KC_3, KC_BSLS, KC_TRNS,
|
||||
KC_TRNS,KC_DOT, KC_0, KC_EQL, KC_TRNS,
|
||||
RGB_TOG, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, RGB_HUD, RGB_HUI
|
||||
),
|
||||
/* Keymap 2: Media and mouse keys
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | |------| |------| | | | | | Play |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | Prev | Next | | |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | | | | Lclk | Rclk | |VolUp |VolDn | Mute | | |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* | | | | | |
|
||||
* ,------|------|------| |------+------+------.
|
||||
* | | | | | | |Brwser|
|
||||
* | | |------| |------| |Back |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
LAYOUT_ergodox(
|
||||
// left hand
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_BTN1, KC_BTN2,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
// right hand
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_MPLY,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_MPRV, KC_MNXT, KC_TRNS, KC_TRNS,
|
||||
KC_VOLU, KC_VOLD, KC_MUTE, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_WBAK
|
||||
),
|
||||
/* Keymap 3: Empty
|
||||
*
|
||||
* ,--------------------------------------------------. ,--------------------------------------------------.
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+-------------| |------+------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | |------| |------| | | | | | |
|
||||
* |--------+------+------+------+------+------| | | |------+------+------+------+------+--------|
|
||||
* | | | | | | | | | | | | | | | |
|
||||
* `--------+------+------+------+------+-------------' `-------------+------+------+------+------+--------'
|
||||
* | | | | | | | | | | | |
|
||||
* `----------------------------------' `----------------------------------'
|
||||
* ,-------------. ,-------------.
|
||||
* | | | | | |
|
||||
* ,------|------|------| |------+------+------.
|
||||
* | | | | | | | |
|
||||
* | | |------| |------| | |
|
||||
* | | | | | | | |
|
||||
* `--------------------' `--------------------'
|
||||
*/
|
||||
LAYOUT_ergodox(
|
||||
// left hand
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
// right hand
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS,
|
||||
KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS
|
||||
)
|
||||
};
|
3
keyboards/hotdox76v2/keymaps/via/rules.mk
Normal file
3
keyboards/hotdox76v2/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
VIA_ENABLE = yes
|
||||
SPACE_CADET_ENABLE = no
|
||||
GRAVE_ESC_ENABLE = no
|
122
keyboards/hotdox76v2/oled_font_lib/ext_font.h
Normal file
122
keyboards/hotdox76v2/oled_font_lib/ext_font.h
Normal file
|
@ -0,0 +1,122 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "progmem.h"
|
||||
|
||||
/*
|
||||
!(0) "(1) #(2) $(3) %(4) &(5) '(6) ((7)
|
||||
)(8) *(9) +(10) ,(11) -(12) .(13) /(14) 0(15)
|
||||
1(16) 2(17) 3(18) 4(19) 5(20) 6(21) 7(22) 8(23)
|
||||
9(24) :(25) ;(26) <(27) =(28) >(29) ?(30) @(31)
|
||||
A(32) B(33) C(34) D(35) E(36) F(37) G(38) H(39)
|
||||
I(40) J(41) K(42) L(43) M(44) N(45) O(46) P(47)
|
||||
Q(48) R(49) S(50) T(51) U(52) V(53) W(54) X(55)
|
||||
Y(56) Z(57) [(58) \(59) ](60) ^(61) _(62) `(63)
|
||||
a(64) b(65) c(66) d(67) e(68) f(69) g(70) h(71)
|
||||
i(72) j(73) k(74) l(75) m(76) n(77) o(78) p(79)
|
||||
q(80) r(81) s(82) t(83) u(84) v(85) w(86) x(87)
|
||||
y(88) z(89) {(90) |(91) }(92) ~(93) (94)
|
||||
*/
|
||||
|
||||
static const unsigned char ext_big_font[95][24] PROGMEM = {
|
||||
{0x00,0x00,0x00,0x00,0xFC,0xFC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0x1B,0x1B,0x1B,0x00,0x00,0x00,0x00},/*"!",0*/
|
||||
{0x00,0x00,0x00,0x18,0xF8,0x18,0x00,0x18,0xF8,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*""",1*/
|
||||
{0x00,0x00,0x60,0x60,0xFE,0xFE,0x60,0xFE,0xFE,0x60,0x00,0x00,0x00,0x00,0x06,0x7F,0x7F,0x06,0x7F,0x7F,0x06,0x06,0x00,0x00},/*"#",2*/
|
||||
{0x00,0x00,0x00,0xF0,0xF8,0x9E,0x9E,0xB8,0x38,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0xF9,0xF9,0x1F,0x0F,0x00,0x00,0x00},/*"$",3*/
|
||||
{0x00,0x00,0x38,0x44,0xC4,0xC4,0xB8,0x40,0x40,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x0E,0x11,0x11,0x11,0x0E,0x00,0x00,0x00},/*"%",4*/
|
||||
{0x00,0x00,0x60,0xE0,0xB0,0x30,0x30,0x30,0x30,0x00,0x00,0x00,0x00,0x0E,0x0F,0x19,0x19,0x1B,0x1E,0x0E,0x0F,0x1B,0x00,0x00},/*"&",5*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x18,0xF8,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"'",6*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0xC0,0xF0,0x3C,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x07,0x1F,0x78,0x60,0x00,0x00,0x00},/*"(",7*/
|
||||
{0x00,0x00,0x0C,0x3C,0xF0,0xC0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x78,0x1F,0x07,0x00,0x00,0x00,0x00,0x00,0x00},/*")",8*/
|
||||
{0x00,0x00,0x30,0xB0,0xF0,0xFC,0xFC,0xF0,0xB0,0x30,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x00,0x01,0x01,0x00,0x00,0x00},/*"*",9*/
|
||||
{0x00,0x80,0x80,0x80,0x80,0xF8,0xF8,0x80,0x80,0x80,0x80,0x00,0x00,0x01,0x01,0x01,0x01,0x1F,0x1F,0x01,0x01,0x01,0x01,0x00},/*"+",10*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xE0,0x38,0x08,0x00,0x00,0x00,0x00,0x00},/*",",11*/
|
||||
{0x00,0x00,0x00,0x80,0x80,0x80,0x80,0x80,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x01,0x01,0x01,0x01,0x01,0x01,0x01,0x00,0x00},/*"-",12*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x00,0x00,0x00,0x00},/*".",13*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x80,0xE0,0x78,0x1E,0x06,0x00,0x00,0x00,0x00,0x60,0x78,0x1E,0x07,0x01,0x00,0x00,0x00,0x00,0x00},/*"/",14*/
|
||||
{0x00,0x00,0xF0,0xF8,0x1C,0x0C,0x1C,0xF8,0xF0,0x00,0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x1C,0x0F,0x07,0x00,0x00,0x00},/*"0",15*/
|
||||
{0x00,0x00,0x18,0x18,0x18,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00},/*"1",16*/
|
||||
{0x00,0x00,0x30,0x38,0x0C,0x0C,0x8C,0xF8,0x70,0x00,0x00,0x00,0x00,0x00,0x18,0x1C,0x1E,0x1B,0x19,0x18,0x18,0x00,0x00,0x00},/*"2",17*/
|
||||
{0x00,0x00,0x18,0x1C,0xCC,0xCC,0xCC,0xFC,0x38,0x00,0x00,0x00,0x00,0x0C,0x1C,0x18,0x18,0x18,0x19,0x0F,0x07,0x00,0x00,0x00},/*"3",18*/
|
||||
{0x00,0x00,0xC0,0xE0,0x78,0x1C,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x03,0x03,0x03,0x1B,0x1B,0x1F,0x1F,0x1B,0x00,0x00,0x00},/*"4",19*/
|
||||
{0x00,0x00,0xFC,0xFC,0xCC,0xCC,0xCC,0x8C,0x00,0x00,0x00,0x00,0x00,0x0C,0x1C,0x18,0x18,0x18,0x18,0x0F,0x07,0x00,0x00,0x00},/*"5",20*/
|
||||
{0x00,0x00,0xE0,0xF0,0xB8,0xDC,0xCC,0xCC,0x8C,0x00,0x00,0x00,0x00,0x00,0x07,0x0F,0x19,0x18,0x18,0x1F,0x0F,0x00,0x00,0x00},/*"6",21*/
|
||||
{0x00,0x00,0x1C,0x1C,0x0C,0x0C,0xCC,0xFC,0x3C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1C,0x1F,0x03,0x00,0x00,0x00,0x00},/*"7",22*/
|
||||
{0x00,0x00,0x38,0xFC,0xCC,0xCC,0xCC,0xFC,0x38,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x18,0x18,0x18,0x1F,0x0F,0x00,0x00,0x00},/*"8",23*/
|
||||
{0x00,0x00,0xF8,0xFC,0x8C,0x8C,0xCC,0xF8,0xF0,0x00,0x00,0x00,0x00,0x00,0x18,0x19,0x19,0x1D,0x0E,0x07,0x03,0x00,0x00,0x00},/*"9",24*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x00,0x00,0x00,0x00},/*":",25*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x18,0x08,0x00,0x00,0x00,0x00,0x00},/*";",26*/
|
||||
{0x00,0x00,0x00,0x80,0x80,0xC0,0x60,0x60,0x30,0x30,0x00,0x00,0x00,0x01,0x01,0x03,0x03,0x06,0x0C,0x0C,0x18,0x18,0x00,0x00},/*"<",27*/
|
||||
{0x00,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0xC0,0x00,0x00,0x00,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x06,0x00,0x00},/*"=",28*/
|
||||
{0x00,0x30,0x30,0x60,0x60,0xC0,0x80,0x80,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x0C,0x0C,0x06,0x03,0x03,0x01,0x01,0x00,0x00},/*">",29*/
|
||||
{0x00,0x00,0x70,0x78,0x18,0x18,0x98,0xF8,0xF0,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x1B,0x1B,0x01,0x01,0x00,0x00,0x00,0x00},/*"?",30*/
|
||||
{0x00,0x00,0xF0,0x08,0xC4,0x24,0x24,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x10,0x21,0x22,0x22,0x13,0x00,0x00,0x00,0x00},/*"@",31*/
|
||||
{0x00,0x00,0x18,0x98,0xF8,0x38,0x38,0xF0,0x80,0x00,0x00,0x00,0x00,0x18,0x1C,0x1F,0x1B,0x03,0x03,0x1B,0x1F,0x1C,0x18,0x00},/*"A",32*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0x98,0x98,0xF8,0x70,0x00,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x19,0x19,0x19,0x1F,0x0E,0x00,0x00},/*"B",33*/
|
||||
{0x00,0xE0,0xF0,0x38,0x18,0x18,0x18,0x10,0x78,0x78,0x00,0x00,0x00,0x07,0x0F,0x0C,0x18,0x18,0x18,0x18,0x0C,0x0C,0x00,0x00},/*"C",34*/
|
||||
{0x00,0x18,0xF8,0xF8,0x18,0x18,0x18,0x38,0xF0,0xE0,0x00,0x00,0x00,0x18,0x1F,0x1F,0x18,0x18,0x18,0x1C,0x0F,0x07,0x00,0x00},/*"D",35*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0xD8,0xD8,0x18,0x78,0x78,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x1B,0x1B,0x18,0x1E,0x1E,0x00,0x00},/*"E",36*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0xD8,0xD8,0x18,0x78,0x78,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x1B,0x1B,0x00,0x00,0x00,0x00,0x00},/*"F",37*/
|
||||
{0x00,0xE0,0xF0,0x38,0x18,0x18,0x10,0x38,0x38,0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x1B,0x1B,0x1F,0x0F,0x03,0x00,0x00},/*"G",38*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0x80,0x98,0xF8,0xF8,0x18,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x01,0x19,0x1F,0x1F,0x18,0x00,0x00},/*"H",39*/
|
||||
{0x00,0x00,0x18,0x18,0x18,0xF8,0xF8,0x18,0x18,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00},/*"I",40*/
|
||||
{0x00,0x00,0x00,0x00,0x18,0x18,0x18,0xF8,0xF8,0x18,0x18,0x00,0x00,0x00,0x0F,0x0F,0x18,0x18,0x18,0x0F,0x0F,0x00,0x00,0x00},/*"J",41*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0xC0,0x78,0x38,0x18,0x18,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x01,0x07,0x1E,0x18,0x18,0x00,0x00},/*"K",42*/
|
||||
{0x00,0x18,0x18,0xF8,0xF8,0x18,0x18,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x1F,0x1F,0x00,0x00},/*"L",43*/
|
||||
{0x18,0xF8,0xF8,0x38,0xE0,0x00,0xE0,0x38,0xF8,0xF8,0x18,0x00,0x18,0x1F,0x1F,0x18,0x19,0x03,0x19,0x18,0x1F,0x1F,0x18,0x00},/*"M",44*/
|
||||
{0x00,0x18,0xF8,0xF8,0xF8,0xE0,0x18,0xF8,0xF8,0x18,0x00,0x00,0x00,0x18,0x1F,0x1F,0x18,0x03,0x1F,0x1F,0x1F,0x00,0x00,0x00},/*"N",45*/
|
||||
{0x00,0xC0,0xF0,0x30,0x18,0x18,0x18,0x30,0xF0,0xC0,0x00,0x00,0x00,0x03,0x0F,0x0C,0x18,0x18,0x18,0x0C,0x0F,0x03,0x00,0x00},/*"O",46*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0x98,0x98,0xF8,0xF0,0x00,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x19,0x19,0x01,0x00,0x00,0x00,0x00},/*"P",47*/
|
||||
{0x00,0xC0,0xF0,0x30,0x18,0x18,0x18,0x30,0xF0,0xC0,0x00,0x00,0x00,0x03,0x0F,0xCC,0xF8,0x78,0x78,0xCC,0xEF,0x63,0x00,0x00},/*"Q",48*/
|
||||
{0x00,0x18,0xF8,0xF8,0x98,0x98,0x98,0xF8,0x70,0x00,0x00,0x00,0x00,0x18,0x1F,0x1F,0x19,0x1B,0x07,0x0E,0x1C,0x18,0x00,0x00},/*"R",49*/
|
||||
{0x00,0x00,0x70,0xF8,0x98,0x98,0x90,0x38,0x38,0x00,0x00,0x00,0x00,0x00,0x1C,0x1C,0x09,0x19,0x19,0x1F,0x0E,0x00,0x00,0x00},/*"S",50*/
|
||||
{0x00,0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x18,0x18,0xF8,0xF8,0x00,0x00,0x00,0x00,0x18,0x18,0x1F,0x1F,0x18,0x18,0x00,0x00,0x00},/*"T",51*/
|
||||
{0x00,0x18,0xF8,0xF8,0x18,0x00,0x18,0xF8,0xF8,0x18,0x00,0x00,0x00,0x00,0x07,0x0F,0x18,0x18,0x18,0x0F,0x07,0x00,0x00,0x00},/*"U",52*/
|
||||
{0x00,0x18,0x78,0xF8,0x98,0x00,0x98,0xF8,0x78,0x18,0x00,0x00,0x00,0x00,0x00,0x03,0x1F,0x18,0x1F,0x03,0x00,0x00,0x00,0x00},/*"V",53*/
|
||||
{0x18,0xF8,0xF8,0x18,0xD8,0xC0,0xD8,0x18,0xF8,0xF8,0x18,0x00,0x00,0x01,0x1F,0x1C,0x1F,0x01,0x1F,0x1C,0x1F,0x01,0x00,0x00},/*"W",54*/
|
||||
{0x00,0x18,0x38,0x78,0xD8,0x80,0xD8,0x78,0x38,0x18,0x00,0x00,0x00,0x18,0x1C,0x1E,0x1B,0x01,0x1B,0x1E,0x1C,0x18,0x00,0x00},/*"X",55*/
|
||||
{0x00,0x18,0x38,0x78,0xD8,0x80,0x80,0xD8,0x78,0x38,0x18,0x00,0x00,0x00,0x00,0x18,0x18,0x1F,0x1F,0x18,0x18,0x00,0x00,0x00},/*"Y",56*/
|
||||
{0x00,0x00,0x78,0x78,0x18,0x98,0xD8,0x78,0x38,0x00,0x00,0x00,0x00,0x00,0x1C,0x1E,0x1B,0x19,0x18,0x1E,0x1E,0x00,0x00,0x00},/*"Z",57*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0xFC,0xFC,0x0C,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x60,0x60,0x00,0x00,0x00},/*"[",58*/
|
||||
{0x00,0x00,0x06,0x1E,0x78,0xE0,0x80,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x1E,0x78,0x60,0x00,0x00},/*"\",59*/
|
||||
{0x00,0x00,0x00,0x0C,0x0C,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x60,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00},/*"]",60*/
|
||||
{0x00,0x00,0x00,0x60,0x70,0x18,0x0C,0x18,0x70,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"^",61*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"_",62*/
|
||||
{0x00,0x00,0x00,0x00,0x02,0x04,0x08,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*"`",63*/
|
||||
{0x00,0x00,0x00,0x60,0x60,0x60,0x60,0xE0,0xC0,0x00,0x00,0x00,0x00,0x00,0x0E,0x1F,0x1B,0x1B,0x0B,0x1F,0x1F,0x18,0x00,0x00},/*"a",64*/
|
||||
{0x00,0x0C,0xFC,0xFC,0xC0,0x60,0x60,0xE0,0xC0,0x80,0x00,0x00,0x00,0x18,0x1F,0x1F,0x0C,0x18,0x18,0x1C,0x0F,0x07,0x00,0x00},/*"b",65*/
|
||||
{0x00,0x00,0x80,0xC0,0xE0,0x60,0x60,0x60,0xC0,0xE0,0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x18,0x18,0x18,0x0C,0x00,0x00},/*"c",66*/
|
||||
{0x00,0x00,0x80,0xC0,0xE0,0x60,0x60,0xCC,0xFC,0xFC,0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x18,0x0C,0x1F,0x1F,0x18,0x00},/*"d",67*/
|
||||
{0x00,0x00,0x80,0xC0,0x60,0x60,0x60,0x60,0xC0,0x80,0x00,0x00,0x00,0x00,0x07,0x0F,0x1B,0x1B,0x1B,0x1B,0x1B,0x0B,0x00,0x00},/*"e",68*/
|
||||
{0x00,0x00,0x60,0x60,0xF8,0xFC,0x6C,0x6C,0x6C,0x6C,0x00,0x00,0x00,0x00,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00,0x00},/*"f",69*/
|
||||
{0x00,0x00,0x80,0xC0,0xE0,0x60,0x60,0xC0,0xE0,0xE0,0x60,0x00,0x00,0x00,0x07,0x0F,0xDC,0xD8,0xD8,0xCC,0xFF,0x7F,0x00,0x00},/*"g",70*/
|
||||
{0x00,0x0C,0xFC,0xFC,0xC0,0x60,0x60,0x60,0xE0,0xC0,0x00,0x00,0x00,0x18,0x1F,0x1F,0x18,0x00,0x00,0x18,0x1F,0x1F,0x18,0x00},/*"h",71*/
|
||||
{0x00,0x00,0x00,0x60,0x60,0xEC,0xEC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00},/*"i",72*/
|
||||
{0x00,0x00,0x60,0x60,0x60,0x6C,0x6C,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0xC0,0xC0,0xC0,0xC0,0xC0,0xFF,0x7F,0x00,0x00,0x00},/*"j",73*/
|
||||
{0x00,0x00,0x0C,0xFC,0xFC,0x80,0xE0,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x18,0x1F,0x1F,0x03,0x06,0x1C,0x18,0x18,0x00,0x00},/*"k",74*/
|
||||
{0x00,0x00,0x00,0x0C,0x0C,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x18,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00},/*"l",75*/
|
||||
{0x00,0x60,0xE0,0xE0,0x60,0xE0,0xC0,0x60,0xE0,0xC0,0x00,0x00,0x00,0x18,0x1F,0x1F,0x00,0x1F,0x1F,0x00,0x1F,0x1F,0x18,0x00},/*"m",76*/
|
||||
{0x00,0x60,0xE0,0xE0,0xC0,0x60,0x60,0x60,0xE0,0xC0,0x00,0x00,0x00,0x18,0x1F,0x1F,0x18,0x00,0x00,0x18,0x1F,0x1F,0x18,0x00},/*"n",77*/
|
||||
{0x00,0x00,0x80,0xC0,0xE0,0x60,0x60,0xE0,0xC0,0x80,0x00,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0x18,0x1C,0x0F,0x07,0x00,0x00},/*"o",78*/
|
||||
{0x00,0x60,0xE0,0xE0,0xC0,0x60,0x60,0xE0,0xC0,0x80,0x00,0x00,0x00,0xC0,0xFF,0xFF,0xCC,0xD8,0x18,0x1C,0x0F,0x07,0x00,0x00},/*"p",79*/
|
||||
{0x00,0x00,0x80,0xC0,0xE0,0x60,0x60,0xC0,0xE0,0xE0,0x60,0x00,0x00,0x00,0x07,0x0F,0x1C,0x18,0xD8,0xCC,0xFF,0xFF,0xC0,0x00},/*"q",80*/
|
||||
{0x00,0x00,0x60,0x60,0xE0,0xE0,0xC0,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x18,0x18,0x1F,0x1F,0x18,0x18,0x18,0x00,0x00,0x00},/*"r",81*/
|
||||
{0x00,0x00,0xC0,0xE0,0x60,0x60,0x60,0xE0,0xE0,0x00,0x00,0x00,0x00,0x00,0x1D,0x1D,0x1B,0x1B,0x1B,0x1E,0x0E,0x00,0x00,0x00},/*"s",82*/
|
||||
{0x00,0x00,0x60,0x60,0xFC,0xFC,0x60,0x60,0x60,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0x1F,0x18,0x18,0x18,0x0C,0x00,0x00},/*"t",83*/
|
||||
{0x00,0x60,0xE0,0xE0,0x00,0x00,0x00,0x60,0xE0,0xE0,0x00,0x00,0x00,0x00,0x0F,0x1F,0x18,0x18,0x18,0x0C,0x1F,0x1F,0x18,0x00},/*"u",84*/
|
||||
{0x00,0x60,0xE0,0xE0,0x60,0x00,0x60,0xE0,0xE0,0x60,0x00,0x00,0x00,0x00,0x00,0x07,0x1F,0x18,0x1F,0x07,0x00,0x00,0x00,0x00},/*"v",85*/
|
||||
{0x60,0xE0,0xE0,0x60,0x00,0x80,0x00,0x60,0xE0,0xE0,0x60,0x00,0x00,0x01,0x1F,0x1E,0x07,0x03,0x07,0x1E,0x1F,0x01,0x00,0x00},/*"w",86*/
|
||||
{0x00,0x00,0x60,0xE0,0xE0,0x00,0x00,0xE0,0xE0,0x60,0x00,0x00,0x00,0x00,0x18,0x1C,0x1F,0x03,0x03,0x1F,0x1C,0x18,0x00,0x00},/*"x",87*/
|
||||
{0x00,0x60,0xE0,0xE0,0x60,0x00,0x00,0x60,0xE0,0xE0,0x60,0x00,0x00,0xC0,0xC0,0xC1,0xE7,0xFE,0xDC,0xC7,0x03,0x00,0x00,0x00},/*"y",88*/
|
||||
{0x00,0x00,0xE0,0xE0,0x60,0x60,0x60,0xE0,0xE0,0x60,0x00,0x00,0x00,0x00,0x18,0x1C,0x1E,0x1B,0x1B,0x19,0x1C,0x1C,0x00,0x00},/*"z",89*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0xF8,0xFC,0x0C,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x3F,0x7E,0x60,0x00,0x00,0x00,0x00},/*"{",90*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0xFC,0xFC,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x7F,0x7F,0x00,0x00,0x00,0x00,0x00},/*"|",91*/
|
||||
{0x00,0x00,0x00,0x00,0x0C,0xFC,0xF8,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x60,0x7E,0x3F,0x01,0x00,0x00,0x00,0x00},/*"}",92*/
|
||||
{0x00,0x00,0x80,0xC0,0xC0,0xC0,0x80,0x00,0x80,0x80,0x00,0x00,0x00,0x00,0x01,0x01,0x00,0x01,0x03,0x03,0x03,0x01,0x00,0x00},/*"~",93*/
|
||||
{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00},/*" ",94*/
|
||||
};
|
||||
|
||||
static const unsigned char blank_block PROGMEM = 0x00;
|
14
keyboards/hotdox76v2/oled_font_lib/logo2.h
Normal file
14
keyboards/hotdox76v2/oled_font_lib/logo2.h
Normal file
|
@ -0,0 +1,14 @@
|
|||
// Copyright 2021 JasonRen(biu)
|
||||
// Copyright 2022 Drashna Jael're (@Drashna Jael're)
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "progmem.h"
|
||||
|
||||
static const unsigned char logo_mouse[] PROGMEM = {
|
||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xAA,0xAA,0xA8,0xA8,0xAA,0xAA,0xA8,0xA0,0xA0,0x00,0x00,0x00,\
|
||||
0x00,0x00,0x00,0x00,0x80,0xA0,0xA8,0xA8,0xA8,0xA8,0xA8,0xA8,0xA0,0xA0,0xA0,0xA0,0xA0,0xA0,0xA8,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0x80,0x00,0x00,0x00,0x00,\
|
||||
0x00,0x00,0x00,0x2A,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0xAA,0x0A,0x02,0x00,0x00,0x00,0x00,\
|
||||
0x00,0x00,0x00,0x00,0x00,0x02,0x2A,0x2A,0x2A,0x2A,0x0A,0x02,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02,0x0A,0x2A,0x2A,0x2A,0x2A,0x02,0x00,0x00,0x00,0x00,0x00,0x00
|
||||
};
|
25
keyboards/hotdox76v2/readme.md
Normal file
25
keyboards/hotdox76v2/readme.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# hotdox76
|
||||
|
||||
*An Ergodox style keyboard with per key RGB.*
|
||||
|
||||
* Keyboard Maintainer: [Drashna Jael're](https://github.com/Drashna Jael're)
|
||||
* Hardware Supported: Hotdox 76v2
|
||||
* Hardware Availability: https://github.com/Oh-My-Mechanical-Keyboard
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make hotdox76v2:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make hotdox76v2:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead
|
||||
* **Keycode in layout**: Press the key mapped to `RESET` if it is available
|
1
keyboards/hotdox76v2/rules.mk
Normal file
1
keyboards/hotdox76v2/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
RGB_MATRIX_DRIVER = WS2812
|
|
@ -63,7 +63,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
* ┌─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┐
|
||||
* │ │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F10 │ F11 │ F12 │
|
||||
* ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
* │ │ │ │ │ │ │ │ Ü │ F9 │ Ö │ │ Del │
|
||||
* │ │ │ │ │ │ │ │ Ü │ F9 │ Ö │ Pscr│ Del │
|
||||
* ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
* │ Lck │ Ä │ ß │ │ │ GAME│ │RGB S│RGB B│RGB S│ │ │
|
||||
* ├─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
|
||||
|
@ -74,7 +74,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
*/
|
||||
[_FN] = LAYOUT(
|
||||
_______, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F10, KC_F11, KC_F12,
|
||||
_______, _______, _______, _______, _______, _______, _______, DE_UDIA, KC_F9, DE_ODIA, _______, KC_DEL,
|
||||
_______, _______, _______, _______, _______, _______, _______, DE_UDIA, KC_F9, DE_ODIA, KC_PSCR, KC_DEL,
|
||||
QK_LOCK, DE_ADIA, DE_SS, _______, _______, G_1, _______, RGB_M_P, RGB_M_SW,RGB_M_SN,_______, _______,
|
||||
_______, _______, _______, _______, _______, _______, _______, RGB_HUD, RGB_TOG, RGB_HUI, KC_PGUP, _______,
|
||||
XXXXXXX, _______, XXXXXXX, XXXXXXX, XXXXXXX, _______, XXXXXXX, XXXXXXX, KC_HOME, KC_PGDN, KC_END
|
||||
|
|
|
@ -1,16 +1,105 @@
|
|||
{
|
||||
"keyboard_name": "Star75",
|
||||
"keyboard_name": "Star75",
|
||||
"manufacturer": "DXWS",
|
||||
"url": "https://item.taobao.com/item.htm?id=656392112467",
|
||||
"maintainer": "qmk",
|
||||
"url": "https://item.taobao.com/item.htm?id=656392112467",
|
||||
"maintainer": "qmk",
|
||||
"usb": {
|
||||
"vid": "0x4B35",
|
||||
"pid": "0x6060",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"layout_aliases": {
|
||||
"LAYOUT_all": "LAYOUT"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_all": {
|
||||
"layout": [{"label":"Esc", "x":0, "y":0}, {"label":"F1", "x":1.5, "y":0}, {"label":"F2", "x":2.5, "y":0}, {"label":"F3", "x":3.5, "y":0}, {"label":"F4", "x":4.5, "y":0}, {"label":"F5", "x":6, "y":0}, {"label":"F6", "x":7, "y":0}, {"label":"F7", "x":8, "y":0}, {"label":"F8", "x":9, "y":0}, {"label":"F9", "x":10.5, "y":0}, {"label":"F10", "x":11.5, "y":0}, {"label":"F11", "x":12.5, "y":0}, {"label":"F12", "x":13.5, "y":0}, {"label":"Ins", "x":15, "y":0}, {"label":"~", "x":0, "y":1.25}, {"label":"!", "x":1, "y":1.25}, {"label":"@", "x":2, "y":1.25}, {"label":"#", "x":3, "y":1.25}, {"label":"$", "x":4, "y":1.25}, {"label":"%", "x":5, "y":1.25}, {"label":"^", "x":6, "y":1.25}, {"label":"&", "x":7, "y":1.25}, {"label":"*", "x":8, "y":1.25}, {"label":"(", "x":9, "y":1.25}, {"label":")", "x":10, "y":1.25}, {"label":"_", "x":11, "y":1.25}, {"label":"+", "x":12, "y":1.25}, {"label":"Backspace", "x":13, "y":1.25, "w":2}, {"label":"Home", "x":15, "y":1.25}, {"label":"Tab", "x":0, "y":2.25, "w":1.5}, {"label":"Q", "x":1.5, "y":2.25}, {"label":"W", "x":2.5, "y":2.25}, {"label":"E", "x":3.5, "y":2.25}, {"label":"R", "x":4.5, "y":2.25}, {"label":"T", "x":5.5, "y":2.25}, {"label":"Y", "x":6.5, "y":2.25}, {"label":"U", "x":7.5, "y":2.25}, {"label":"I", "x":8.5, "y":2.25}, {"label":"O", "x":9.5, "y":2.25}, {"label":"P", "x":10.5, "y":2.25}, {"label":"{", "x":11.5, "y":2.25}, {"label":"}", "x":12.5, "y":2.25}, {"label":"|", "x":13.5, "y":2.25, "w":1.5}, {"label":"PgUp", "x":15, "y":2.25}, {"label":"Capslock", "x":0, "y":3.25, "w":1.75}, {"label":"A", "x":1.75, "y":3.25}, {"label":"S", "x":2.75, "y":3.25}, {"label":"D", "x":3.75, "y":3.25}, {"label":"F", "x":4.75, "y":3.25}, {"label":"G", "x":5.75, "y":3.25}, {"label":"H", "x":6.75, "y":3.25}, {"label":"J", "x":7.75, "y":3.25}, {"label":"K", "x":8.75, "y":3.25}, {"label":"L", "x":9.75, "y":3.25}, {"label":"", "x":10.75, "y":3.25}, {"label":"\"", "x":11.75, "y":3.25}, {"label":"Enter", "x":12.75, "y":3.25, "w":2.25}, {"label":"PgDn", "x":15, "y":3.25}, {"label":"Shift", "x":0, "y":4.25, "w":2.25}, {"label":"Z", "x":2.25, "y":4.25}, {"label":"X", "x":3.25, "y":4.25}, {"label":"C", "x":4.25, "y":4.25}, {"label":"V", "x":5.25, "y":4.25}, {"label":"B", "x":6.25, "y":4.25}, {"label":"N", "x":7.25, "y":4.25}, {"label":"M", "x":8.25, "y":4.25}, {"label":"<", "x":9.25, "y":4.25}, {"label":">", "x":10.25, "y":4.25}, {"label":"?", "x":11.25, "y":4.25}, {"label":"Shift", "x":12.25, "y":4.25, "w":1.75}, {"label":"Up", "x":14, "y":4.25}, {"label":"Ctrl", "x":0, "y":5.25, "w":1.25}, {"label":"Win", "x":1.25, "y":5.25, "w":1.25}, {"label":"Alt", "x":2.5, "y":5.25, "w":1.25}, {"x":3.75, "y":5.25, "w":6.25}, {"label":"Fn", "x":10, "y":5.25, "w":1.25}, {"label":"Alt", "x":11.25, "y":5.25, "w":1.25}, {"label":"Left", "x":13, "y":5.25}, {"label":"Down", "x":14, "y":5.25}, {"label":"Right", "x":15, "y":5.25}]
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
{"label":"Esc", "x":0, "y":0},
|
||||
{"label":"F1", "x":1.5, "y":0},
|
||||
{"label":"F2", "x":2.5, "y":0},
|
||||
{"label":"F3", "x":3.5, "y":0},
|
||||
{"label":"F4", "x":4.5, "y":0},
|
||||
{"label":"F5", "x":6, "y":0},
|
||||
{"label":"F6", "x":7, "y":0},
|
||||
{"label":"F7", "x":8, "y":0},
|
||||
{"label":"F8", "x":9, "y":0},
|
||||
{"label":"F9", "x":10.5, "y":0},
|
||||
{"label":"F10", "x":11.5, "y":0},
|
||||
{"label":"F11", "x":12.5, "y":0},
|
||||
{"label":"F12", "x":13.5, "y":0},
|
||||
{"label":"Ins", "x":15, "y":0},
|
||||
|
||||
{"label":"~", "x":0, "y":1.25},
|
||||
{"label":"!", "x":1, "y":1.25},
|
||||
{"label":"@", "x":2, "y":1.25},
|
||||
{"label":"#", "x":3, "y":1.25},
|
||||
{"label":"$", "x":4, "y":1.25},
|
||||
{"label":"%", "x":5, "y":1.25},
|
||||
{"label":"^", "x":6, "y":1.25},
|
||||
{"label":"&", "x":7, "y":1.25},
|
||||
{"label":"*", "x":8, "y":1.25},
|
||||
{"label":"(", "x":9, "y":1.25},
|
||||
{"label":")", "x":10, "y":1.25},
|
||||
{"label":"_", "x":11, "y":1.25},
|
||||
{"label":"+", "x":12, "y":1.25},
|
||||
{"label":"Backspace", "x":13, "y":1.25, "w":2},
|
||||
{"label":"Home", "x":15, "y":1.25},
|
||||
|
||||
{"label":"Tab", "x":0, "y":2.25, "w":1.5},
|
||||
{"label":"Q", "x":1.5, "y":2.25},
|
||||
{"label":"W", "x":2.5, "y":2.25},
|
||||
{"label":"E", "x":3.5, "y":2.25},
|
||||
{"label":"R", "x":4.5, "y":2.25},
|
||||
{"label":"T", "x":5.5, "y":2.25},
|
||||
{"label":"Y", "x":6.5, "y":2.25},
|
||||
{"label":"U", "x":7.5, "y":2.25},
|
||||
{"label":"I", "x":8.5, "y":2.25},
|
||||
{"label":"O", "x":9.5, "y":2.25},
|
||||
{"label":"P", "x":10.5, "y":2.25},
|
||||
{"label":"{", "x":11.5, "y":2.25},
|
||||
{"label":"}", "x":12.5, "y":2.25},
|
||||
{"label":"|", "x":13.5, "y":2.25, "w":1.5},
|
||||
{"label":"PgUp", "x":15, "y":2.25},
|
||||
|
||||
{"label":"Capslock", "x":0, "y":3.25, "w":1.75},
|
||||
{"label":"A", "x":1.75, "y":3.25},
|
||||
{"label":"S", "x":2.75, "y":3.25},
|
||||
{"label":"D", "x":3.75, "y":3.25},
|
||||
{"label":"F", "x":4.75, "y":3.25},
|
||||
{"label":"G", "x":5.75, "y":3.25},
|
||||
{"label":"H", "x":6.75, "y":3.25},
|
||||
{"label":"J", "x":7.75, "y":3.25},
|
||||
{"label":"K", "x":8.75, "y":3.25},
|
||||
{"label":"L", "x":9.75, "y":3.25},
|
||||
{"label":"", "x":10.75, "y":3.25},
|
||||
{"label":"\"", "x":11.75, "y":3.25},
|
||||
{"label":"Enter", "x":12.75, "y":3.25, "w":2.25},
|
||||
{"label":"PgDn", "x":15, "y":3.25},
|
||||
|
||||
{"label":"Shift", "x":0, "y":4.25, "w":2.25},
|
||||
{"label":"Z", "x":2.25, "y":4.25},
|
||||
{"label":"X", "x":3.25, "y":4.25},
|
||||
{"label":"C", "x":4.25, "y":4.25},
|
||||
{"label":"V", "x":5.25, "y":4.25},
|
||||
{"label":"B", "x":6.25, "y":4.25},
|
||||
{"label":"N", "x":7.25, "y":4.25},
|
||||
{"label":"M", "x":8.25, "y":4.25},
|
||||
{"label":"<", "x":9.25, "y":4.25},
|
||||
{"label":">", "x":10.25, "y":4.25},
|
||||
{"label":"?", "x":11.25, "y":4.25},
|
||||
{"label":"Shift", "x":12.25, "y":4.25, "w":1.75},
|
||||
{"label":"Up", "x":14, "y":4.25},
|
||||
|
||||
{"label":"Ctrl", "x":0, "y":5.25, "w":1.25},
|
||||
{"label":"Win", "x":1.25, "y":5.25, "w":1.25},
|
||||
{"label":"Alt", "x":2.5, "y":5.25, "w":1.25},
|
||||
{"label":"Space", "x":3.75, "y":5.25, "w":6.25},
|
||||
{"label":"Fn", "x":10, "y":5.25, "w":1.25},
|
||||
{"label":"Alt", "x":11.25, "y":5.25, "w":1.25},
|
||||
{"label":"Left", "x":13, "y":5.25},
|
||||
{"label":"Down", "x":14, "y":5.25},
|
||||
{"label":"Right", "x":15, "y":5.25}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ enum layer_names {
|
|||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_HOME] = LAYOUT_all(
|
||||
[_HOME] = LAYOUT(
|
||||
KC_ESC, 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_INS,
|
||||
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,
|
||||
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,
|
||||
|
@ -20,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
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,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
[_FN1] = LAYOUT_all(
|
||||
[_FN1] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_RMOD, KC_TRNS),
|
||||
|
||||
[_FN2] = LAYOUT_all(
|
||||
[_FN2] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[_FN3] = LAYOUT_all(
|
||||
[_FN3] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
|
|
@ -12,7 +12,7 @@ enum layer_names {
|
|||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
|
||||
[_HOME] = LAYOUT_all(
|
||||
[_HOME] = LAYOUT(
|
||||
KC_ESC, 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_INS,
|
||||
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,
|
||||
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,
|
||||
|
@ -20,7 +20,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP,
|
||||
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, MO(1), KC_RALT, KC_LEFT, KC_DOWN, KC_RGHT),
|
||||
|
||||
[_FN1] = LAYOUT_all(
|
||||
[_FN1] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
@ -28,7 +28,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, RGB_TOG, RGB_RMOD, KC_TRNS),
|
||||
|
||||
[_FN2] = LAYOUT_all(
|
||||
[_FN2] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
@ -36,7 +36,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
|||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS),
|
||||
|
||||
[_FN3] = LAYOUT_all(
|
||||
[_FN3] = LAYOUT(
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS,
|
||||
|
|
|
@ -1,25 +1,41 @@
|
|||
/*
|
||||
/*
|
||||
Copyright 2022 Horns Lyn (@hornslyn)
|
||||
SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
#pragma once
|
||||
|
||||
#include "quantum.h"
|
||||
|
||||
#define LAYOUT_all( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, \
|
||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4C, K4D, \
|
||||
K50, K51, K52, K55, K59, K5A, K5C, K5D, K5E \
|
||||
#define XXX KC_NO
|
||||
|
||||
/*
|
||||
* ┌───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┬───┬───┬───┐ ┌───┐
|
||||
* │00 │ │01 │02 │03 │04 │ │05 │06 │07 │08 │ │09 │0A │0B │0C │ │0E │
|
||||
* └───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┴───┴───┴───┘ └───┘
|
||||
* ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───────┬───┐
|
||||
* │10 │11 │12 │13 │14 │15 │16 │17 │18 │19 │1A │1B │1C │1D │1E │
|
||||
* ├───┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─────┼───┤
|
||||
* │20 │21 │22 │23 │24 │25 │26 │27 │28 │29 │2A │2B │2C │2D │2E │
|
||||
* ├─────┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴┬──┴─────┼───┤
|
||||
* │30 │31 │32 │33 │34 │35 │36 │37 │38 │39 │3A │3B │3C │3E │
|
||||
* ├──────┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴─┬─┴────┬───┼───┘
|
||||
* │40 │41 │42 │43 │44 │45 │46 │47 │48 │49 │4A │4C │4D │
|
||||
* ├────┬───┴┬──┴─┬─┴───┴───┴───┴───┴───┴──┬┴───┼───┴┬─┬───┼───┼───┐
|
||||
* │50 │51 │52 │55 │59 │5A │ │5C │5D │5E │
|
||||
* └────┴────┴────┴────────────────────────┴────┴────┘ └───┴───┴───┘
|
||||
*/
|
||||
|
||||
#define LAYOUT( \
|
||||
K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, K0E, \
|
||||
K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E, \
|
||||
K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E, \
|
||||
K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, K3E, \
|
||||
K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4C, K4D, \
|
||||
K50, K51, K52, K55, K59, K5A, K5C, K5D, K5E \
|
||||
) { \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, KC_NO, K0E }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, KC_NO, K3E }, \
|
||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, KC_NO, K4C, K4D, KC_NO }, \
|
||||
{ K50, K51, K52, KC_NO, KC_NO, K55, KC_NO, KC_NO, KC_NO, K59, K5A, KC_NO, K5C, K5D, K5E } \
|
||||
{ K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C, XXX, K0E }, \
|
||||
{ K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C, K1D, K1E }, \
|
||||
{ K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C, K2D, K2E }, \
|
||||
{ K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C, XXX, K3E }, \
|
||||
{ K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, XXX, K4C, K4D, XXX }, \
|
||||
{ K50, K51, K52, XXX, XXX, K55, XXX, XXX, XXX, K59, K5A, XXX, K5C, K5D, K5E } \
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
33
keyboards/work_louder/numpad/config.h
Normal file
33
keyboards/work_louder/numpad/config.h
Normal file
|
@ -0,0 +1,33 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#pragma once
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
*/
|
||||
|
||||
/* disable debug print */
|
||||
//#define NO_DEBUG
|
||||
|
||||
/* disable print */
|
||||
//#define NO_PRINT
|
||||
|
||||
/* disable action features */
|
||||
//#define NO_ACTION_LAYER
|
||||
//#define NO_ACTION_TAPPING
|
||||
//#define NO_ACTION_ONESHOT
|
||||
|
||||
|
||||
// #define RGB_DI_PIN D1
|
||||
#define DRIVER_LED_TOTAL 16
|
||||
#define RGB_MATRIX_LED_COUNT DRIVER_LED_TOTAL
|
||||
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255
|
||||
#define RGB_MATRIX_DISABLE_KEYCODES
|
||||
#define RGB_DISABLE_WHEN_USB_SUSPENDED
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
||||
#define RGBLIGHT_DI_PIN D2
|
||||
#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_STATIC_GRADIENT + 9
|
||||
#define RGBLIGHT_DEFAULT_HUE 213
|
92
keyboards/work_louder/numpad/info.json
Normal file
92
keyboards/work_louder/numpad/info.json
Normal file
|
@ -0,0 +1,92 @@
|
|||
{
|
||||
"manufacturer": "Work Louder",
|
||||
"keyboard_name": "numpad",
|
||||
"maintainer": "Drashna Jael're",
|
||||
"bootloader": "atmel-dfu",
|
||||
"diode_direction": "COL2ROW",
|
||||
"features": {
|
||||
"bootmagic": true,
|
||||
"command": false,
|
||||
"console": false,
|
||||
"extrakey": true,
|
||||
"mousekey": true,
|
||||
"nkro": true,
|
||||
"rgblight": true,
|
||||
"rgb_matrix": true
|
||||
},
|
||||
"matrix_pins": {
|
||||
"cols": ["B5", "B6", "C6", "C7"],
|
||||
"rows": ["F1", "F4", "F5", "F6"]
|
||||
},
|
||||
"processor": "atmega32u4",
|
||||
"url": "https://worklouder.cc",
|
||||
"usb": {
|
||||
"device_version": "1.0.0",
|
||||
"pid": "0x99EB",
|
||||
"vid": "0x574C"
|
||||
},
|
||||
"build": {
|
||||
"lto": true
|
||||
},
|
||||
"rgb_matrix": {
|
||||
"driver": "WS2812",
|
||||
"layout": [
|
||||
{ "flags": 1, "matrix": [3, 3], "x": 141, "y": 64 },
|
||||
{ "flags": 1, "matrix": [3, 2], "x": 122, "y": 64 },
|
||||
{ "flags": 1, "matrix": [3, 1], "x": 103, "y": 64 },
|
||||
{ "flags": 4, "matrix": [3, 0], "x": 84, "y": 64 },
|
||||
{ "flags": 1, "matrix": [2, 0], "x": 84, "y": 45 },
|
||||
{ "flags": 1, "matrix": [2, 1], "x": 103, "y": 45 },
|
||||
{ "flags": 1, "matrix": [2, 2], "x": 122, "y": 45 },
|
||||
{ "flags": 4, "matrix": [2, 3], "x": 141, "y": 45 },
|
||||
{ "flags": 1, "matrix": [1, 3], "x": 141, "y": 26 },
|
||||
{ "flags": 1, "matrix": [1, 2], "x": 122, "y": 26 },
|
||||
{ "flags": 1, "matrix": [1, 1], "x": 103, "y": 26 },
|
||||
{ "flags": 4, "matrix": [1, 0], "x": 84, "y": 26 },
|
||||
{ "flags": 1, "matrix": [0, 0], "x": 84, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 1], "x": 103, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 2], "x": 122, "y": 7 },
|
||||
{ "flags": 4, "matrix": [0, 3], "x": 141, "y": 7 }
|
||||
]
|
||||
},
|
||||
"rgblight": {
|
||||
"animations": {
|
||||
"breathing": true,
|
||||
"knight": true,
|
||||
"rainbow_mood": true,
|
||||
"rainbow_swirl": true,
|
||||
"snake": true,
|
||||
"static_gradient": true,
|
||||
"twinkle": true
|
||||
},
|
||||
"brightness_steps": 8,
|
||||
"hue_steps": 8,
|
||||
"led_count": 8,
|
||||
"max_brightness": 255,
|
||||
"pin": "D1",
|
||||
"saturation_steps": 8,
|
||||
"sleep": true
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT_ortho_4x4": {
|
||||
"layout": [
|
||||
{ "matrix": [0, 0], "x": 0, "y": 0 },
|
||||
{ "matrix": [0, 1], "x": 1, "y": 0 },
|
||||
{ "matrix": [0, 2], "x": 2, "y": 0 },
|
||||
{ "matrix": [0, 3], "x": 3, "y": 0 },
|
||||
{ "matrix": [1, 0], "x": 0, "y": 1 },
|
||||
{ "matrix": [1, 1], "x": 1, "y": 1 },
|
||||
{ "matrix": [1, 2], "x": 2, "y": 1 },
|
||||
{ "matrix": [1, 3], "x": 3, "y": 1 },
|
||||
{ "matrix": [2, 0], "x": 0, "y": 2 },
|
||||
{ "matrix": [2, 1], "x": 1, "y": 2 },
|
||||
{ "matrix": [2, 2], "x": 2, "y": 2 },
|
||||
{ "matrix": [2, 3], "x": 3, "y": 2 },
|
||||
{ "matrix": [3, 0], "x": 0, "y": 3 },
|
||||
{ "matrix": [3, 1], "x": 1, "y": 3 },
|
||||
{ "matrix": [3, 2], "x": 2, "y": 3 },
|
||||
{ "matrix": [3, 3], "x": 3, "y": 3 }
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
24
keyboards/work_louder/numpad/keymaps/default/keymap.c
Normal file
24
keyboards/work_louder/numpad/keymaps/default/keymap.c
Normal file
|
@ -0,0 +1,24 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┐
|
||||
* │ 7 │ 8 │ 9 │ / │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 4 │ 5 │ 6 │ * │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 1 │ 2 │ 3 │ - │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 0 │ . │Ent│ + │
|
||||
* └───┴───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_4x4(
|
||||
KC_P7, KC_P8, KC_P9, KC_PSLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PAST,
|
||||
KC_P1, KC_P2, KC_P3, KC_PMNS,
|
||||
KC_P0, KC_PDOT, KC_PENT, KC_PPLS
|
||||
)
|
||||
};
|
24
keyboards/work_louder/numpad/keymaps/via/keymap.c
Normal file
24
keyboards/work_louder/numpad/keymaps/via/keymap.c
Normal file
|
@ -0,0 +1,24 @@
|
|||
// Copyright 2022 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||
|
||||
#include QMK_KEYBOARD_H
|
||||
|
||||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
|
||||
/*
|
||||
* ┌───┬───┬───┬───┐
|
||||
* │ 7 │ 8 │ 9 │ / │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 4 │ 5 │ 6 │ * │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 1 │ 2 │ 3 │ - │
|
||||
* ├───┼───┼───┼───┤
|
||||
* │ 0 │ . │Ent│ + │
|
||||
* └───┴───┴───┴───┘
|
||||
*/
|
||||
[0] = LAYOUT_ortho_4x4(
|
||||
KC_P7, KC_P8, KC_P9, KC_PSLS,
|
||||
KC_P4, KC_P5, KC_P6, KC_PAST,
|
||||
KC_P1, KC_P2, KC_P3, KC_PMNS,
|
||||
KC_P0, KC_PDOT, KC_PENT, KC_PPLS
|
||||
)
|
||||
};
|
1
keyboards/work_louder/numpad/keymaps/via/rules.mk
Normal file
1
keyboards/work_louder/numpad/keymaps/via/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
VIA_ENABLE = yes
|
27
keyboards/work_louder/numpad/readme.md
Normal file
27
keyboards/work_louder/numpad/readme.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# Work Louder Num Pad
|
||||
|
||||
![work_louder/numpad](https://worklouder.cc/wp-content/uploads/2022/08/Numpad-WP.png)
|
||||
|
||||
*An ATmega32u4 based 4x4 number pad with per key and underglow RGB*
|
||||
|
||||
* Keyboard Maintainer: [Drashna Jael're](https://github.com/drashna)
|
||||
* Hardware Supported: An ATmega32u4 based 4x4 number pad with per key and underglow RGB
|
||||
* Hardware Availability: [Work Louder](https://shop.worklouder.cc/)
|
||||
|
||||
Make example for this keyboard (after setting up your build environment):
|
||||
|
||||
make work_louder/numpad:default
|
||||
|
||||
Flashing example for this keyboard:
|
||||
|
||||
make work_louder/numpad:default:flash
|
||||
|
||||
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).
|
||||
|
||||
## Bootloader
|
||||
|
||||
Enter the bootloader in 3 ways:
|
||||
|
||||
* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard
|
||||
* **Physical reset button**: Briefly press the button on the back of the PCB
|
||||
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available
|
1
keyboards/work_louder/numpad/rules.mk
Normal file
1
keyboards/work_louder/numpad/rules.mk
Normal file
|
@ -0,0 +1 @@
|
|||
SRC += rgb_functions.c
|
|
@ -78,7 +78,7 @@ AVRDUDE_PROGRAMMER ?= avrdude
|
|||
define EXEC_AVRDUDE
|
||||
list_devices() { \
|
||||
if $(GREP) -q -s icrosoft /proc/version; then \
|
||||
wmic.exe path Win32_SerialPort get DeviceID 2>/dev/null | LANG=C perl -pne 's/COM(\d+)/COM.($$1-1)/e' | sed 's!COM!/dev/ttyS!' | xargs echo -n | sort; \
|
||||
powershell.exe 'Get-CimInstance -Class Win32_SerialPort | Select -ExpandProperty "DeviceID"' 2>/dev/null | sed -e "s/\r//g" | LANG=C perl -pne 's/COM(\d+)/COM.($$1-1)/e' | sed 's!COM!/dev/ttyS!' | sort; \
|
||||
elif [ "`uname`" = "FreeBSD" ]; then \
|
||||
ls /dev/tty* | grep -v '\.lock$$' | grep -v '\.init$$'; \
|
||||
else \
|
||||
|
|
Loading…
Reference in a new issue