summaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2020-01-28 17:44:00 -0800
committerFlorian Didron <fdidron@users.noreply.github.com>2020-02-26 10:15:12 +0900
commitbac3e50f88dcebcd7b70bc094d53185f5693bb33 (patch)
tree4d8c9ffe5f57f8fe66f34d5d09e36d45d61c2ae2 /keyboards
parent678f1a9595c31e607b38db38c4e0d35d7b675d8a (diff)
Remove webusb code from moonlander
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/moonlander/moonlander.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/keyboards/moonlander/moonlander.c b/keyboards/moonlander/moonlander.c
index 61ef892139..93474775fa 100644
--- a/keyboards/moonlander/moonlander.c
+++ b/keyboards/moonlander/moonlander.c
@@ -380,17 +380,6 @@ const uint8_t music_map[MATRIX_ROWS][MATRIX_COLS] = LAYOUT_moonlander(
bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
-#ifdef WEBUSB_ENABLE
- if(webusb_state.paired == true) {
- uint8_t event[5];
- event[0] = WEBUSB_STATUS_OK;
- event[1] = record->event.pressed ? WEBUSB_EVT_KEYDOWN : WEBUSB_EVT_KEYUP;
- event[2] = record->event.key.col;
- event[3] = record->event.key.row;
- event[4] = WEBUSB_STOP_BIT;
- webusb_send(event, sizeof(event));
- }
-#endif
switch (keycode) {
#ifdef RGB_MATRIX_ENABLE
case TOGGLE_LAYER_COLOR: