diff options
Diffstat (limited to 'keyboards/massdrop/ctrl')
| -rw-r--r-- | keyboards/massdrop/ctrl/config.h | 9 | ||||
| -rw-r--r-- | keyboards/massdrop/ctrl/ctrl.h | 2 |
2 files changed, 10 insertions, 1 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 | ||
diff --git a/keyboards/massdrop/ctrl/ctrl.h b/keyboards/massdrop/ctrl/ctrl.h index 1650beb9a..a3d66ba77 100644 --- a/keyboards/massdrop/ctrl/ctrl.h +++ b/keyboards/massdrop/ctrl/ctrl.h | |||
| @@ -7,7 +7,7 @@ | |||
| 7 | #include "i2c_master.h" | 7 | #include "i2c_master.h" |
| 8 | #include "md_rgb_matrix.h" //For led keycodes | 8 | #include "md_rgb_matrix.h" //For led keycodes |
| 9 | #include "usb/udi_cdc.h" | 9 | #include "usb/udi_cdc.h" |
| 10 | #include "usb/usb2422.h" | 10 | #include "usb/usb_hub.h" |
| 11 | 11 | ||
| 12 | #define LAYOUT( \ | 12 | #define LAYOUT( \ |
| 13 | K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, \ | 13 | K01, K02, K03, K04, K05, K06, K07, K08, K09, K10, K11, K12, K13, K14, K15, \ |
