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
3 answers

Need touch tutorial

I am new to android so please if I sound stupid, do not reply. Hello, I have tried searching all over the net for a good tutorial that would help me understand how android takes the touch events and reacts accordingly. But I have not been…
efa
  • 43
  • 2
  • 4
  • 9
2
votes
3 answers

touch event and mouse event in html page

1) I'm building a very normal HTML5 website. On this website there are few clickable elements. Those are embedded in multi-layer div. HAML speaking it looks as : %body #root #content #header #footer In my div #content I have few clickable…
mickro
  • 881
  • 2
  • 11
  • 26
2
votes
1 answer

Exact steps to cross compile QT 5.8.0 for ARM 7 with TSLIB

I'm very new to cross compilation and ARM boards. Currently I have basic idea on cross compilation and binary execution on ARM boards. I want to build a QT application to run on an ARM based board, which supports a touch screen. The board is already…
ffox
  • 21
  • 1
  • 2
2
votes
0 answers

Multi-touch drawing : action_cancel when the palm touches the screen

I'm working on an android application on tablet to draw every points touched by the finger or the hand. It is very important for the application to track not only the fingers but also the palm (even if it's not drawing the exact touched area but…
Echolima
  • 21
  • 1
2
votes
3 answers

Drawing a CGRect by touching

I was wondering how to draw a CGRect onto an UIImageView. Here is the code I've got but it doesn't seem to be working. Any suggestions? touch1 and touch2 are both CGPoints and point is a CGRect. -(void)touchesBegan:(NSSet *)touches…
Brandon
  • 127
  • 4
  • 10
2
votes
1 answer

How to correctly configure interrupt for INT line of Atmel MXT641T touch chip in Android 5 kernel device tree?

I am having troubles getting a touch screen powered by an Atmel MXT641T on an Android 5 platform to work. The setup I have is as follows: Hardware: Inforce 6309 SBC with Qualcomm Snapdragon 410 msm8916 ARM64 processor. Custom touch screen with…
Martijn de Milliano
  • 3,908
  • 3
  • 36
  • 45
2
votes
0 answers

How to detect a long touch (over 2 seconds) on Android

I have a custom view and I want to detect when a user has been pressing/touching the same spot for over 2 seconds. I have been using an onTouch event to detect when the user first touches the screen and then see if he is still touching the same spot…
skbrhmn
  • 1,124
  • 1
  • 14
  • 36
2
votes
1 answer

Chrome 56 mobile addEventListener "click" not working

I encounter a problem where click event on Link Element (A tag), or any other DOM Element, is not calling handler/callback function. it doesn't matter which parent in the hierarchy I am getting it not getting this event. no…
Nisim Joseph
  • 2,262
  • 22
  • 31
2
votes
1 answer

Make touch-area for SKLabelNode bigger for small characters

I'm adding an old-school high-score entry screen to my game, in which the users tap each letter to enter their name. Each letter, symbol or phrase ('DEL', 'SP' etc) is a single SKLabelNode and it's very difficult to tap on the ',' and '.'…
Steve Ives
  • 7,894
  • 3
  • 24
  • 55
2
votes
0 answers

Android: How can I detect when user starts and finishes a touch gesture?

I want to detect when a user starts and finishes a touch gesture outside of the Android service/activity that is observing it. I can't seem to find a way to get this working; it only seems to work when the user interacts with the activity directly…
mino
  • 6,978
  • 21
  • 62
  • 75
2
votes
0 answers

Avoid triggering ripple effect while swiping

So i have a LinearLayout that consists of several items that have a ripple effect which is triggered on touch. This LinearLayout is designed to collapse downwards when you swipe over it or touch any of the items. Whenever the item is touched there…
Arnis Shaykh
  • 544
  • 5
  • 21
2
votes
2 answers

What am I overlooking? When I sign with a mouse, data uploads, but when I sign with touch, data won't upload

I've run into a problem and I've only come across one other person who's having the same problem, but they're also still lost. I'm using szimek's signature pad and when I sign with a mouse or track pad, the image data uploads to my /upload folder. …
W0V3N
  • 47
  • 7
2
votes
1 answer

if event type is equal to touchstart

I can check if mousedown has been triggered like so: $(something).on("mousemove touchmove", function(e) { if (e.buttons == 1){ // mouse is down } }) Very simple question, how can I check if touchstart has been triggered in the…
almost a beginner
  • 1,622
  • 2
  • 20
  • 41
2
votes
2 answers

Turn off touch for whole screen, SpriteKit, how?

I'm trying to temporarily disable touch on the entire screen, despite their being many sprites with touchesBegun onscreen. I thought, obviously wrongly, turning off touch for the scene would do it: scene?.isUserInteractionEnabled = false But…
Confused
  • 6,048
  • 6
  • 34
  • 75
2
votes
0 answers

USB Touch Screen Input device not recognised

Added support for my LG 17MB15T USB Touch screen to hid-ids.h and hid-multitouch.c and recompiled kernel. Device is recognised in DMESG and claimed by hid-multitouch : <6>[ 307.451668] usb 3-1.6: new full-speed USB device number 7 using…
M Abrahams
  • 21
  • 2
1 2 3
99
100