Questions tagged [multi-touch]

multi-touch refers to a touch sensing surface's (trackpad or touchscreen) ability to recognize the presence of two or more points of contact with the surface (Wikipedia)

1283 questions
6
votes
2 answers

Track touch points in Multitouch

I am working on a drawing project, I want to support multitouch, I have gone through documentation online, which suggest to track the touch points, I did it , But I am not getting the desired behaviour. I am not getting straight lines. Below is my…
Ranjit
  • 4,576
  • 11
  • 62
  • 121
6
votes
1 answer

What is the meaning of a pointer index and in which ways can it be changed?

I know a pointer index can be retrieved in this way int pointerIndex = (event.getAction() & MotionEvent.ACTION_POINTER_INDEX_MASK) >> MotionEvent.ACTION_POINTER_INDEX_SHIFT; and it is used as a parameter in some methods like event.getPointerId(int…
Hải Phong
  • 5,094
  • 6
  • 31
  • 49
6
votes
1 answer

Do touch events work with SVG?

I've been playing around a bit with SVG+ECMAScript, and I find it impressive. I've recently found out that (X)HTML5 has a ‘touch events’ specification, so that browsers such as the Android browser, Firefox, and Chrome/Chromium have DOM support for…
James Haigh
  • 1,192
  • 1
  • 12
  • 25
6
votes
4 answers

How do I disable vertical scrolling in iOS using Hammer.js?

I'm trying to disable vertical scrolling in iOS with Hammer.js (jQuery version) in a horizontally scrolling list. I've tried this: $(document).hammer().on('swipe,drag', 'body', function(event) { if (event.direction ==…
OMA
  • 3,442
  • 2
  • 32
  • 39
6
votes
3 answers

how do you use MotionEvent.ACTION_POINTER_INDEX_SHIFT?

I've been working in a game and I'm trying to make the controllers, nothing too complicated and to do this I need to track 2 inputs(fingers): 1 the fire button and move keys.(up, down, left, right) This is the problem: finger 1 is down, finger 2 is…
Heysus Escobar
  • 181
  • 1
  • 1
  • 7
6
votes
1 answer

How to enable Scale in Android ScrollView in a way that doesn't prevent scrolling it and clicking on it's child items?

I have a custom view that extends Android ScrollView. The direct child is a relative layout which has children that are clickable. I want to be able to: detect onScale Gesture on the scroll view (than I will manually manage the scale of the…
Daniel L.
  • 5,060
  • 10
  • 36
  • 59
6
votes
3 answers

Windows Multitouch Events and LabView

I'm having some problems with multi-touch and LabView. My objective is to intercept the Windows Touch Messages (generated by multitouch monitors and then interpreted and handled by Windows 7), which are intended for any and all windows owned by a…
LVMMS
  • 69
  • 4
6
votes
5 answers

tracking two fingers with TouchesMoved

Suppose I have two fingers touching iPhone's screen but just one is moving. TouchesMoved will just show one finger (event). How do I know which of the two fingers TouchesMoved is referring too?
Duck
  • 34,902
  • 47
  • 248
  • 470
6
votes
2 answers

Disabling multi-touch on my app

For some reasons I have to disable the multi-touch feature on my app. The user can press only one button at a time, or the app would crash. Is there any way to implement this requirement? Thanks a lot!
Paul Ma
  • 469
  • 2
  • 5
  • 15
6
votes
1 answer

Pressing multiple buttons simultaneously

In my WP 7.1 app I have a page with multiple buttons. I noticed that while any one button is being pressed, no other button can be pressed. How can I overcome this? I need to be able to allow users to press multiple buttons at the same time.
sternr
  • 6,216
  • 9
  • 39
  • 63
5
votes
2 answers

Android Multitouch - Determine which finger lifted?

I understand the differences between the ID and Index where it seems like the ID is consistent across events, and the index can vary. However, I keep getting changing ID's and am looking for some understanding in this area. I have read all the…
Nathan Tornquist
  • 6,468
  • 10
  • 47
  • 72
5
votes
1 answer

General considerations for NUI/touch interface

For the past few months I've been looking into developing a Kinect based multitouch interface for a variety of software music synthesizers. The overall strategy I've come up with is to create objects, either programatically or (if possible)…
jamesson
  • 317
  • 3
  • 18
5
votes
1 answer

How To Handle Two-Finger Tap Event ? WPF

In my program I would like to make two different things, one with the single touch, second with the two finger touch. But I don’t know how to handle the difference between single touch and two finger touch. What should I do to achive that ? Thanks.
Can
  • 51
  • 3
5
votes
1 answer

Query the exact number of pointers supported by multitouch

Is there any way to get programatically the maximum number of individual fingers that the touch screen can detect simultaneously? I've only been able to find FEATURE_TOUCHSCREEN_MULTITOUCH, FEATURE_TOUCHSCREEN_MULTITOUCH_DISTINCT and…
Cachapa
  • 1,761
  • 1
  • 15
  • 16
5
votes
1 answer

Parsing /dev/input/mouse0 for Multi-Touch

I need to enable gesture detection (in userspace) from a multi-touch synaptics touch pad on linux. Reading from the mouse device file (/dev/input/mouse0) for the touchpad, I've figured out that it's the PS/2 protocol. In short, thats 1 bit for: XY…
mamidon
  • 895
  • 1
  • 10
  • 25