Skip to content

feat(usb): Remove redundant absolute mouse support #9640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions libraries/USB/examples/MIDI/MidiController/MidiController.ino
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ void loop() {}
#include "USBMIDI.h"
USBMIDI MIDI;

#define MIDI_NOTE_C4 64
#define MIDI_NOTE_C4 60

#define MIDI_CC_CUTOFF 74

Expand Down Expand Up @@ -69,7 +69,7 @@ void setup() {
Serial.begin(115200);
MIDI.begin();
USB.begin();

pinMode(BUTTON_PIN, INPUT_PULLUP);
primeControllerInputValue();
}

Expand Down
2 changes: 0 additions & 2 deletions libraries/USB/src/USBHIDMouse.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
#define MOUSE_FORWARD 0x10
#define MOUSE_ALL 0x1F

#include "./tusb_hid_mouse.h"

enum MousePositioning_t {
HID_MOUSE_RELATIVE,
HID_MOUSE_ABSOLUTE
Expand Down
50 changes: 0 additions & 50 deletions libraries/USB/src/tusb_hid_mouse.h

This file was deleted.