Suppressing mouseover call while dragging

Home Forums General Programming Suppressing mouseover call while dragging

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #71519
    sumitagarwal
    Participant
      • Topics: 3
      • Replies: 11
      • Total: 14

      In my panel I use a mouseover call to update a modulator from a value from my device and I use a drag call to send a value for the same parameter to the device.

      As you might imagine, essentially reading and writing the same data in quick succession can result in wonky knob behavior, especially if the the rate of writes and reads begins to overwhelm the device.

      It seems to me like the obvious fix is to block the mouseover call anytime the mouse button is down regardless of where the cursor is on the canvas. But I can’t figure out how to do this.

    Viewing 1 post (of 1 total)
    • The forum ‘Programming’ is closed to new topics and replies.
    There is currently 0 users and 80 guests online
    No users are currently active
    Forum Statistics
    Threads: 2,495, Posts: 17,374, Members: 77,605
    Most users ever online was 12 on January 22, 2019 3:47 pm
    Ctrlr