• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Touch Screen & Isadora

    How To... ?
    8
    16
    3.6k
    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.
    • markM
      mark
      last edited by

      "If mouse click is in 0-25% X axis and 62-78% Y axis then do A? Does that make sense?"

      That's the way I'd do it. But you could also create a user actor to generalize this. By taking a graphic and placing it somewhere, and within the same user actor, looking for a click in the object.
      I made you an example. There are two buttons picture displayed by two user actors. You can adjust the position and size in each user actor. Click the button the stage and _voila_ a trigger is sent.
      The only flaw with this quickie is that you must adjust the width and height inputs of the User Actor to compensate for the aspect ratio of the source image. This is because the 'keep aspect' input of the Projector actor is turned off. (You need to leave 'keep aspect' turned off to ensure that the percentages set for the width/height/position given to the Projector match up with those output by the Stage Mouse Watcher.)
      Best Wishes,
      Mark

      5767a3-stage-button-click.zip

      Media Artist & Creator of Isadora
      Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

      1 Reply Last reply Reply Quote 1
      • SkulptureS
        Skulpture Izzy Guru
        last edited by

        You guys are the best... I am excited to look at these ideas!

        *love*

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
        RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
        RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • craigwC
          craigw
          last edited by

          I enjoyed this topic! I'm looking for ways to use this I didn't even think it was possible.

          Thanks too!

          Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

          1 Reply Last reply Reply Quote 0
          • kdobbeK
            kdobbe
            last edited by

            Here is a button I have used that uses a movie and puts a flash and sound feedback via MIDI 67c0fe-movie-button.izz

            Mac Studio M2-Ultra, MacBook Pro M1 Ultra. OSX-14.1.2

            1 Reply Last reply Reply Quote 0
            • kdobbeK
              kdobbe
              last edited by

              Just for future "what if's", it would be great to have an object have its own click recognition without having to use this method. This would particularly be useful when having a button that is shaped irregularly. Using the current system, A circle for example, would have sections of non-object that would respond to a mouse click. This has been a small issue for example when employing buttons on a very large screen where the screen might be multiple feet in length and height. This was the case with a recent lobby project where the touch screen was 12 feet long.

              Mac Studio M2-Ultra, MacBook Pro M1 Ultra. OSX-14.1.2

              1 Reply Last reply Reply Quote 0
              • SkulptureS
                Skulpture Izzy Guru
                last edited by

                I know what you mean.

                12ft - that's a huge touch screen! 

                Graham Thorne | www.grahamthorne.co.uk
                RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                1 Reply Last reply Reply Quote 0
                • N
                  nick
                  last edited by

                  for a circle you could calculate the straight line distance from the touch point to the  centre of the circle, and check if it is less than the radius of the circle, its slightly more math than for a rectangle check but not much more.

                  MacBook Pro 11.5.2

                  1 Reply Last reply Reply Quote 0
                  • SkulptureS
                    Skulpture Izzy Guru
                    last edited by

                    A little update:

                    Got a decent working prototype working going. I am using a really old touchscreen - not even sure what tech it uses.
                    For some reason it only see's about 80-85% of the pixel space (screen size) so it's not great. This is not an izzy fault. I think the hardware can only see up 1024*768 or something. 
                    I will post a short demo when I get the chance 🙂

                    Graham Thorne | www.grahamthorne.co.uk
                    RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                    RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                    RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                    1 Reply Last reply Reply Quote 0
                    • MarciM
                      Marci
                      last edited by

                      This is where I'd love to see some form of transparent web-browser overlay window actor which gives you a DOM so that jquery-like events can be brought into play, pref via WebKit... something to abstract out the need for more complex maths calculations, with the stage abstracted out to viewport.

                      rMBP 11,3 (mOS 10.13) / rMBP 11,4 (mOS 10.14) / 3x Kinect + Leap / TH2Go
                      Warning: autistic - may come across rather blunt and lacking in humour!

                      1 Reply Last reply Reply Quote 0
                      • fubbiF
                        fubbi
                        last edited by

                        I used these drivers for a permanent installation with two touchscreens and a isadora button interface. worked like a charm

                        http://www.touch-base.com/

                        Mac M2 Ultra, 64gb — Berlin

                        1 Reply Last reply Reply Quote 1
                        • SkulptureS
                          Skulpture Izzy Guru
                          last edited by

                          Thanks @Fubbi.

                          Graham Thorne | www.grahamthorne.co.uk
                          RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                          RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                          RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

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