Questions tagged [touch]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

TouchScreen : How to get max touch points programmatically

It seems touchscreen comes with varying Touch Point capabilities i.e. 5 Touch Points, 10 Touch Points or 20 Touch Points. Is there a way to get supported Touch Points programmatically instead of hard ...
DieWithYourBootsON's user avatar
0 votes
0 answers
15 views

How do I reduce the width of GTK3 spinbutton below the default?

my first enquiry, I apologise in advance if not quite proper... I am constrained to a limited pixel height and width on a small touch-sensitive display for a medical device using Raspberry Pi, program ...
Alan King's user avatar
0 votes
0 answers
92 views

Keeping image centred during drag - touch events

A continuation from a previous unanswered post in which I wanted to centre an image to the touch that is dragging it. For example if the user touches the top right corner of the image, the image will ...
Undefined's user avatar
2 votes
0 answers
33 views

How can I access raw touch capacitive images from an Android phone?

I found an example:http://huyle.de/blog/capacitive-images/. Is there a way to access raw capacitive images on multiple Android phones? How should I modify the kernel to get the raw input data and then ...
Reew1nd's user avatar
  • 21
1 vote
0 answers
38 views

Remove active pseudo class after long touch

I have been working on buttons for touch screen app. Whenever user touches button for more than one second button stays active after lifting touch. I'd like to disable this functionality. I have ...
Myfero's user avatar
  • 224
0 votes
0 answers
23 views

Multi touch support on a multi window Electron app

I have an Electron app that generate 4 different Browser Window: // Create number of window specified in windowsNumber for (let index = 0; index < windowsNumber; index++) { //Create screen ...
marcotw's user avatar
  • 113
-1 votes
0 answers
16 views

Why does my app not respond to touch events?

We have an Android app that sales reps use in the field. The app is designed so that after a certain time of inactivity the user is logged out and the app returns to the login screen. Some users have ...
Rich Morey's user avatar
0 votes
0 answers
19 views

Touchscreen equivalent for Mousedrag for a painting grid in HTML/CSS/JS

I'm trying to build a paint like program (Etch-a-Sketch of The Odin Project) where when I drag the mouse across the paint grid, it colours them black. I am basing my function hold() from how to ...
Ricewind619's user avatar
0 votes
1 answer
31 views

How deteck swipe up correctly

I have a video viewing screen. at the touch down event, I stop the video, at touch up resume. However, I encountered a difficulty - I need to swipe up and open the video settings window, while the ...
Stan's user avatar
  • 1
0 votes
2 answers
122 views

Using `onClick` for touch taps fails if a user moves their finger slightly during the button press

I have a touch display that uses React. I have several buttons that use the onClick event, looking something like: <button onClick={() => console.log('onClick')}>Hello!</button> When I ...
Kevin Evans's user avatar
0 votes
1 answer
40 views

Flutter: how to stop the finger in the side borders of the screen count as a touch?

I have a children's app that show pictures that they need to touch to play a sound. The images are centered occupying about 85% of the width. Testing with my son of 3 years old shows that the way he ...
Emerson's user avatar
  • 948
0 votes
1 answer
27 views

GTK+3 combobox on touchscreen workaround

I'm working on GTK+3 python app, which is running on embedded system on touch screen. I need to use combobox, but it is not compatible with touch input. If I click on it, it shows dropdown menu, which ...
Thugmek's user avatar
  • 43
0 votes
1 answer
29 views

STM32L4 Wakeup from sleep or shutdown via TSC

I am working on a project with a STM32L462CEU6 powered by battery. In this project we are also using TSC. Now I want STM32 to go in sleep or shutdown mode and wakeup when a touch pad has been touched. ...
Seba's user avatar
  • 3
0 votes
0 answers
27 views

Lag when processing pointer position during onTouch MotionEvent Android Kotlin

I'm creating a custom view to draw a candlestick chart. It reads values from multi-touch pointer positions in the view's onTouch event to calculate the distance between the two pointers and zoom in or ...
Samara Crawford-Hunt's user avatar
0 votes
1 answer
17 views

How to combine click and taphold into single call

I have a problem in that the JQuery click event handler is not triggered for a long touch press (Chromium browser kiosk application on a Raspberry Pi4 with a touch screen). It can be the case that ...
ejectamenta's user avatar
  • 1,047
0 votes
0 answers
25 views

Enabling touch simulation moves an element to the right

Whenever is choose a specific screen size an element on the right side of my header is where is must be,but whenever I enable touch simulation,it the proceeds to move the element more to the right and ...
NoodleBuss's user avatar
0 votes
0 answers
22 views

Android Accessibility Service: Dispatch Multitouch Gesture possible?

I am currently extending an existing app with touch gestures like swipe. Basically everything works fine if I am simulating just 1 "finger". But as soon as I am adding multiple Strokes to ...
pixel shock's user avatar
0 votes
0 answers
16 views

WPF showdialog window After that accidental touch and firing event

I have a problem in my WPF application. We have a parent wpf page and we start a dialog via showDialog method then after this dialog window closed, if we touch any point regardless that it is an item ...
isasin's user avatar
  • 1
0 votes
0 answers
24 views

touch does not update session.cookie.expires using Sequelize Store

I've been struggling with this for a while. I have a server side that creates a session using express-session library. I'm using SequelizeStore to store session records in a local DB. Note, my ...
Simon Nazarenko's user avatar
0 votes
1 answer
109 views

How Can i detect Touch Screen In c#

I want to create a web application using Blazor that consists of two lists, each containing different buttons. I would like to hide the buttons when it is touch screen and make it possible for users ...
Sara Barzani's user avatar
0 votes
0 answers
3 views

Resolving an issue creating a file within a shared folder within a virtual machine

Set up a VM and created a shared folder and within this folder wanted to create a file using the touch command and got this touch: setting times of 'text.txt': No such file or directory Can anyone ...
A Whelan's user avatar
1 vote
0 answers
91 views

Why mobile javascript touch events always have .rotationAngle == 0 for me?

I wanted to use .rotationAngle property in my code, but for some reason it is always 0 for me. https://developer.mozilla.org/en-US/docs/Web/API/Touch/rotationAngle . Is this some sort of bug, or this ...
aiyo4930aiyo's user avatar
0 votes
0 answers
58 views

phaser 3 scrolling problem in mobile touch screen

I am new to phaser 3 and i don't know how to resolve this touch screen bug. in desktop mouse scrolling working fin but in touch screen devices io wobbles and very buggy to scroll there is 25 records ...
Vishal Shete's user avatar
1 vote
2 answers
101 views

Google Maps Javascript API draggable markers don't trigger neither "click" nor "gmp-click" event on touch devices

As I have written in the title, I am dealing with Google Maps Javascript API. In particular I am using the last released Advanced Markers for their customization capabilities. These elements can be ...
Federico Tomasi's user avatar
2 votes
1 answer
189 views

Screen Touch control to move Cinemachine Camera in Unity

I'm making third person shooter game in unity for android and this is my first time working on touch controls so with the help of youtube videos I was able to make virtual joystick and button with ...
Areesh Ahmad's user avatar
1 vote
0 answers
20 views

Stop OnClick Event from Firing on New Scene Load in Unity for Android Devices

I am experiencing a problem with the UI Button Components in Unity while testing on Android devices. The issue is that the OnClick event is fired when I lift my finger in a new scene if the screen was ...
LVBen's user avatar
  • 2,041
0 votes
0 answers
42 views

How to do programmatically Tap/Touch in React Native?

I have a pop up which is gone once I tap/touch anywhere on the screen. I want to do this programmatically tap/touch so that a human touch is not required. what i need to add / change in my code? My ...
prabal taskmanager2's user avatar
4 votes
1 answer
181 views

Get single click event in selection mode with Plotly, with touch device

With the following Plotly.js code, I receive event data when we select a rectangular zone (drag and drop) and also when we click on a single point: plotly_selected and plotly_click events are ...
Basj's user avatar
  • 42.4k
0 votes
1 answer
265 views

Alternative to xamarin community toolkit toucheffect maui

does anybody knows if there is a workaround for using long touch with DotNet MAUI? In my legacy app build with Xamarin, i was using xct:TouchEffect.LongPressCommand. As far as i know there is a wip in ...
Simon Mardiné's user avatar
1 vote
0 answers
164 views

When running a VNC server, how can I distinguish between local input and remote mouse click events?

I have a computer with a touchscreen where users navigate an interface presented by a Python app. This computer runs a VNC server (x11vnc on Debian). Administrators sometimes assist the users to ...
Stew's user avatar
  • 4,445
1 vote
1 answer
98 views

Enter password on a Touch Keyboard without other people seeing it

I have a kind of security problem. In Delphi I am using Vcl.Touch.Keyboard.TTouchKeyboard because there is no real keyboard on a machine. There are 4 monitors around this machine which are all ...
Michael Hutter's user avatar
1 vote
0 answers
37 views

How to change a setting on Samsung Device programmatically?

I'm writing an android java app that tracked screen touches to count pushups. I would like to ensure touch sensitivity is at highest level. I noticed that in Samsung devices, there is an option in '...
Ali Nato's user avatar
0 votes
0 answers
62 views

How to enable multi-touch interaction in VTK (e.g. zoom in on stl by pinching)?

I'm trying to make an stl viewer using vtk (9.2.6 in python 3.11.2), which will be part of a larger application. The application will run on a windows 10 pc with touchscreen but I cannot figure out ...
RobinVC's user avatar
0 votes
2 answers
44 views

How to get the location of TouchEvent in Javascript

I am trying to add touch compatibility to my js game and need to know the location of the touch event on window object, With clicks you get e.x,e.y but there is no such property for touch start. I ...
Javascript-GameDev's user avatar
0 votes
0 answers
31 views

Trouble with Touch Events in React Native Signature App on Android

I'm currently working on a signature app using React Native, and I've encountered an issue that seems to be specific to Android devices. When users draw lines near the middle of the drawing board, ...
Yonatan Vizel's user avatar
0 votes
0 answers
32 views

Touch Designer Open CV Error cv2 has no attribute COLOR_RGB2Gray

Im new to touch designer and have been doing this tutorial by Scott Allen on using open cv with touch for multi face tracking. I have followed as best as I can but keep getting error messages in my ...
Barney's user avatar
  • 1
2 votes
0 answers
53 views

RuntimeError: shape '[4, 3]' is invalid for input of size 3

I tried to compute the Euler angles from the quaternion using this code: def compute_euler_angles_from_quaternion(quaternions, sequence='xyz'): batch_size = quaternions.shape[0] print(&...
Redhwan's user avatar
  • 927
0 votes
1 answer
31 views

AssertionError: Mismatch in batch_size and euler_angles shape

I tried to compute the Euler angles from the quaternion using this code: def compute_euler_angles_from_quaternion(quaternions, sequence='xyz'): """ Convert a batch of ...
Redhwan's user avatar
  • 927
1 vote
0 answers
49 views

How to disable context menu on long finger press in a webapp, and stil receive all the pointer events?

In a webapp project, I need a button to respond accurately to press and release events, from any pointing device, whether it comes from the mouse, the touchscreen or any means of pointing. It should ...
DavGin's user avatar
  • 8,265
0 votes
1 answer
534 views

React Input Text Field - How to Focus on Touch?

I have the following input component that I'm reusing all over the place. It works absolutely great on desktop, but on mobile, I can't seem to get it to focus on press. I'm not sure what I'm doing ...
MPiland's user avatar
  • 47
0 votes
0 answers
33 views

Fixed number of touches on the screen in Unity

Is it possible to limit the simultaneous tap on the screen to only two taps? Not through Input.touchCount, but so that the screen simply does not respond to new clicks if there are already two fingers ...
Operator's user avatar
0 votes
0 answers
18 views

Tracking the movement of fingers among RectTransform with touches on the screen

I have two rectTransform fields that divide the screen into two parts. Through them, I track touches on the smartphone screen. I want to make it so that when I tap on the field on the left, when I ...
Operator's user avatar
0 votes
0 answers
101 views

Ubuntu touch support Lenovo Flex 5 14IAU7

I want to install Ubuntu or a other Linux on my Laptop, the device has a touchscreen. But Ubuntu only recognises one finger, not multitouch. I have search for drivers but Lenovo don't give us Linux ...
ionas_999's user avatar
0 votes
1 answer
22 views

How do I get a mobile browser to not introduce a 100s msec delay with Javascript touch events?

My understanding is that mobile browsers used to purposefully introduce 300 ms delays with touch events. It was some means to allow for double-clicks and not found with mouse events. Supposedly this ...
user11686462's user avatar
0 votes
0 answers
33 views

Is there an alternative to changed touches for safari based browsers?

I have some touch events in my javascript code that use event.changedTouches but the browser on IOS that are based off of safari don't support it. Does anybody have an alternative thanks - Dave. I've ...
ObviousAlexC.'s user avatar
0 votes
0 answers
31 views

How to add a players name to an array if they touch a part. - Roblox - Lua Coding

I've been have trouble recently when i try to add a player to an array if a part is touched, but i cant seem to get it to work. Here is my code: playerWin = {} game.Workspace....
Gamerboi677 _YT's user avatar
1 vote
0 answers
36 views

WPF C# Touch doesn't work until the 11th touch in Datagrid

I've made an application, for Point Of Sale. In this App, I need to select an item from the item list which I showed in Datagrid. But the problem is touch is not recognized until the 11th touch. using ...
Shabeer's user avatar
  • 25
0 votes
0 answers
39 views

Delay mouse down event responsiveness

I am using resistive touch screen. On tapping button on resistive touch screen, I am changing background color of button to green, on upon mouse up event I am removing background color of button using ...
vin's user avatar
  • 19
0 votes
1 answer
13 views

Pencil touch not recognized after finger touch

I'm working on a sketch app, and I'm pretty happy with it so far. Palm rejection works well by checking if the touch type is .pencil. However, when I draw, I sometimes use my pinky finger instead of ...
Victor Engel's user avatar
  • 2,045
0 votes
0 answers
55 views

How can I programatically initiate "Touch Input Calibration" on Windows

Is there a way to programatically invoke the touch input calibration on on Windows 10 or newer? What I am looking for is the Control Panel -> Tablet PC Settings -> Display -> Display Options -...
Todor T.'s user avatar

1
2 3 4 5
127