Add handedness support and firmware build scripts for Fingerpunch Sweeeeep keyboard

This commit is contained in:
Smathev 2025-10-07 13:17:17 +02:00
parent cbaa62fa0d
commit a26527d2ae
9 changed files with 673 additions and 13 deletions

View file

@ -18,7 +18,8 @@ const uint16_t PROGMEM ctcl_combo[] = {FP_SUPER_TAB, KC_PGDN, COMBO_END}; // L1_
const uint16_t PROGMEM cancel_combo[] = {KC_LEFT, KC_HOME, COMBO_END}; // l2_K1 + L2_K2
const uint16_t PROGMEM ctrop_combo[] = {FP_SUPER_TAB, KC_PGDN, KC_UP, COMBO_END}; // L1_K3 + L1_K4 + L1_K5
const uint16_t PROGMEM ffive_combo[] = {KC_U, KC_G, COMBO_END}; // L1_K3 + L1_K4
const uint16_t PROGMEM reset_keyboard_combo[] = {KC_U, KC_G, KC_J, COMBO_END}; // L1_K3 + L1_K4 + L1_K5
const uint16_t PROGMEM reset_keyboard_left_combo[] = {KC_J, KC_M, KC_C, COMBO_END}; // L1_K3 + L1_K4 + L1_K5
const uint16_t PROGMEM reset_keyboard_right_combo[] = {KC_B, KC_P, KC_W, COMBO_END}; // L1_K3 + L1_K4 + L1_K5
combo_t key_combos[COMBO_COUNT] = {
COMBO(undo_combo, LCTL(KC_Z)),
COMBO(copy_combo, LCTL(KC_C)),
@ -36,7 +37,8 @@ combo_t key_combos[COMBO_COUNT] = {
COMBO(bcksp_combo, KC_BSPC),
COMBO(del_combo, KC_DEL),
COMBO(esc_combo, KC_ESC),
COMBO(reset_keyboard_combo, QK_BOOT)
COMBO(reset_keyboard_left_combo, QK_BOOT),
COMBO(reset_keyboard_right_combo, QK_BOOT)
};

View file

@ -3,7 +3,7 @@
#include QMK_KEYBOARD_H
// Define the number of combos
#define COMBO_COUNT 17
#define COMBO_COUNT 18
// Combo array declaration
extern combo_t key_combos[COMBO_COUNT];

View file

@ -16,22 +16,19 @@
#define ENABLE_COMPILE_KEYCODE
#pragma once
// Userspace-specific configuration
// Hardware-specific settings should be in the keyboard's config.h or info.json
// ============================================================================
// USERSPACE-WIDE CONFIGURATION
// These settings apply to ALL keyboards using the smathev userspace
// For keyboard-specific settings, use keyboards/.../keymaps/smathev/config.h
// ============================================================================
// Tapping and timing configuration
#define TAPPING_TERM 140
#define PERMISSIVE_HOLD // Activate mod immediately when another key pressed
#define AUTO_SHIFT_TIMEOUT 170 // Slightly longer than TAPPING_TERM
#define RETRO_SHIFT
#define RETRO_TAPPING
#define RETRO_SHIFT // Enable retroactive shift
#define RETRO_TAPPING // Enable retroactive tapping
// Combo configuration
#define CASEMODES_ENABLE
#define COMBO_REF_DEFAULT _NORTO
// Backwards compatibility with existing keymaps
#define LAYOUT_sweeeeep LAYOUT_split_3x5_3
// Custom font for OLED (if keyboard has OLED enabled)
#define OLED_FONT_H "keyboards/fingerpunch/sweeeeep/keymaps/smathev/glcdfont.c"