~mixxxdevelopers/mixxx/engine-control-refactor

« back to all changes in this revision

Viewing changes to mixxx/res/controllers/Stanton-SCS1d-scripts.js

  • Committer: RJ Ryan
  • Date: 2013-06-04 00:41:29 UTC
  • mfrom: (2890.22.101 mixxx)
  • Revision ID: rryan@mixxx.org-20130604004129-8jjxkicsb3givu4a
MergingĀ fromĀ lp:mixxx.

Show diffs side-by-side

added added

removed removed

Lines of Context:
699
699
    var iMoved = (iState - StantonSCS1d.scratch["prevState"] + 384) % 256 - 128;
700
700
    var iSpeed = iMoved/(iTimeStamp - StantonSCS1d.scratch["prevTimeStamp"]);
701
701
    
702
 
    //if (StantonSCS1d.debug)
703
 
    //    print("Timestamp="+iTimeStamp+" State="+iState+" Moved="+iMoved+" Speed="+(iSpeed*60000|0));
 
702
//     if (StantonSCS1d.debug)
 
703
//        print("Timestamp="+iTimeStamp+" State="+iState+" Moved="+iMoved+" Speed="+(iSpeed*60000|0));
704
704
    
705
705
    StantonSCS1d.scratch["prevTimeStamp"] = iTimeStamp;
706
706
    StantonSCS1d.scratch["prevState"] = iState;
2108
2108
- Connect cross-fader signal?
2109
2109
 
2110
2110
BUGS:
2111
 
- Dragging the window/tooltips screw up speed - use timestamps
 
2111
- Dragging the window/tooltips screw up speed on Windows - use timestamps
2112
2112
- Sticker drift - timestamps?
2113
2113
- Manipulating other controls in vinyl mode makes speed jiggly - timestamps??
2114
2114
*/
 
 
b'\\ No newline at end of file'