touchscreen

Does Google Maps API V3 support touch event?

无人久伴 提交于 2019-11-28 13:53:39
We are experiencing an issue related to GoogleMaps. The issue is mainly related to touch screens. We were trying to resolve the issue, but so far no success. We found in this article that the Google Maps API V3 does not supports touch event? Is this is true or false? UPDATE This issue was handled in the bug https://issuetracker.google.com/issues/35824421 and was solved in version 3.27 of Google Maps JavaScript API in December 2016. tim In my experience, the mousedown , mouseup , dragstart , dragend events work fine in place of touchstart , touchmove , touchend . google.maps.event.addListener

Android - How do I get raw touch screen information?

跟風遠走 提交于 2019-11-28 11:32:29
I'm working on a painting application for Android and I'd like to use raw data from the device's touch screen to adjust the user's paint brush as they draw. I've seen other apps for Android (iSteam, for example) where the size of the brush is based on the size of your fingerprint on the screen. As far as painting apps go, that would be a huge feature. Is there a way to get this data? I've googled for quite a while, but I haven't found any source demonstrating it. I know it's possible, because Dolphin Browser adds multi-touch support to the Hero without any changes beneath the application level

How to get Coordinates of Touchscreen Rawdata using Linux

痞子三分冷 提交于 2019-11-28 08:41:35
wie have a 3m microtouch display. Its connected to my debian system via usb and recongnized as human interface (hid). I am trying to access and push realtime information... if its getting touched I want to know where (x,y) and pipe it throught netcat to another host. Unfortunately I am only able to get raw data using cat /dev/input/event2 | hexdump or evtest You get hexcode that seem nowhere documented... Does anybody have a clue how to get those information? There must be a way to extract it from the hexcode. Unfortunately I have no idea how to interpret the hexcode. I couldnt find any source

Is there a Java API for touching devices such as tablets?

有些话、适合烂在心里 提交于 2019-11-28 07:31:00
I'm a java developer and I love this techonology. However, in my advisor next research we are going to use extensively touch-screen devices on Windows . This is a problem for me, because I'm used to programming on Linux and with Java. The question is, is there an API for Java for touchscreen devices? If yes, is this API good/mature? The need for a Java API is not only because I love Java but because I don't know how to program specifically to Windows, that is, I've never used Win32 or .NET. If there isn't is there something available for Mono? I hate to exclude platforms. Ben Voigt Gosh, if

Windows 7 touch screen - disabling multi-touch gesture not working

十年热恋 提交于 2019-11-28 03:37:03
问题 I have a touch screen computer with Windows 7 and I would like to disable the multi-touch gesture : But even if I disable it and apply the changes, when I reopen the window, the option is enabled again... Any idea where I can disable it for good ? (maybe in the registry...) Up: still have the problem. 回答1: How to disable "multi-touch gestures and inking" Run \Windows\System32\regedt32 as Administrator Navigate to HKEY_USERS Find entry that starts with S-1-5-21-xxxxxxxx Note there might be a

Stop the touchstart performing too quick when scrolling

瘦欲@ 提交于 2019-11-27 20:48:49
问题 I'm trying to figure out how to solve the tapped class being assigned to the elements when scrolling, but it's taking effect too quick which I need to delay it a bit when it's actually touched instead of touched while scrolling, this is my code of how it works: $('div, a, span').filter('[tappable][data-tappable-role]').bind('touchstart', function() { var self = $(this); self.addClass(self.data('tappable-role')); }).bind('touchend', function() { var self = $(this); self.removeClass(self.data(

Simulating mouse input programmatically in OS X

ε祈祈猫儿з 提交于 2019-11-27 16:51:31
Is it possible to simulate the actions of a mouse from a program in OS X? Specifically, the short version is that I'm trying to simulate a touchscreen using two webcams. So assuming I can get X,Y positions, can I send information to the OS as a mouse movement or click? Edit- Or if it's particularly easy in another operating system I'd be willing to consider that. Yes, it is possible. You can use the Quartz Event Services to simulate input events. Assuming C, I wrote this quick example: #include <ApplicationServices/ApplicationServices.h> #include <unistd.h> int main() { // Move to 200x200

Is it possible to let my c# wpf program know if the user has a touchscreen or not?

本秂侑毒 提交于 2019-11-27 15:30:52
I've got an login application that has a swipe system that people only can use when they have a touchscreen. They can login by swiping their personal pattern swipe code. Is it possible to check in C# or WPF if the user has a touchscreen? Even when he isn't using touch on it at that time? Jason Horrocks Within C# code to find out if a touch screen exists (doesn't check if its a single or multi-touch device though) by the using System.Windows.Input namespace in PresentationCore . public bool HasTouchInput() { foreach (TabletDevice tabletDevice in Tablet.TabletDevices) { //Only detect if it is a

Show & hiding the Windows 8 on screen keyboard from WPF

半城伤御伤魂 提交于 2019-11-27 14:04:56
I'm writing a WPF application for a Windows 8 tablet. It's full windows 8 and not ARM/RT. When the user enters a textbox I show the on screen keyboard using the following code: System.Diagnostics.Process.Start(@"C:\Program Files\Common Files\Microsoft Shared\ink\TabTip.exe"); This works fine however I don't know how to hide the keyboard again? Anybody know how to do this? Also, is there any way I can resize my application so that focused control is moved up when the keyboard appears? A bit like it does for a windows RT application. Many Thanks I could successfully close onscreen keyboard with

Getting the coordinates from the location I touch the touchscreen

懵懂的女人 提交于 2019-11-27 13:33:43
I try to get the coordinates from the location where I hit the touchscreen to do put a specific UIImage at this point. How can I do this? Mundi In a UIResponder subclass, such as UIView : override func touchesBegan(touches: NSSet, withEvent event: UIEvent) { let touch = touches.anyObject()! as UITouch let location = touch.locationInView(self) } This will return a CGPoint in view coordinates. Updated with Swift 3 syntax override func touchesBegan(touches: NSSet, withEvent event: UIEvent) { let touch = touches.first! let location = touch.location(in: self) } Updated with Swift 4 syntax override