Merge remote-tracking branch 'qmk/master' into merge-2024-06-23

This commit is contained in:
Ilya Zhuravlev 2024-06-23 22:54:29 -06:00
commit e9d70b410a
15675 changed files with 653160 additions and 679575 deletions

View file

@ -21,11 +21,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -13,7 +13,21 @@
"rows": ["D4", "C6", "D7", "E6", "B4"]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",

View file

@ -1 +0,0 @@
# The default split keymap for 25

View file

@ -1,15 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Enable generic behavior for split boards
SPLIT_KEYBOARD = yes

View file

@ -23,8 +23,8 @@ void matrix_init_kb(void) {
// put your keyboard start-up code here
// runs once when the firmware starts up
setPinOutput(F4); // cathodes
setPinOutput(F5); // cathodes
gpio_set_pin_output(F4); // cathodes
gpio_set_pin_output(F5); // cathodes
// Do the rest
matrix_init_user();

View file

@ -1,39 +0,0 @@
/*
Copyright 2019 Arda Kilicdagi
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -14,6 +14,21 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"backlight": true,
"bootmagic": false,
"command": false,
"console": false,
"extrakey": true,
"mousekey": false,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["E6", "D7", "C6", "D4"]

View file

@ -1 +0,0 @@
# The default keymap for 4pack

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = no # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -1,24 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -15,6 +15,19 @@
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"community_layouts": ["ortho_4x4", "ortho_4x12"],
"layouts": {
"LAYOUT_ortho_4x4": {

View file

@ -79,7 +79,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[DIR] = LAYOUT_ortho_4x16(
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______, _______,
KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR, KC_LSFT, KC_LCTL, KC_PGDN, KC_END, KC_LBRC, KC_RBRC, KC_BSLS, _______, _______, _______, _______,
_______, KC_PAUS, _______, _______, _______, _______, _______, _______, KC_RGUI, KC_RALT, _______, _______, _______, _______, _______, _______,
DF(PAD), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______

View file

@ -96,7 +96,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
*/
[DIR] = LAYOUT_ortho_4x16(
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______, _______,
KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR, KC_LSFT, KC_LCTL, KC_PGDN, KC_END, KC_LBRC, KC_RBRC, KC_BSLS, _______, _______, _______, _______,
_______, KC_PAUS, _______, _______, _______, _______, _______, _______, KC_RGUI, KC_RALT, _______, _______, _______, _______, _______, _______,
DF(PAD), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______

View file

@ -1,15 +1,3 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
# Disable unsupported hardware
RGBLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no

View file

@ -1,24 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -8,6 +8,20 @@
"pid": "0x05B5",
"device_version": "1.0.0"
},
"features": {
"bootmagic": false,
"command": true,
"console": true,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D7", "E6", "B4", "B5", "B6", "B7", "D6", "F7", "F6", "F5", "F4", "F1", "F0", "B3", "B1"],
"rows": ["B2", "D1", "D0", "D4", "C6"]

View file

@ -91,7 +91,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[DIR] = LAYOUT_ortho_5x15(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______,
KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR, KC_LSFT, KC_LCTL, KC_PGDN, KC_END, KC_LBRC, KC_RBRC, KC_BSLS, _______, _______, _______,
_______, KC_PAUS, _______, _______, _______, _______, _______, _______, KC_RGUI, KC_RALT, _______, _______, _______, _______, _______,
DF(PAD), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______

View file

@ -108,7 +108,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[DIR] = LAYOUT_ortho_5x15(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______,
QK_BOOT, KC_TAB, KC_UP, _______, KC_INS, KC_LCTL, KC_LSFT, KC_PGUP, KC_HOME, KC_MINS, KC_EQL, KC_DEL, _______, _______, _______,
KC_CAPS, KC_LEFT, KC_DOWN, KC_RGHT, KC_PSCR, KC_LSFT, KC_LCTL, KC_PGDN, KC_END, KC_LBRC, KC_RBRC, KC_BSLS, _______, _______, _______,
_______, KC_PAUS, _______, _______, _______, _______, _______, _______, KC_RGUI, KC_RALT, _______, _______, _______, _______, _______,
DF(PAD), _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______

View file

@ -1,11 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -21,11 +21,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -13,7 +13,21 @@
"rows": ["D7", "E6"]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",

View file

@ -1 +0,0 @@
# The default split keymap for 6lit

View file

@ -1,15 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Enable generic behavior for split boards
SPLIT_KEYBOARD = yes

View file

@ -21,11 +21,6 @@
//#define MASTER_RIGHT
//#define EE_HANDS
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* Feature disable options
* These options are also useful to firmware size reduction.

View file

@ -13,7 +13,21 @@
"rows": ["D7", "E6", "B4"]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",

View file

@ -70,6 +70,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[FN5] = LAYOUT_split(
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______
_______, _______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______
),
};

View file

@ -1 +0,0 @@
# The default split keymap for foobar

View file

@ -1,15 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Enable generic behavior for split boards
SPLIT_KEYBOARD = yes

View file

@ -1,7 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View file

@ -8,16 +8,19 @@
"pid": "0x6060",
"device_version": "0.0.1"
},
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"nkro": true,
"backlight": true
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "B5"
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_3x10"],
"layouts": {
"LAYOUT_ortho_3x10": {

View file

@ -0,0 +1,12 @@
{
"development_board": "kb2040",
"matrix_pins": {
"cols": ["GP8", "GP7", "GP6", "GP5", "GP4", "GP3"],
"rows": ["GP26", "GP18", "GP20", "GP19", "GP10"]
},
"diode_direction": "COL2ROW",
"backlight": {
"pin": "GP9",
"driver": "software"
}
}

View file

@ -1 +0,0 @@
CONVERT_TO = kb2040

View file

@ -46,30 +46,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[5] = LAYOUT_ortho_3x10(
KC_CALC, KC_WHOM, KC_MAIL, KC_MYCM, _______, _______, _______, _______, _______, KC_PSCR,
_______, _______, _______, _______, _______, _______, _______, _______, BL_DOWN, BL_UP,
_______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______
_______, _______, _______, _______, QK_BOOT, _______, _______, _______, _______, _______
)
};
void keyboard_pre_init_user(void) {
// Call the keyboard pre init code.
// Set our LED pins as output
setPinOutput(D5);
setPinOutput(B0);
}
bool led_update_user(led_t led_state) {
if (led_state.num_lock) {
writePinLow(D5);
} else {
writePinHigh(D5);
}
if (led_state.caps_lock) {
writePinLow(B0);
} else {
writePinHigh(B0);
}
return false;
}

View file

@ -0,0 +1,16 @@
{
"development_board": "promicro",
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]
},
"diode_direction": "COL2ROW",
"indicators": {
"num_lock": "D5",
"caps_lock": "B0",
"on_state": 0
},
"backlight": {
"pin": "B5"
}
}

View file

@ -1,16 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = no
# Disable unsupported hardware
RGBLIGHT_SUPPORTED = no
AUDIO_SUPPORTED = no

View file

@ -1,39 +0,0 @@
/*
Copyright 2019 Boy_314
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -13,7 +13,21 @@
"rows": ["D4", "C6", "D7", "E6"]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": false,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"split": {
"enabled": true,
"soft_serial_pin": "D0"
},
"processor": "atmega32u4",

View file

@ -15,12 +15,6 @@
*/
#include QMK_KEYBOARD_H
// Defines the keycodes used by our macros in process_record_user
enum custom_keycodes {
QMKBEST = SAFE_RANGE,
QMKURL
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT( /* Base */
QK_GESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_LCTL, KC_RCTL, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC,
@ -29,25 +23,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_SPC, KC_SPC
),
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QMKBEST:
if (record->event.pressed) {
// when keycode QMKBEST is pressed
SEND_STRING("QMK is the best thing ever!");
} else {
// when keycode QMKBEST is released
}
break;
case QMKURL:
if (record->event.pressed) {
// when keycode QMKURL is pressed
SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
} else {
// when keycode QMKURL is released
}
break;
}
return true;
}

View file

@ -1 +0,0 @@
# The default keymap for half_n_half

View file

@ -1,15 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Enable generic behavior for split boards
SPLIT_KEYBOARD = yes

View file

@ -1,38 +0,0 @@
/* Copyright 2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -1,11 +1,110 @@
{
"keyboard_name": "i75",
"manufacturer": "di0ib",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4025",
"pid": "0x0A0C",
"device_version": "1.7.5"
}
"keyboard_name": "i75",
"manufacturer": "di0ib",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4025",
"pid": "0x0A0C",
"device_version": "1.7.5"
},
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"console": true,
"command": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"community_layouts": ["ortho_5x15"],
"layouts": {
"LAYOUT_ortho_5x15": {
"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": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [1, 0], "x": 9, "y": 0},
{"matrix": [1, 1], "x": 10, "y": 0},
{"matrix": [1, 2], "x": 11, "y": 0},
{"matrix": [1, 3], "x": 12, "y": 0},
{"matrix": [1, 4], "x": 13, "y": 0},
{"matrix": [1, 5], "x": 14, "y": 0},
{"matrix": [1, 6], "x": 0, "y": 1},
{"matrix": [1, 7], "x": 1, "y": 1},
{"matrix": [1, 8], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 3, "y": 1},
{"matrix": [2, 1], "x": 4, "y": 1},
{"matrix": [2, 2], "x": 5, "y": 1},
{"matrix": [2, 3], "x": 6, "y": 1},
{"matrix": [2, 4], "x": 7, "y": 1},
{"matrix": [2, 5], "x": 8, "y": 1},
{"matrix": [2, 6], "x": 9, "y": 1},
{"matrix": [2, 7], "x": 10, "y": 1},
{"matrix": [2, 8], "x": 11, "y": 1},
{"matrix": [3, 0], "x": 12, "y": 1},
{"matrix": [3, 1], "x": 13, "y": 1},
{"matrix": [3, 2], "x": 14, "y": 1},
{"matrix": [3, 3], "x": 0, "y": 2},
{"matrix": [3, 4], "x": 1, "y": 2},
{"matrix": [3, 5], "x": 2, "y": 2},
{"matrix": [3, 6], "x": 3, "y": 2},
{"matrix": [3, 7], "x": 4, "y": 2},
{"matrix": [3, 8], "x": 5, "y": 2},
{"matrix": [4, 0], "x": 6, "y": 2},
{"matrix": [4, 1], "x": 7, "y": 2},
{"matrix": [4, 2], "x": 8, "y": 2},
{"matrix": [4, 3], "x": 9, "y": 2},
{"matrix": [4, 4], "x": 10, "y": 2},
{"matrix": [4, 5], "x": 11, "y": 2},
{"matrix": [4, 6], "x": 12, "y": 2},
{"matrix": [4, 7], "x": 13, "y": 2},
{"matrix": [4, 8], "x": 14, "y": 2},
{"matrix": [5, 0], "x": 0, "y": 3},
{"matrix": [5, 1], "x": 1, "y": 3},
{"matrix": [5, 2], "x": 2, "y": 3},
{"matrix": [5, 3], "x": 3, "y": 3},
{"matrix": [5, 4], "x": 4, "y": 3},
{"matrix": [5, 5], "x": 5, "y": 3},
{"matrix": [5, 6], "x": 6, "y": 3},
{"matrix": [5, 7], "x": 7, "y": 3},
{"matrix": [5, 8], "x": 8, "y": 3},
{"matrix": [6, 0], "x": 9, "y": 3},
{"matrix": [6, 1], "x": 10, "y": 3},
{"matrix": [6, 2], "x": 11, "y": 3},
{"matrix": [6, 3], "x": 12, "y": 3},
{"matrix": [6, 4], "x": 13, "y": 3},
{"matrix": [6, 5], "x": 14, "y": 3},
{"matrix": [6, 6], "x": 0, "y": 4},
{"matrix": [6, 7], "x": 1, "y": 4},
{"matrix": [6, 8], "x": 2, "y": 4},
{"matrix": [7, 0], "x": 3, "y": 4},
{"matrix": [7, 1], "x": 4, "y": 4},
{"matrix": [7, 2], "x": 5, "y": 4},
{"matrix": [7, 3], "x": 6, "y": 4},
{"matrix": [7, 4], "x": 7, "y": 4},
{"matrix": [7, 5], "x": 8, "y": 4},
{"matrix": [7, 6], "x": 9, "y": 4},
{"matrix": [7, 7], "x": 10, "y": 4},
{"matrix": [7, 8], "x": 11, "y": 4},
{"matrix": [8, 0], "x": 12, "y": 4},
{"matrix": [8, 1], "x": 13, "y": 4},
{"matrix": [8, 2], "x": 14, "y": 4}
]
}
}
}

View file

@ -15,12 +15,6 @@
*/
#include QMK_KEYBOARD_H
// Defines the keycodes used by our macros in process_record_user
enum custom_keycodes {
QMKBEST = SAFE_RANGE,
QMKURL
};
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[0] = LAYOUT_ortho_5x15(
KC_ESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSLS, KC_GRV,
@ -30,25 +24,3 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),
};
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
switch (keycode) {
case QMKBEST:
if (record->event.pressed) {
// when keycode QMKBEST is pressed
SEND_STRING("QMK is the best thing ever!");
} else {
// when keycode QMKBEST is released
}
break;
case QMKURL:
if (record->event.pressed) {
// when keycode QMKURL is pressed
SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
} else {
// when keycode QMKURL is released
}
break;
}
return true;
}

View file

@ -1 +0,0 @@
# The default keymap for i75

View file

@ -1,95 +0,0 @@
{
"matrix_pins": {
"cols": ["B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"community_layouts": ["ortho_5x15"],
"layouts": {
"LAYOUT_ortho_5x15": {
"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": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [1, 0], "x": 9, "y": 0},
{"matrix": [1, 1], "x": 10, "y": 0},
{"matrix": [1, 2], "x": 11, "y": 0},
{"matrix": [1, 3], "x": 12, "y": 0},
{"matrix": [1, 4], "x": 13, "y": 0},
{"matrix": [1, 5], "x": 14, "y": 0},
{"matrix": [1, 6], "x": 0, "y": 1},
{"matrix": [1, 7], "x": 1, "y": 1},
{"matrix": [1, 8], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 3, "y": 1},
{"matrix": [2, 1], "x": 4, "y": 1},
{"matrix": [2, 2], "x": 5, "y": 1},
{"matrix": [2, 3], "x": 6, "y": 1},
{"matrix": [2, 4], "x": 7, "y": 1},
{"matrix": [2, 5], "x": 8, "y": 1},
{"matrix": [2, 6], "x": 9, "y": 1},
{"matrix": [2, 7], "x": 10, "y": 1},
{"matrix": [2, 8], "x": 11, "y": 1},
{"matrix": [3, 0], "x": 12, "y": 1},
{"matrix": [3, 1], "x": 13, "y": 1},
{"matrix": [3, 2], "x": 14, "y": 1},
{"matrix": [3, 3], "x": 0, "y": 2},
{"matrix": [3, 4], "x": 1, "y": 2},
{"matrix": [3, 5], "x": 2, "y": 2},
{"matrix": [3, 6], "x": 3, "y": 2},
{"matrix": [3, 7], "x": 4, "y": 2},
{"matrix": [3, 8], "x": 5, "y": 2},
{"matrix": [4, 0], "x": 6, "y": 2},
{"matrix": [4, 1], "x": 7, "y": 2},
{"matrix": [4, 2], "x": 8, "y": 2},
{"matrix": [4, 3], "x": 9, "y": 2},
{"matrix": [4, 4], "x": 10, "y": 2},
{"matrix": [4, 5], "x": 11, "y": 2},
{"matrix": [4, 6], "x": 12, "y": 2},
{"matrix": [4, 7], "x": 13, "y": 2},
{"matrix": [4, 8], "x": 14, "y": 2},
{"matrix": [5, 0], "x": 0, "y": 3},
{"matrix": [5, 1], "x": 1, "y": 3},
{"matrix": [5, 2], "x": 2, "y": 3},
{"matrix": [5, 3], "x": 3, "y": 3},
{"matrix": [5, 4], "x": 4, "y": 3},
{"matrix": [5, 5], "x": 5, "y": 3},
{"matrix": [5, 6], "x": 6, "y": 3},
{"matrix": [5, 7], "x": 7, "y": 3},
{"matrix": [5, 8], "x": 8, "y": 3},
{"matrix": [6, 0], "x": 9, "y": 3},
{"matrix": [6, 1], "x": 10, "y": 3},
{"matrix": [6, 2], "x": 11, "y": 3},
{"matrix": [6, 3], "x": 12, "y": 3},
{"matrix": [6, 4], "x": 13, "y": 3},
{"matrix": [6, 5], "x": 14, "y": 3},
{"matrix": [6, 6], "x": 0, "y": 4},
{"matrix": [6, 7], "x": 1, "y": 4},
{"matrix": [6, 8], "x": 2, "y": 4},
{"matrix": [7, 0], "x": 3, "y": 4},
{"matrix": [7, 1], "x": 4, "y": 4},
{"matrix": [7, 2], "x": 5, "y": 4},
{"matrix": [7, 3], "x": 6, "y": 4},
{"matrix": [7, 4], "x": 7, "y": 4},
{"matrix": [7, 5], "x": 8, "y": 4},
{"matrix": [7, 6], "x": 9, "y": 4},
{"matrix": [7, 7], "x": 10, "y": 4},
{"matrix": [7, 8], "x": 11, "y": 4},
{"matrix": [8, 0], "x": 12, "y": 4},
{"matrix": [8, 1], "x": 13, "y": 4},
{"matrix": [8, 2], "x": 14, "y": 4}
]
}
}
}

View file

@ -0,0 +1,9 @@
{
"matrix_pins": {
"cols": ["B5", "B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"],
"rows": ["B4", "E6", "D7", "C6", "D4", "D0", "D1", "D2", "D3"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina"
}

View file

@ -1,14 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = yes # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DEFAULT_FOLDER = 40percentclub/i75/promicro

View file

@ -1,95 +0,0 @@
{
"matrix_pins": {
"cols": ["C6", "C7", "D6", "D7", "B5", "B6", "F7", "F6", "F5"],
"rows": ["D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay",
"community_layouts": ["ortho_5x15"],
"layouts": {
"LAYOUT_ortho_5x15": {
"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": [0, 4], "x": 4, "y": 0},
{"matrix": [0, 5], "x": 5, "y": 0},
{"matrix": [0, 6], "x": 6, "y": 0},
{"matrix": [0, 7], "x": 7, "y": 0},
{"matrix": [0, 8], "x": 8, "y": 0},
{"matrix": [1, 0], "x": 9, "y": 0},
{"matrix": [1, 1], "x": 10, "y": 0},
{"matrix": [1, 2], "x": 11, "y": 0},
{"matrix": [1, 3], "x": 12, "y": 0},
{"matrix": [1, 4], "x": 13, "y": 0},
{"matrix": [1, 5], "x": 14, "y": 0},
{"matrix": [1, 6], "x": 0, "y": 1},
{"matrix": [1, 7], "x": 1, "y": 1},
{"matrix": [1, 8], "x": 2, "y": 1},
{"matrix": [2, 0], "x": 3, "y": 1},
{"matrix": [2, 1], "x": 4, "y": 1},
{"matrix": [2, 2], "x": 5, "y": 1},
{"matrix": [2, 3], "x": 6, "y": 1},
{"matrix": [2, 4], "x": 7, "y": 1},
{"matrix": [2, 5], "x": 8, "y": 1},
{"matrix": [2, 6], "x": 9, "y": 1},
{"matrix": [2, 7], "x": 10, "y": 1},
{"matrix": [2, 8], "x": 11, "y": 1},
{"matrix": [3, 0], "x": 12, "y": 1},
{"matrix": [3, 1], "x": 13, "y": 1},
{"matrix": [3, 2], "x": 14, "y": 1},
{"matrix": [3, 3], "x": 0, "y": 2},
{"matrix": [3, 4], "x": 1, "y": 2},
{"matrix": [3, 5], "x": 2, "y": 2},
{"matrix": [3, 6], "x": 3, "y": 2},
{"matrix": [3, 7], "x": 4, "y": 2},
{"matrix": [3, 8], "x": 5, "y": 2},
{"matrix": [4, 0], "x": 6, "y": 2},
{"matrix": [4, 1], "x": 7, "y": 2},
{"matrix": [4, 2], "x": 8, "y": 2},
{"matrix": [4, 3], "x": 9, "y": 2},
{"matrix": [4, 4], "x": 10, "y": 2},
{"matrix": [4, 5], "x": 11, "y": 2},
{"matrix": [4, 6], "x": 12, "y": 2},
{"matrix": [4, 7], "x": 13, "y": 2},
{"matrix": [4, 8], "x": 14, "y": 2},
{"matrix": [5, 0], "x": 0, "y": 3},
{"matrix": [5, 1], "x": 1, "y": 3},
{"matrix": [5, 2], "x": 2, "y": 3},
{"matrix": [5, 3], "x": 3, "y": 3},
{"matrix": [5, 4], "x": 4, "y": 3},
{"matrix": [5, 5], "x": 5, "y": 3},
{"matrix": [5, 6], "x": 6, "y": 3},
{"matrix": [5, 7], "x": 7, "y": 3},
{"matrix": [5, 8], "x": 8, "y": 3},
{"matrix": [6, 0], "x": 9, "y": 3},
{"matrix": [6, 1], "x": 10, "y": 3},
{"matrix": [6, 2], "x": 11, "y": 3},
{"matrix": [6, 3], "x": 12, "y": 3},
{"matrix": [6, 4], "x": 13, "y": 3},
{"matrix": [6, 5], "x": 14, "y": 3},
{"matrix": [6, 6], "x": 0, "y": 4},
{"matrix": [6, 7], "x": 1, "y": 4},
{"matrix": [6, 8], "x": 2, "y": 4},
{"matrix": [7, 0], "x": 3, "y": 4},
{"matrix": [7, 1], "x": 4, "y": 4},
{"matrix": [7, 2], "x": 5, "y": 4},
{"matrix": [7, 3], "x": 6, "y": 4},
{"matrix": [7, 4], "x": 7, "y": 4},
{"matrix": [7, 5], "x": 8, "y": 4},
{"matrix": [7, 6], "x": 9, "y": 4},
{"matrix": [7, 7], "x": 10, "y": 4},
{"matrix": [7, 8], "x": 11, "y": 4},
{"matrix": [8, 0], "x": 12, "y": 4},
{"matrix": [8, 1], "x": 13, "y": 4},
{"matrix": [8, 2], "x": 14, "y": 4}
]
}
}
}

View file

@ -0,0 +1,9 @@
{
"matrix_pins": {
"cols": ["C6", "C7", "D6", "D7", "B5", "B6", "F7", "F6", "F5"],
"rows": ["D3", "D2", "D1", "D0", "B7", "B3", "B2", "B1", "B0"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay"
}

View file

@ -1,7 +0,0 @@
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE

View file

@ -8,6 +8,22 @@
"pid": "0x4C55",
"device_version": "10.0.1"
},
"features": {
"backlight": true,
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["F4", "F5", "F6", "F7", "B1", "B3", "B2", "B6"],
"rows": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6"]

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = yes

View file

@ -1,39 +0,0 @@
/*
Copyright 2012 Jun Wako <wakojun@gmail.com>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -8,6 +8,21 @@
"pid": "0x4D68",
"device_version": "1.0.1"
},
"features": {
"backlight": true,
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4"],
"rows": ["B6", "B2", "B3", "B1", "F7", "F6", "F5", "F4"]

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -28,6 +28,16 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"bootmagic": false,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true,
"unicode": true
},
"matrix_pins": {
"direct": [
["F4", "F5", "F6", "F7"],

View file

@ -1,13 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
UNICODE_ENABLE = yes # Unicode
RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight.

View file

@ -1,38 +0,0 @@
/* Copyright 2019
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -10,6 +10,20 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"matrix_pins": {
"direct": [
["F4", "F5", "F6"],

View file

@ -22,7 +22,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_ortho_3x3(
QK_BOOT, _______, KC_STOP,
QK_BOOT, _______, KC_STOP,
_______, _______, RGB_MOD,
KC_MPRV, _______, KC_MNXT
),

View file

@ -22,7 +22,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
KC_LEFT, KC_DOWN, KC_RGHT
),
[1] = LAYOUT_ortho_3x3(
QK_BOOT, _______, KC_STOP,
QK_BOOT, _______, KC_STOP,
_______, _______, RGB_MOD,
KC_MPRV, _______, KC_MNXT
),

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -1,38 +0,0 @@
/* Copyright 2018
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -13,6 +13,21 @@
"rows": ["D3", "D2", "D1", "D0"]
},
"diode_direction": "COL2ROW",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true,
"backlight": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"backlight": {
"pin": "B5"
},

View file

@ -126,7 +126,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-----------------------------------------------------------------------------------'
*/
[_ADJUST] = LAYOUT_ortho_4x12(
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
_______, QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_DEL,
_______, _______, _______, AU_ON, AU_OFF, AG_NORM, AG_SWAP, QWERTY, COLEMAK, DVORAK, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______

View file

@ -1 +0,0 @@
# The default keymap

View file

@ -1,15 +1,2 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
# Disable unsupported hardware
AUDIO_SUPPORTED = no

View file

@ -1,40 +0,0 @@
/* Copyright 2021
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
//more detailed config options start below:
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/*
* 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

View file

@ -3,9 +3,44 @@
"manufacturer": "di0ib",
"url": "",
"maintainer": "QMK",
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"usb": {
"vid": "0x4025",
"pid": "0x6060",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x3": {
"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": 0, "y": 1},
{"matrix": [0, 4], "x": 1, "y": 1},
{"matrix": [0, 5], "x": 2, "y": 1},
{"matrix": [0, 6], "x": 0, "y": 2},
{"matrix": [0, 7], "x": 1, "y": 2},
{"matrix": [0, 8], "x": 2, "y": 2},
{"matrix": [0, 9], "x": 0, "y": 3},
{"matrix": [0, 10], "x": 1, "y": 3},
{"matrix": [0, 11], "x": 2, "y": 3}
]
}
}
}

View file

@ -1,30 +0,0 @@
{
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6", "E6", "B4", "F4", "F5", "F6", "F7", "B3", "B2"],
"rows": ["D7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina",
"layouts": {
"LAYOUT_ortho_4x3": {
"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": 0, "y": 1},
{"matrix": [0, 4], "x": 1, "y": 1},
{"matrix": [0, 5], "x": 2, "y": 1},
{"matrix": [0, 6], "x": 0, "y": 2},
{"matrix": [0, 7], "x": 1, "y": 2},
{"matrix": [0, 8], "x": 2, "y": 2},
{"matrix": [0, 9], "x": 0, "y": 3},
{"matrix": [0, 10], "x": 1, "y": 3},
{"matrix": [0, 11], "x": 2, "y": 3}
]
}
}
}

View file

@ -0,0 +1,9 @@
{
"matrix_pins": {
"cols": ["D1", "D0", "D4", "C6", "E6", "B4", "F4", "F5", "F6", "F7", "B3", "B2"],
"rows": ["D7"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "caterina"
}

View file

@ -1,14 +1 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
DEFAULT_FOLDER = 40percentclub/polyandry/promicro

View file

@ -1,30 +0,0 @@
{
"matrix_pins": {
"cols": ["B7", "D0", "D1", "D2", "C6", "C7", "F6", "F7", "B6", "B5", "D7", "D6"],
"rows": ["D3"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay",
"layouts": {
"LAYOUT_ortho_4x3": {
"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": 0, "y": 1},
{"matrix": [0, 4], "x": 1, "y": 1},
{"matrix": [0, 5], "x": 2, "y": 1},
{"matrix": [0, 6], "x": 0, "y": 2},
{"matrix": [0, 7], "x": 1, "y": 2},
{"matrix": [0, 8], "x": 2, "y": 2},
{"matrix": [0, 9], "x": 0, "y": 3},
{"matrix": [0, 10], "x": 1, "y": 3},
{"matrix": [0, 11], "x": 2, "y": 3}
]
}
}
}

View file

@ -0,0 +1,9 @@
{
"matrix_pins": {
"cols": ["B7", "D0", "D1", "D2", "C6", "C7", "F6", "F7", "B6", "B5", "D7", "D6"],
"rows": ["D3"]
},
"diode_direction": "COL2ROW",
"processor": "atmega32u4",
"bootloader": "halfkay"
}

View file

@ -21,6 +21,15 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"backlight": true,
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"matrix_pins": {
"direct": [
["D4", "C6", "D7"],

View file

@ -1 +0,0 @@
# The default keymap for Six Pack

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output

View file

@ -16,9 +16,9 @@
#include "quantum.h"
void matrix_init_kb(void) {
setPinOutput(B6); // Backlight cathodes Col.3
setPinOutput(F6); // Backlight cathodes Col.2
setPinOutput(F7); // Backlight cathodes Col.1
gpio_set_pin_output(B6); // Backlight cathodes Col.3
gpio_set_pin_output(F6); // Backlight cathodes Col.2
gpio_set_pin_output(F7); // Backlight cathodes Col.1
matrix_init_user();
}

View file

@ -1,7 +0,0 @@
#pragma once
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* eliminate lag on space cadet mods */
#define PERMISSIVE_HOLD

View file

@ -28,6 +28,24 @@
"ws2812": {
"pin": "B5"
},
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": true,
"rgblight": true
},
"qmk": {
"locking": {
"enabled": false,
"resync": true
}
},
"tapping": {
"permissive_hold": true
},
"matrix_pins": {
"cols": ["B4", "E6", "D7", "C6", "D4", "D0"],
"rows": ["F7", "B1", "B3", "B2", "B6"]

View file

@ -94,6 +94,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_ortho_3x10
( KC_CALC,KC_WSCH,KC_MAIL,KC_MYCM,_______,_______,_______,_______,_______,_______
, RGB_TOG,RGB_MOD,RGB_HUI,RGB_HUD,XXXXXXX,XXXXXXX,RGB_SAI,RGB_SAD,RGB_VAI,RGB_VAD
, _______,_______,_______,_______,QK_BOOT, _______,_______,_______,_______,_______
, _______,_______,_______,_______,QK_BOOT,_______,_______,_______,_______,_______
),
};

View file

@ -1,12 +0,0 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no
RGBLIGHT_ENABLE = yes

View file

@ -28,10 +28,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW, ROW2COL*/
#define DIODE_DIRECTION COL2ROW
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
/* Enable GNAP matrix serial output */
#define GNAP_ENABLE

View file

@ -10,6 +10,19 @@
},
"processor": "atmega32u4",
"bootloader": "caterina",
"features": {
"bootmagic": true,
"mousekey": true,
"extrakey": true,
"command": true,
"nkro": true
},
"qmk": {
"locking": {
"enabled": true,
"resync": true
}
},
"layouts": {
"LAYOUT": {
"layout": [

View file

@ -25,16 +25,14 @@ bool led_update_kb(led_t led_state)
if (res) {
if (led_state.caps_lock) {
// output low
DDRB |= (1<<0);
PORTB &= ~(1<<0);
DDRD |= (1<<5);
PORTD &= ~(1<<5);
gpio_set_pin_output(B0);
gpio_write_pin_low(B0);
gpio_set_pin_output(D5);
gpio_write_pin_low(D5);
} else {
// Hi-Z
DDRB &= ~(1<<0);
PORTB &= ~(1<<0);
DDRD &= ~(1<<5);
PORTD &= ~(1<<5);
gpio_set_pin_input(B0);
gpio_set_pin_input(D5);
}
}
return false;

View file

@ -126,14 +126,18 @@ void matrix_print(void)
static void init_cols(void)
{
// Input with pull-up(DDR:0, PORT:1)
DDRF &= ~(1<<4 | 1<<5 | 1<<6 | 1<<7);
PORTF |= (1<<4 | 1<<5 | 1<<6 | 1<<7);
DDRE &= ~(1<<6);
PORTE |= (1<<6);
DDRD &= ~(1<<7);
PORTD |= (1<<7);
DDRB &= ~(1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6);
PORTB |= (1<<1 | 1<<2 | 1<<3 | 1<<4 | 1<<5 | 1<<6);
gpio_set_pin_input_high(F4);
gpio_set_pin_input_high(F5);
gpio_set_pin_input_high(F6);
gpio_set_pin_input_high(F7);
gpio_set_pin_input_high(E6);
gpio_set_pin_input_high(D7);
gpio_set_pin_input_high(B1);
gpio_set_pin_input_high(B2);
gpio_set_pin_input_high(B3);
gpio_set_pin_input_high(B4);
gpio_set_pin_input_high(B5);
gpio_set_pin_input_high(B6);
}
static matrix_row_t read_cols(void)
@ -160,10 +164,10 @@ static matrix_row_t read_cols(void)
static void unselect_rows(void)
{
// Hi-Z(DDR:0, PORT:0) to unselect
DDRD &= ~0b00010011;
PORTD &= ~0b00010011;
DDRC &= ~0b01000000;
PORTC &= ~0b01000000;
gpio_set_pin_input(C6);
gpio_set_pin_input(D0);
gpio_set_pin_input(D1);
gpio_set_pin_input(D4);
}
static void select_row(uint8_t row)
@ -171,20 +175,20 @@ static void select_row(uint8_t row)
// Output low(DDR:1, PORT:0) to select
switch (row) {
case 0:
DDRD |= (1<<1);
PORTD &= ~(1<<1);
gpio_set_pin_output(D1);
gpio_write_pin_low(D1);
break;
case 1:
DDRD |= (1<<0);
PORTD &= ~(1<<0);
gpio_set_pin_output(D0);
gpio_write_pin_low(D0);
break;
case 2:
DDRD |= (1<<4);
PORTD &= ~(1<<4);
gpio_set_pin_output(D4);
gpio_write_pin_low(D4);
break;
case 3:
DDRC |= (1<<6);
PORTC &= ~(1<<6);
gpio_set_pin_output(C6);
gpio_write_pin_low(C6);
break;
}
}

View file

@ -1,16 +1,3 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = yes # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
# custom matrix setup
CUSTOM_MATRIX = yes
SRC += matrix.c
UART_DRIVER_REQUIRED = yes