Skip to content

Commit f6cbea1

Browse files
authored
feat(usb): Remove redundant absolute mouse support (#9640)
1 parent 6adeca4 commit f6cbea1

File tree

3 files changed

+2
-54
lines changed

3 files changed

+2
-54
lines changed

libraries/USB/examples/MIDI/MidiController/MidiController.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ void loop() {}
2222
#include "USBMIDI.h"
2323
USBMIDI MIDI;
2424

25-
#define MIDI_NOTE_C4 64
25+
#define MIDI_NOTE_C4 60
2626

2727
#define MIDI_CC_CUTOFF 74
2828

@@ -69,7 +69,7 @@ void setup() {
6969
Serial.begin(115200);
7070
MIDI.begin();
7171
USB.begin();
72-
72+
pinMode(BUTTON_PIN, INPUT_PULLUP);
7373
primeControllerInputValue();
7474
}
7575

libraries/USB/src/USBHIDMouse.h

-2
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@
3434
#define MOUSE_FORWARD 0x10
3535
#define MOUSE_ALL 0x1F
3636

37-
#include "./tusb_hid_mouse.h"
38-
3937
enum MousePositioning_t {
4038
HID_MOUSE_RELATIVE,
4139
HID_MOUSE_ABSOLUTE

libraries/USB/src/tusb_hid_mouse.h

-50
This file was deleted.

0 commit comments

Comments
 (0)