Commit 10dbfa88 authored by Pila's avatar Pila

Remove 20ms note reduction previously introduce to compensate lagg. No more...

Remove 20ms note reduction previously introduce to compensate lagg. No more needed since SC will now accept to override current note played with a new note
parent d4cbc498
......@@ -170,7 +170,6 @@ void playSong(libusb_device_handle *steamcontroller_handle, char* songfile){
//Get event note
int eventNote = MidiFileNoteStartEvent_getNote(selectedEvent);
duration-= 0.02f; //This is to deal with wireless lagg happening sometimes
SteamController_PlayNote(steamcontroller_handle,i,eventNote,duration);
cout << ((i == 0) ? "RIGHT" : "LEFT ") << " haptic : note " << eventNote << " for "<< (int)(duration*1000) << " ms" <<endl;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment