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

@ -0,0 +1,46 @@
/* Copyright 2022 Sadek Baroudi
*
* 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
// ============================================================================
// KEYBOARD-SPECIFIC CONFIGURATION (fingerpunch/sweeeeep)
// These settings override userspace and keyboard defaults
// ============================================================================
// Split keyboard handedness detection method
// IMPORTANT: This must be set for EE_HANDS to work properly
#define EE_HANDS
// Alternative methods (comment out EE_HANDS and use one of these if needed):
// #define MASTER_LEFT // Left half is always master (USB connection side)
// #define MASTER_RIGHT // Right half is always master (USB connection side)
// #define SPLIT_HAND_PIN // Use a specific pin to detect handedness
// Split keyboard communication settings
// NOTE: SPLIT_USB_DETECT is NOT needed with EE_HANDS
// EE_HANDS automatically detects USB side as master
// Split keyboard features synchronization
#define SPLIT_LAYER_STATE_ENABLE // Sync layer state between halves
#define SPLIT_MODS_ENABLE // Sync modifier keys between halves
#define SPLIT_WPM_ENABLE // Sync WPM counter between halves
// OLED configuration (sweeeeep-specific)
#define OLED_FONT_H "keyboards/fingerpunch/sweeeeep/keymaps/smathev/glcdfont.c"
// Backwards compatibility with existing keymaps
#define LAYOUT_sweeeeep LAYOUT_split_3x5_3