HISE Logo Forum
    • Categories
    • Register
    • Login

    scroll event for script panel mouse callback

    Scheduled Pinned Locked Moved Feature Requests
    24 Posts 9 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey @aaronventure
      last edited by

      @aaronventure https://forum.hise.audio/topic/4863/script-viewport-position?_=1701521865143

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @d.healey
        last edited by

        @d-healey Huh, thanks. So I'd put a component into the viewport, and scroll it?

        I still don't see how I could get access to mouse scroll values, which I'd use for other stuff than just scrolling a component.

        d.healeyD 1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey @aaronventure
          last edited by d.healey

          @aaronventure Ignore me, I completely misread the topic on my phone and thought this was about viewports specifically.

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          Christoph HartC 1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart @d.healey
            last edited by

            Yes that‘s a sensible request and I vaguely remember working on this at some point.

            oskarshO d.healeyD 2 Replies Last reply Reply Quote 5
            • Dan KorneffD
              Dan Korneff
              last edited by

              yay! This is perfect timing for a viewport that I'm recreating with panels.

              Dan Korneff - Producer / Mixer / Audio Nerd

              1 Reply Last reply Reply Quote 0
              • oskarshO
                oskarsh @Christoph Hart
                last edited by

                @Christoph-Hart hey is there an update on this?

                This is the missing piece to attach a broadcaster to a EQ Floating Tile and get the Q values changes via the scroll. Also this allows for some unique input methods zoom, knobs ...

                Please consider taking a quick look at this.

                oskarshO 1 Reply Last reply Reply Quote 3
                • oskarshO
                  oskarsh @oskarsh
                  last edited by

                  @Christoph-Hart friendly bump while HISE is seeing a lot of good commits :)

                  ulrikU bendursoB 2 Replies Last reply Reply Quote 1
                  • d.healeyD
                    d.healey @Christoph Hart
                    last edited by d.healey

                    @Christoph-Hart said in scroll event for script panel mouse callback:

                    Yes that‘s a sensible request and I vaguely remember working on this at some point.

                    Bump

                    I found this excellent snippet on the forum from Christoph (can't find the original post now) that allows you to control EQ bands on the draggable filter panel and have it update knobs on the UI.

                    However I noticed a bug which I think is related to this thread - when you update the Q value by hold shift + click and drag the frequency and gain bands update correctly, however if you adjust the Q using the scroll wheel they don't update.

                    Basically the Band Selected doesn't fire when using the scroll wheel over a band.

                    HiseSnippet 2315.3ocuY07aabbEeokWCSl3TmhfhdpX.AJJUBqBojchaMbM0GjoB1xhTT0t.BBtC2cVxoZ4NT6NqnYBDZO1S8ZQt4aEMmJPOka9P.5e.8VOzK8efl+BbeuY1OlkjRNUHMBFvZey7dyu2u2GyGpanvgEEIBsJU9vYSXVkda69yBji1dDkGXs6NVktoc6SOjEIs1Z1DZTDy0pToU9DbzRkutk5m+yC2h5SCbX4hrrdpf6vdLeLWlKsaqGw886PcYGxGaL66zZWGQv1BeQLfjUraXMg5bBcH6ITbZWy1pzMZ6xkhv9RpjEYU55aIbm0ejXZfd9OkGwG3yvOZZ0GLjVbGguKhXTp01i39tcS83HKvJcy8+Uz9+6YuG2kmIOmGtsZ.RtFl7QoqUDdqT.dMMgWCC3sDHUx.RWWCo20tuSHehLeDDOuk8tARVnGEncSnnmq00lcK6sEvLBjqMldBqSH7QlF0taiF0Iaznwp2uRk.fji.BmQZ26YToyHVXkOqR4Je3GRNbDOhLHTPccnQftjoP7iDHjbuYD4HFIxm6xBiHSGwBHyDwDGetyIDQ.gByBsDXkAz.WhTPhm3BzCpGOj.A7.lijKBp.+ZjjbFEDFGFBHdKPgDjPd.ocvPd.aMmPFn8V4fo1mUgPpxcq9yIUWTwp0wQogCifwOpJ6LXXjOqVmT8LpeLq5wpYHo5YbbkyQx3Bc5onYIhyfuQGOYAISng.8IQN.8xbWDszIAhAQjHA7MUhBmQhjzYDd.IZVfSNq4FRGhRQKOgF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82MvuQH0moBJ1kf8BecxfMwuKkLXyzA+NYMFScBEO2Qe5GLI7lJIfeGndn9x16geSZZoNQjYcGzrh+bGmhlZAEW+pp3FWUEuyUUw6dUU7itpJ9wWUEu2aVQ7uswlwRwXcaTKq851Ve.qRFUDV+W3lBYyH
                    

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 2
                    • ulrikU
                      ulrik @oskarsh
                      last edited by

                      @oskarsh said in scroll event for script panel mouse callback:

                      @Christoph-Hart friendly bump while HISE is seeing a lot of good commits :)

                      I agree!

                      Hise Develop branch
                      MacOs 15.3.1, Xcode 16.2
                      http://musikboden.se

                      1 Reply Last reply Reply Quote 1
                      • d.healeyD d.healey referenced this topic on
                      • bendursoB
                        bendurso @oskarsh
                        last edited by

                        @oskarsh Another friendly bump.

                        I want to use it to move panels down/up.

                        1 Reply Last reply Reply Quote 3
                        • whoopsydoodleW
                          whoopsydoodle
                          last edited by whoopsydoodle

                          Old thread, I know... but wondering is there a way to do this in 2025?

                          I'm using a panel to draw EQ controls. I have control over freq with click and using a right click modifier I can do Q. Is there a way to capture the mouse scroll wheel so I can map that to control Q value with a panel instead of needing right click? Pretty much every other modern EQ plugin uses scroll wheel for Q adjustment so I very much would like to do that.

                          I'm using custom DSP so afaik I can't map that to a default filter floating tile, instead I'm drawing everything I need on a panel.

                          d.healeyD A 2 Replies Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @whoopsydoodle
                            last edited by d.healey

                            @whoopsydoodle said in scroll event for script panel mouse callback:

                            I can't map that to a default filter floating tile

                            If it's going through scriptnode I think you can.

                            And the answer to your question is nope.

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            whoopsydoodleW 1 Reply Last reply Reply Quote 0
                            • whoopsydoodleW
                              whoopsydoodle @d.healey
                              last edited by

                              @d-healey So you think I can use the filter floating panel but can't capture mousewheel from a panel?

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @whoopsydoodle
                                last edited by

                                @whoopsydoodle Yes

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • A
                                  aaronventure @whoopsydoodle
                                  last edited by

                                  @whoopsydoodle Currently the only way to use a scroll wheel in a custom control is to use a WebView. Use it for your EQ panel.

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post

                                  17

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  103.1k

                                  Posts