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) |
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 aefb900448..fe8b600234 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/>. #define DEBUG_BOOT_TRACING_PORT PB #define DEBUG_BOOT_TRACING_PIN 23 +/* USB2422 config */ +#define USB2422_ADDRESS 0x58 +#define USB2422_VENDOR_ID 0x04D8 +#define USB2422_PRODUCT_ID 0xEEC5 +#define USB2422_DEVICE_VER 0x0101 +#define USB2422_MANUFACTURER "Massdrop Inc." +#define USB2422_PRODUCT "Massdrop Hub" +#define USB2422_ACTIVE_PIN A18 + /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ #define DEBOUNCE 5 |