HISE Logo Forum
    • Categories
    • Register
    • Login

    How to check if a key is held

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 1.1k 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
      last edited by d.healey

      Is there a command to check if a key is held down?

      Edit: Actually I guess I could do this using a MidiList to record when each key is pressed or released...

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

      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        I think there is also a Synth.isKeyDown or something like that...

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

          Aha, I didn't see that in the API list, I'll try it out

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

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            I thought it was there, but it wasn't. But I added it now, this is a reasonable request.

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

            23

            Online

            1.8k

            Users

            12.1k

            Topics

            104.9k

            Posts