diff --git a/keyboards/system76/launch_test/launch_test.c b/keyboards/system76/launch_test/launch_test.c index 4a6d429ed16..8d8f0ee849d 100644 --- a/keyboards/system76/launch_test/launch_test.c +++ b/keyboards/system76/launch_test/launch_test.c @@ -7,6 +7,10 @@ enum Command { // Probe for System76 EC protocol CMD_PROBE = 1, + // Read board string + CMD_BOARD = 2, + // Read version string + CMD_VERSION = 3, // Get keyboard map index CMD_KEYMAP_GET = 9, // Set keyboard map index @@ -49,6 +53,14 @@ void raw_hid_receive(uint8_t *data, uint8_t length) { // Version data[4] = 0x01; data[1] = 0; + break; + case CMD_BOARD: + strncpy(&data[2], QMK_KEYBOARD, length - 2); + data[1] = 0; + break; + case CMD_VERSION: + strncpy(&data[2], QMK_VERSION, length - 2); + data[1] = 0; break; case CMD_KEYMAP_GET: {