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
1 answer

LibGDX how to catch touch event outside of the actor bounds

I have a stage and the actor on it with size 200x200. I need the actor catch touch events to make some calculations. But the problem is that touch events triggers only when touched over the actors bound. How can i get the event of touching any area…
anmig
  • 23
  • 4
2
votes
3 answers

fire event when touch up inside uiview and outside button

I have a view overlayed to the iPhone's camera view. In this view I have some uibuttons that are displayed in positions depending of values from accelerometer/compass. I need to fire an event when the user touch up inside the view but he doesn't…
2
votes
2 answers

How do I determine how to handle messages using IMessageFilter in a Windows Forms control?

I want to access touch input as directly as possible to avoid any lag that may be associated with normal event tunneling and bubbling, so I thought I'd try using messages instead of events. With the following code I can intercept any message that's…
Kyle Delaney
  • 11,616
  • 6
  • 39
  • 66
2
votes
3 answers

Using Windows Phone 7 pinching in XNA

I'm trying to figure out how to implement pinch-to-zoom functionality. My problem is I'm not sure how to do it algorithmically. I have the pinch positions of both fingers and the amount they've moved since the last frame. At first I tried making the…
meds
  • 21,699
  • 37
  • 163
  • 314
2
votes
1 answer

Touch events with onscreen keyboard

I have an Android app with a touch listener that detects touch events to my app. This works fine for areas within my app, but when the on screen keyboard is activated that the user touches it, I don't get these touch events. Is it possible to obtain…
user1118764
  • 9,255
  • 18
  • 61
  • 113
2
votes
2 answers

Determine Touch Input Consumer

I have a view roughly defined as class MyView1 extends LinearLayout { // for debugging, not actually needed @Override public boolean onTouchEvent(MotionEvent event) { Log.d(getClass().getSimpleName(), ""); } …
xst
  • 2,536
  • 5
  • 29
  • 41
2
votes
1 answer

How to generate random iOS User Events with Automation?

When developing on Android we have something called Monkey, it generates random user events and sends them to the device. Its very useful to stress test the app. Is there something similar for iOS? Thanks in advance, Paulo
Paulo Casaretto
  • 967
  • 10
  • 33
2
votes
1 answer

(How) Can I emulate touch events on Windows?

A utility which I wrote in C++ for testing purposes currently uses the SendInput function to emulate user input, i.e. mouse and keyboard events. I'd now like to extend my program such that it's able to emulate touch events, such that I can verify…
Frerich Raabe
  • 90,689
  • 19
  • 115
  • 207
2
votes
3 answers

Make Seekbar thumb easier to grab

So I have a SeekBar but the little circle thumb thing is kind of hard to grab. Is there a way to make the hitbox larger? I don't necessarily care if the graphic itself looks any different -- I just want it to be grabbable.
KaliMa
  • 1,970
  • 6
  • 26
  • 51
2
votes
0 answers

Handle large touching surface on Android

I'm implementing an application which detects and draws multiple pointers on an android phone. However, I noticed that when I use the side of my hand, or when I try to make it process large surfaces, my app receives multiple ACTION_CANCEL events.…
Neir0
  • 21
  • 3
2
votes
0 answers

Cordova iOS WebView loses touch events, interface is unresponsive

I developed an app with Framework7 with material theme + Cordova cli 6.5.0 and Cordova-iOS 4.3.1 and Xcode 8.3. Sometimes, the app loses touch events. The interface doesn't work, but the app is working because onresume Cordova event, I call a…
ciossi
  • 143
  • 1
  • 8
2
votes
1 answer

Does on screen keyboard of Windows 10 works with JavaFX TextFields?

I will be developing a JavaFX app for Windows 10. Does anyone know whether a JavaFX TextField on focus can trigger Windows 10 to show up its on screen keyboard? Your experience is much appreciated!
Chiggiddi
  • 542
  • 1
  • 8
  • 26
2
votes
1 answer

MessageBox locks TouchInput

please see this lame WPF MVVM app:
Nikzeno
  • 116
  • 8
2
votes
4 answers

Android: Touch seriously slowing my application

I've been raking my brains on this one for a while. when I'm running my application (opengl game) eveyrthing goes fine but when I touch the screen my application slows down quite seriously (not noticeable on powerful phones like the nexus one, but…
Jason Rogers
  • 19,194
  • 27
  • 79
  • 112
2
votes
0 answers

Drawing SpriteKit objects in SceneKit with Swift 3

I'm trying to draw an SpriteKit button in SceneKit. Seems to do everything right, but the objects go off the screen. Code: import UIKit import QuartzCore import SceneKit import SpriteKit class GameViewController: UIViewController ,…
Oleg Savelyev
  • 275
  • 4
  • 16
1 2 3
99
100