Questions tagged [touch]
Touch-based interfaces have unique considerations that do not apply to other modes of input, and vice versa.
6,240
questions
0
votes
0
answers
11
views
Cisco Nexus 9K POAP (Power On Auto Provisioning)/ZTP (Zero Touch Provisioning) Issue
I have been scratching my head for three days without a solution. I'd like the help of the greater StackOverflow community.
The Cisco Nexus switches have a POAP feature where they can be commissioned ...
0
votes
0
answers
37
views
How to block WM_SETCURSOR and other mouse messages caused by touch screen?
I am trying to block all mouse messages caused by a touch screen with the intent of preventing the touch screen from modifying the cursor in any way, whether its moving the cursor or hiding it. ...
0
votes
0
answers
11
views
gnome: on-screen keyboard not showing up, scrolling in firefox not working
I have a setup with a touch screen attached via USB to a linux machine running Gnome 42/Ubuntu 22.04. Unfortunately the on-screen keyboard doesn't show up in Firefox and also swiping across the page ...
0
votes
1
answer
71
views
Forwardporting Linux Touchscreen Drivers
I am trying to install touchscreen drivers that have been written for an old kernel (probably v3.x) on newer kernels (v5.15+). The source code for the driver that I am trying to forward port is here.
...
0
votes
0
answers
9
views
unity call touch on device programmatically for playmode test cases
I am writing playmode test case and want to emulate touch once scene is loaded
how to create a fake touch on android de
0
votes
0
answers
12
views
Python tkinter application in Win10 tablet mode does not open virtual keyboard clickin on Entry fields
I have setup a kiosk as Win10 in tablet mode because it has to work only with the touch screen. Programs and standard applications installed by Win10 work perfectly but a simple test app designed in ...
0
votes
0
answers
37
views
In swift for sprite kit, how can I have a functionality that tracks the touches of two nodes and at a time? Along with tracking the textures?
I’m working on a matching game. In my app, I would like a functionality that tracks the touches of two nodes at time. When the user touches the nodes and if the textures displayed after the user ...
0
votes
1
answer
30
views
How to handle touchEvents with Vue?
Is it possible to handle touchEvents with Vue3 without external library?
My need is that the element can be moved (drag and drop in another place) by touch. The elements themselves are rendered using ...
3
votes
0
answers
21
views
Prevent or Override Text Copy Popup after Touch Press
I'm trying to prevent the default popup (which includes Copy, etc.) from appearing when touch pressing on text in Chrome and other browsers. Specifically I want to replace this popup with my own ...
0
votes
1
answer
22
views
LUA psvita TOUCH boton
I'm learning Lua, but I don't understand how to create a button?
http://onelua.x10.mx/vita/docs/es/group__touch.html my reference
if touch.front.count(1).x(100).y(100).pressed then screen....
0
votes
0
answers
11
views
material ui Autocomplete works with mouse but doesn't work with touch
I have tried and searched everything possible but couldn't find a solution to the problem mentioned in the title.
no reported issues were found on GitHub as well.
I have come across.
on click and ...
0
votes
0
answers
16
views
Count Touch Screen Events, outside application
Good Day,
I am looking to count the amount of short presses and long presses on the touch screen itself, I have managed to get the counts working within the developed application, my aim is to have it ...
0
votes
1
answer
14
views
React clickable elements in touch container
I'm trying to set up a swipeable container with clickable elements. The component is the following:
const SectionBar = (): JSX.Element => {
const [translatePercent, setTranslatePercent] = ...
0
votes
0
answers
52
views
Unable to overwrite kMDItemLastUsedDate mac os xattr
I would like to overwrite the "kMDItemLastUsedDate" from a mac folder, reading online it does not seem to work with touch so I tried a few things with xattr.
here is when I get the following ...
2
votes
1
answer
38
views
Drag and drop with dataTransfer between windows possible for touch devices?
I'm a bit surprised - and maybe I'm just searching for the wrong terms - but to me it currently looks like you can't have drag and drop with data transfer on touch devices, is that true?
At least all ...
1
vote
1
answer
28
views
Disable javascript (custom cursor) on touch devices
Is it possible to a piece of javascript on mobile/tablet devices only? I'd like to do something a bit better than display: none and it makes sense to stop the script from running if it's not required?
...
1
vote
1
answer
46
views
How to detect hover state on touchscreen device - Vue 3
In my case in desktop mode user can hover over the element to reveal the menu. User can also click the element that makes a request to the server.
In touchscreen mode, I would like the click to be ...
0
votes
0
answers
13
views
Do touch.rotationAngle and touch.radiusY work on mobile (iOS)?
I am using the example provided by MDN here but touch.rotationAngle is always 0 and touch.radiusY alway equals touch.radiusX.
MDN says "This attribute is not widely implemented", but knowing ...
0
votes
0
answers
20
views
no touch events but touch device detected at raspberry pi
I'm currently looking for the reason and of course solution of the following problem:
I got a touchscreen (https://www.amazon.de/gp/product/B0965BDKDN/ref=ppx_yo_dt_b_asin_title_o00_s00?ie=UTF8&th=...
0
votes
0
answers
29
views
OXYPlot and touch gesture
Why if I download nuget with OxyPlot for WPF and creat and run very imple application,
OxyPlotView not supprot any touch getsure (as zoom in, zoom out, move etc).
But when I download source code and ...
0
votes
0
answers
15
views
Turn off Woocommerce touch slider(Flexslider.js) in single product gallery
I am trying to turn of flexslider touch function on my Woocommerce single product page. I've been trying to figure out what calls the function to make the gallery slider draggable on mobile and I have ...
-2
votes
1
answer
39
views
Unity specific area touch input
i want to make an area in my game where i can get touch inputs from the player.
Now i get touch from all the way of the screen.
strong textI want to get from the buttom of the screen or so.
0
votes
0
answers
14
views
Operator && cannot be applied to operands of type 'bool' and 'TouchPhase'
Noob here... I am trying to understand why my compiler complains about this:
if(Input.touchCount >0 && Input.GetTouch(0).phase = TouchPhase.Moved) { ... }
I am following the tutorial here, ...
0
votes
2
answers
83
views
(Unity 2d Mobile) I need to differentiate between button touch and screen touch
Im making a mobile 2d game. I have a button to shoot lasers on the right bottom of the screen. And i do have a jetpack script that when touched on screen it add force to make the player go up. But ...
0
votes
0
answers
40
views
How to remove the delay until the :active class is added to a button on mobile?
On touch screens, when tapping a <button>, there is a delay of about 300 milliseconds until the :active style is applied to the button. This results in an unresponsive feeling.
In the demo ...
0
votes
0
answers
68
views
Any way to programatically simulate touchpad gestures on windows?
I am trying to simulate a touchpad gesture input into Windows using either a script or a program.
Here's what I am trying to achieve here:
So I am using Windows 11, where switching between virtual ...
0
votes
1
answer
51
views
CMenu not receiving Windows touch messages
In my application when I receive an ON_WM_RBUTTONDOWN() message in a certain window I create a CMenu, populated with some items, and then displayed with TrackPopupMenu(xxx). It has no other ...
0
votes
0
answers
22
views
How to make a WPF element bounce against boundaries when manipulated with touchscreen devices
I want to manipulate a WPF element (move, rotate, scale) with touch gestures. I'm able to do it following the instructions provided by the Microsoft official documentation.
The object to manipulate ...
0
votes
1
answer
70
views
Touch events in custom renderer [XAMARIN]
I am overriding Xamarin's built in OnTouchEvent. I need the coordinates and the actions, the user creates. It properly emits Move, and Up actions, only if I move my finger on the screen.
It does not ...
0
votes
0
answers
9
views
Can I pass an argument to the function in an event handler? [duplicate]
I have a bunch of previous and next buttons on more multiple mobile carousels on the same page, and I'd like to assign event handlers to the previous and next buttons of each carousel for when they're ...
0
votes
0
answers
52
views
WPF C# Touch doens't work until the 11th touch
I've made an application, for self service, a KIOSK app. The product list is generated programmatically. On every window the program works fine on touch screen. Except for one window, where I have to ...
0
votes
0
answers
22
views
Is there a way to get touch position on mobile browsers when selecting text?
I am trying to create simple eased scrolling. But I have hit a hurdle on mobile browsers with the selectionchange event and touchmove. I am trying to scroll the page when a user selects text and the ...
0
votes
0
answers
22
views
How to prevent video play while swiping?
I want to prevent videos from plaYing while swiping on mobile devices.
I've tried the following:
$(document).ready(function() {
const wrappers = document.querySelectorAll('.video-wrapper');
...
1
vote
1
answer
296
views
pointer events vs touch and mouse events
I'm building an interface that should work with mouse or touch. My user may have difficulty hitting their desired target because of a variety of physical issues.
Pointer events seem perfect for this ...
0
votes
0
answers
19
views
Scrolling Chrome Desktop Touch for Kiosk
I'm making a web app to be displayed in a touch screen kiosk through Google Chrome. The kiosk touch is an add-on to the monitor connected via USB on a mac mini, so it's not a true touch computer.
...
0
votes
1
answer
10
views
Sencha Touch 2x Packaging
I've got multiple packages that I'm including into an app.js - I'd like to break the app.js to two files: one file that would load a single package, then load the a secondary file that would include ...
-1
votes
1
answer
193
views
How to detect if TouchDown event occurred instead of mouse click when user clicks my App Icon located on Windows TaskBar?
I am monitoring the mouse/keyboard/touch-screen interactions of my Taskbar icons from the Win32 app in order to make custom behaviours for the icon.
What Win32 API could be used instead of ...
0
votes
0
answers
9
views
Get Raw Data, Such as Touch Shape, for UITouch Events
I'd like to get the raw touch data from the iPad. The main goal is to be able to detect the actual shape of the touch on the screen. For example if I use a touch conductive piece of foam shaped like a ...
0
votes
0
answers
14
views
"Pointer location" feature data extraction
I'm an undergraduate doing my FYP on continuous authentication in android phones. I need to build an app that runs in the background and monitors the touch coordinates of the user and records them ...
0
votes
0
answers
15
views
Recording (X,Y) coordinates and time of a series of touch events
I am new to programing with touch screen. Sorry for any naive questions.
I would like to record the coordinates and time of a series of touch events, and save the trail in a txt/csv file.
I checked ...
0
votes
0
answers
20
views
touch screen - let all happen without pulling your finger. open the nav and make it possible to hover the links as well
I would like to say that my English is weak and this is the first time I am asking a question here. That's my question. When you press and hold the edge of the phone, the nav will open. You can ...
0
votes
0
answers
29
views
How to disable the automatic screen-centering of input and contenteditable elements in mobile iOS web browser
I have a matrix of contenteditable p elements centered on screen. When any one of the cells in this matrix is tapped, iPhone's web browser centers that cell on the screen, so that the matrix is ...
0
votes
2
answers
73
views
Disable Touch events on webpage
I have a webpage with form and I am trying to disable the touch events in that webpage I am trying to not focus on the input field with touch.
For example, page load focus will go to the input field ...
0
votes
0
answers
25
views
Multitouch and Touch to Mouse on Windows
If you have a Windows touch device, Windows converts the first finger to mouse events.
So let's assume that we have a 10 finger touch display and we have two application.
One that only shall react on ...
0
votes
0
answers
24
views
Revslider | Disable Touch Swipe on specific layer
I can prevent the Mouse Wheel Navigation, on a Layer which have scrollable content with the code bellow but can't find any way to disable Touch event.
// Disable mousewheel when inside the form.
$(...
0
votes
2
answers
265
views
How to use actions or do scroll in app in Java?
TouchAction is deprecated.
Any pointers for new usage to do vertical Scroll?
Below code used. But not working as TouchAction is deprecated.
Dimension dimension =driver.manage().window().getSize();
int ...
0
votes
0
answers
61
views
React cancels pointer event?
When I call a useReducer dispatch function, subsequent events seem to be suppressed....but ONLY if the dispatch function results in a state change AND the event that triggered the dispatch function is ...
1
vote
0
answers
33
views
Canvas particle animation mobile touch event with elements positioned on top
I have this canvas particle animation that follows the mouse event correctly but it does not follow a touch event on mobile. I realized that it's because I have this animation beneath the rest of the ...
0
votes
1
answer
43
views
Android Studio, center image and detect where tapped area inside image
I'm trying to create a centered image on top of the title screen of the app. It should be like a pop-up sort of, and when the user taps on the bottom 1/4 image the app should open a URL, and tapping ...
1
vote
1
answer
35
views
Swift iOS sometimes not detecting touches
I am creating an iOS keyboard extension with UIInputViewController, and using UIButton for each key. I have two issues:
Sometimes buttons don't detect touches.
Touches at the edges of the screen are ...