Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: How to detect pinch gesture on Mac touch pad?

  1. #1
    Junior Member
    Join Date
    Dec 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to detect pinch gesture on Mac touch pad?

    Hi, I am trying to figure out if there is a way to detect the pinch-to-zoom gesture on a MacBook touchpad and how to do it. What I have in mind is something like a public void mouseClicked(MouseEvent e){} method of a MouseInputAdapter. (i.e. it would be something like public void mousePinched..?). Is there anything like this available? Is there another way to detect this gesture?

    Thanks,
    Daniel


  2. #2
    Super Moderator pbrockway2's Avatar
    Join Date
    Jan 2012
    Posts
    987
    Thanks
    6
    Thanked 206 Times in 182 Posts

    Default Re: How to detect pinch gesture on Mac touch pad?

    Fascinating question - sorry I can't help but maybe Mac OS X Multitouch Event API — Project Kenai is useful. What they appear to suggest there is that there's no native support (as there is for Android etc).

Similar Threads

  1. text pad 4 download
    By lanya in forum The Cafe
    Replies: 0
    Last Post: March 6th, 2013, 04:35 PM
  2. A screen touch sensor
    By Someonation in forum Android Development
    Replies: 1
    Last Post: November 7th, 2011, 06:10 AM
  3. Writing java applications for the iPod Touch
    By JavaPF in forum Java ME (Mobile Edition)
    Replies: 8
    Last Post: June 14th, 2011, 04:34 PM
  4. Quick Java Number pad problems
    By SkippyTHEpimp in forum What's Wrong With My Code?
    Replies: 1
    Last Post: March 8th, 2011, 06:00 AM
  5. Help Remove file from pad directory
    By georgybaja in forum File I/O & Other I/O Streams
    Replies: 0
    Last Post: January 8th, 2011, 05:29 PM

Tags for this Thread