From 1a17953465032accb0aa9f57c1ef49a05c40a7ff Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Mon, 30 Dec 2024 18:45:11 +0100 Subject: fix(soispha/hid): Ignore all received rawhid input --- src/keymaps/soispha/hid/hid.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/keymaps/soispha/hid/hid.c b/src/keymaps/soispha/hid/hid.c index 73b7370..a68867c 100644 --- a/src/keymaps/soispha/hid/hid.c +++ b/src/keymaps/soispha/hid/hid.c @@ -37,11 +37,5 @@ void hid_send(uint32_t hex) { // `data` is a pointer to the buffer containing the received HID report // `length` is the length of the report - always `RAW_EPSIZE` void raw_hid_receive(uint8_t *data, uint8_t length) { - uint8_t response[length]; - memset(response, 0, length); - response[0] = 'B'; - - if (data[0] == 'A') { - raw_hid_send(response, length); - } + /* We don't care about received stuff */ } -- cgit 1.4.1