Questions tagged [touch]

Touch-based interfaces have unique considerations that do not apply to other modes of input, and vice versa.

Touch-based interfaces are found on devices such as tablet PCs and touch-screen smartphones. The touch interfaces common today use capacitive technology designed to work well with simple finger touches. (Older, pressure-sensitive displays require the use of a stylus for accurate input.)

While touch input is similar to other two-dimensional input methods such as mice and drawing tablets, it lacks some characteristics of those other devices that are often taken for granted. For example, an on-screen cursor can be moved with a mouse to "hover" over an object without selecting it; there is no analogue to this in a touch interface because the act of pointing and selecting are both defined by a single touch.

Conversely, it is possible to do some kinds of input via touch that are difficult or impossible to represent with something like a mouse. In particular, modern "multitouch" interfaces allow two fingers to be used for pinching or stretching. Also, two or more fingers may be used to augment normal touching and dragging gestures (though this is analogous to using a mouse with alternate buttons or keyboard modifiers).

6318 questions
2
votes
0 answers

full calendar touch screen support for external events

The current version of fullcalendar works great on touch screens, you can drag and drop events within the calendar. However the external dragging demo does not work. https://fullcalendar.io/js/fullcalendar-3.6.2/demos/external-dragging.html Is…
2
votes
0 answers

onPagescrolled called multiple times

I'm having an onPageScrolled method in my android app code which is being called multiple times when scrolled once, why is this happening ?
vijay
  • 33
  • 7
2
votes
1 answer

Responding to touchstart and mousedown in desktop and mobile, without sniffing

So, I have a problem. I want to respond to a user pressing the mouse button (on desktop) or touching a div (on mobile). I'm trying to be compatile with evergreen browsers. This is what I tried so far: listen only to mouseDown event. This works on…
janesconference
  • 6,333
  • 8
  • 55
  • 73
2
votes
1 answer

d3's pinch-to-zoom not working in IE/Edge?

I found no information on this in the official documention of d3.zoom but apparently pinch zooming of an area does work in Google Chrome and Mozilla Firefox but not Microsoft Internet Explorer or Edge. This can be already seen in one of the official…
phk
  • 2,002
  • 1
  • 29
  • 54
2
votes
4 answers

Delegate(common) click listener in Android

Lets say I have a few buttons and their click is handled by a common handler is there a way to define the listener once and not defining an onClick attribute for each button?
Jocky Doe
  • 2,041
  • 4
  • 17
  • 28
2
votes
0 answers

Respond to and track multiple touches (multiple responders) in React Native

I'm looking to track multiple touches on multiple elements at the same time with React Native (I have multiple "knob" type buttons, and a user should be interact with more than one at a time). However, it seems that with the native gesture and/or…
2
votes
1 answer

touchmove events stop after replacing innerHTML

I have a webpage that tracks touchmove events allowing the user to drag an element around the screen - works fine. I dynamically replace html within the moving element while the user is moving it - replacing html works fine. The issue is if the user…
devlop
  • 1,168
  • 1
  • 8
  • 19
2
votes
1 answer

Anyone have code to substitute for UILongPressGestureRecognizer?

I'd like to support pre 3.2 and this is the only symbol that doesn't want to cooperate, anyone know of some touchesmoved code or something i can use in lieu of the UILongPressGestureRecognizer? Thanks, Nick
nickthedude
  • 4,925
  • 10
  • 36
  • 51
2
votes
1 answer

Handle touches not started on the UI

I seek a way to handle touches that do not start on UI elements in Unity Engine. The purpose of this is rotating, panning and zooming in on a "map" (it shall be called so from now on). But if the touch down event is on any of the UI elements it…
2
votes
0 answers

Does WM_GESTURE message work for Precision Touchpads?

On MSDN, Windows Touch Gestures Overview describes various Multi-Touch Gestures that can be handled by the Win32 API. But nowhere in the documentation does it say what type of touch it should be, whether the Gestures are only applicable to Touch…
sri.vats3
  • 33
  • 3
2
votes
3 answers

Is it possible to embed Qt Assistant as a widget inside my application?

We're running one of our apps on a 8" touch screen and want to add help to it. Launching Qt Assistant from a menu item works fine for desktop applications, but for touch applications it's far from ideal. I haven't been able to figure out if it is…
Macke
  • 24,812
  • 7
  • 82
  • 118
2
votes
1 answer

using swiper (or some similar library) to scroll a half screen width

I'm currently developing a mobile app using swiper.js (this one, as there seem to be multiple libraries of that name). I'm trying to figure out how to set it up so that for one of its slides, it only scrolls the screen half a width. There's a demo…
Jules
  • 14,841
  • 9
  • 83
  • 130
2
votes
2 answers

How to inject pen inputs from a digitiser using InjectTouchInput() with PT_PEN on Windows 10

I am using the InjectTouchInput() API on Windows 10 to inject touch events from a separate digitiser. That works well (multi-touch etc.). There are quite a few examples out there of using the API for that, i.e. using a pointer type of PT_TOUCH,…
PHYL
  • 101
  • 2
  • 10
2
votes
0 answers

How to select the highlighted area from an image?

The user can customize their given dress using different patterns or colors but only on highlighted area. For the given T-Shirt, the user can customise the sleeves, color and pockets. Whenever the user selects these areas, I need to highlight them…
Sangeetha
  • 496
  • 1
  • 7
  • 25
2
votes
1 answer

Ignore touch event, and let the view below it handle the touch?

I have a draggable view that a user will touch, but some rectangles of it will have no image (alpha 0). When a user clicks the transparent region (I am able to construct the transparent region without the alpha info), I want the view (same class)…
eugene
  • 39,839
  • 68
  • 255
  • 489