-
-
Notifications
You must be signed in to change notification settings - Fork 44.1k
Add support for Pi Pico to handwired/Tractyl-Manuform #26325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| 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 | ||||||
|
|
||||||
| // Handshake & Handedness | ||||||
| #define SPLIT_WATCHDOG_ENABLE | ||||||
| #define EE_HANDS | ||||||
| #define SPLIT_USB_DETECT | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is the default behavior, not needed.
Suggested change
|
||||||
|
|
||||||
| // --- 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
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That's not how these are enabled.
Suggested change
|
||||||
|
|
||||||
| #define USB_ENDPOINT_COUNT 4 | ||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. not a thing?
Suggested change
|
||||||
| 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
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||||
| } | ||||||||
| 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
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs to be removed.
Suggested change
|
||||||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would need to be removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.