Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions keyboards/handwired/tractyl_manuform/5x6_right/pipico/config.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#pragma once

// --- Half-Duplex Split Configuration (Single Wire over PIO) ---
// This completely ignores GP0 and handles all RX/TX traffic over GP1
// #define SOFT_SERIAL_PIN GP1

Comment on lines +3 to +6

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// --- Half-Duplex Split Configuration (Single Wire over PIO) ---
// This completely ignores GP0 and handles all RX/TX traffic over GP1
// #define SOFT_SERIAL_PIN GP1

// Handshake & Handedness
#define SPLIT_WATCHDOG_ENABLE
#define EE_HANDS
#define SPLIT_USB_DETECT

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the default behavior, not needed.

Suggested change
#define SPLIT_USB_DETECT


// --- SPI Hardware Configuration ---
#define SPI_SCK_PIN GP10
#define SPI_MOSI_PIN GP11
#define SPI_MISO_PIN GP12
#define PMW3360_CS_PIN GP13
#define POINTING_DEVICE_CS_PIN GP13

// Tell QMK to use the newly enabled SPI1 block
#define SPI_DRIVER SPID1

// --- Sensor Axis Rotations ---
#define PMW3360_INVERT_X
#define PMW3360_INVERT_Y
// #define POINTING_DEVICE_ROTATION_90

#define VIA_DYNAMIC_KEYMAP_ENABLE
#define VIA_EEPROM_LAYOUT_OPTIONS_ENABLE
Comment on lines +27 to +28

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's not how these are enabled.

Suggested change
#define VIA_DYNAMIC_KEYMAP_ENABLE
#define VIA_EEPROM_LAYOUT_OPTIONS_ENABLE


#define USB_ENDPOINT_COUNT 4

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a thing?

Suggested change
#define USB_ENDPOINT_COUNT 4

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"keyboard_name": "Tractyl Manuform(5x6) Pi Pico (r)/ Pi Pico (l)",
"matrix_pins": {
"cols": ["GP15", "GP14", "GP21", "GP20", "GP19", "GP18"],
"rows": ["GP17", "GP16", "GP2", "GP3", "GP4", "GP5"]
},
"diode_direction": "COL2ROW",
"split": {
"enabled": true,
"soft_serial_pin": "GP0",
"matrix_pins": {
"right": {
"cols": ["GP7", "GP6", "GP5", "GP4", "GP3", "GP2"],
"rows": ["GP21", "GP20", "GP19", "GP18", "GP17", "GP16"]
}
}
},
"processor": "RP2040",
"bootloader": "rp2040",
"build": {
"lto": true
}
Comment on lines +20 to +22

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"build": {
"lto": true
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
SERIAL_DRIVER = vendor
SPI_DRIVER = vendor
POINTING_DEVICE_DRIVER = pmw3360

VIA_ENABLE = yes
VIA_PROTOCOL_VERSION = 12
Comment on lines +5 to +6

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be removed.

Suggested change
VIA_ENABLE = yes
VIA_PROTOCOL_VERSION = 12

1 change: 1 addition & 0 deletions lib/vial-qmk

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would need to be removed.

Submodule vial-qmk added at 00fc46