diff options
| author | Joel Challis <git@zvecr.com> | 2021-10-22 00:49:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-22 00:49:58 +0100 |
| commit | 0093d3d761e60a31bb2a15a5859dbd0c08ef9999 (patch) | |
| tree | 144db2e99236bd0fc2654cbeaecc57bbb5409b39 /keyboards/massdrop/ctrl/config.h | |
| parent | 1b1f3ec68ee1e7abe436a46bcfedf30f21330aef (diff) | |
| download | qmk_firmware-0093d3d761e60a31bb2a15a5859dbd0c08ef9999.tar.gz qmk_firmware-0093d3d761e60a31bb2a15a5859dbd0c08ef9999.zip | |
Initial USB2422 driver (#14835)
Diffstat (limited to 'keyboards/massdrop/ctrl/config.h')
| -rw-r--r-- | keyboards/massdrop/ctrl/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboards/massdrop/ctrl/config.h b/keyboards/massdrop/ctrl/config.h index aefb90044..fe8b60023 100644 --- a/keyboards/massdrop/ctrl/config.h +++ b/keyboards/massdrop/ctrl/config.h | |||
| @@ -89,6 +89,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 89 | #define DEBUG_BOOT_TRACING_PORT PB | 89 | #define DEBUG_BOOT_TRACING_PORT PB |
| 90 | #define DEBUG_BOOT_TRACING_PIN 23 | 90 | #define DEBUG_BOOT_TRACING_PIN 23 |
| 91 | 91 | ||
| 92 | /* USB2422 config */ | ||
| 93 | #define USB2422_ADDRESS 0x58 | ||
| 94 | #define USB2422_VENDOR_ID 0x04D8 | ||
| 95 | #define USB2422_PRODUCT_ID 0xEEC5 | ||
| 96 | #define USB2422_DEVICE_VER 0x0101 | ||
| 97 | #define USB2422_MANUFACTURER "Massdrop Inc." | ||
| 98 | #define USB2422_PRODUCT "Massdrop Hub" | ||
| 99 | #define USB2422_ACTIVE_PIN A18 | ||
| 100 | |||
| 92 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | 101 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ |
| 93 | #define DEBOUNCE 5 | 102 | #define DEBOUNCE 5 |
| 94 | 103 | ||
