touchscreen

Calibrating and configuring evdevtouch on embedded qt project

一个人想着一个人 提交于 2020-03-05 05:38:46
问题 I have a Qt project running on a icoremx6solo with linux. I've setted up the graphics and run the code, but i can't handle touch inputs. Enabling the input logging with export QT_LOGGING_RULES="qt.qpa.input=true" i discovered that the coordinates ar not setted, i think that this is the main problem with that: qt.qpa.input: evdevtouch: /dev/input/event0: Protocol type B (multi) qt.qpa.input: evdevtouch: /dev/input/event0: min X: 0 max X: -1 qt.qpa.input: evdevtouch: /dev/input/event0: min Y: 0

Bad Display Name when running Python script on boot with Touch Screen

别说谁变了你拦得住时间么 提交于 2020-01-30 10:12:04
问题 Attempting to run a Python script on boot on Raspberry Pi 3B+ 1GB RAM, Raspbian, with a SunFounder 10" Touch Screen, - .log file returns "Bad display name' Python script is 100% functional when run via Terminal / executable script / Thonny etc. Attempted to run at boot first via rc.local - created a service, enabled service, daemon-reload... etc. Did not work. Tried to run as crontab, same result - .log output from crontab shows "Bad display name". Thought it was lack of Display Environment

Which On-Screen Keyboard for Touch Screen Application?

假如想象 提交于 2020-01-14 12:53:47
问题 I'm developing an application in C++ that's partially driven by touch-screen on Windows XP Embedded. Some text entry will be necessary for the user. So far we've been using the standard Windows On-Screen Keyboard (osk.exe), but there are two main problems: It's rather small on a higher resolution screen which will probably make it hard for users to hit the right keys It's too "ugly" for the customer, who'd like a slicker on-screen keyboard that integrates better with the custom look-and-feel

Which On-Screen Keyboard for Touch Screen Application?

戏子无情 提交于 2020-01-14 12:53:46
问题 I'm developing an application in C++ that's partially driven by touch-screen on Windows XP Embedded. Some text entry will be necessary for the user. So far we've been using the standard Windows On-Screen Keyboard (osk.exe), but there are two main problems: It's rather small on a higher resolution screen which will probably make it hard for users to hit the right keys It's too "ugly" for the customer, who'd like a slicker on-screen keyboard that integrates better with the custom look-and-feel

Which On-Screen Keyboard for Touch Screen Application?

ε祈祈猫儿з 提交于 2020-01-14 12:53:37
问题 I'm developing an application in C++ that's partially driven by touch-screen on Windows XP Embedded. Some text entry will be necessary for the user. So far we've been using the standard Windows On-Screen Keyboard (osk.exe), but there are two main problems: It's rather small on a higher resolution screen which will probably make it hard for users to hit the right keys It's too "ugly" for the customer, who'd like a slicker on-screen keyboard that integrates better with the custom look-and-feel

USB touchscreen on Android 4.0.3 -> not possible to select (only moving the pointer)

只愿长相守 提交于 2020-01-13 06:00:30
问题 Good morning guys. I bought a LCD embedded display with a resistive touch screen integrated. The TS is interfaceable via USB. I have connected it to a device running Android 4.0.3 and the touch is correctly recognized as externale HID. PROBLEM: the tapping (pressing) is not recognized as selection/confirmation...the only thing that happens, when I tap the screen, is to move the pointer(arrow) in corrispondance of the coordinated of my finger..like I moved a mouse HID without left left

Is it possible to simulate a click on the screen in Android? [duplicate]

房东的猫 提交于 2020-01-13 03:41:08
问题 This question already has answers here : How to simulate a touch event in Android? (7 answers) Closed 2 years ago . Is it possible to simulate a "click" (touch screen) by coordinates or on a view element? 回答1: It is possible to simulate touch events on android screen. If you have the coordinates of the view then you can generate touch events by using adb shell commands. For e.g- adb shell input tap x y where x and y are your coordinates. You can run this command from terminal. If you want to

Best way to detect touchscreens (ipad, iphone, etc)?

梦想的初衷 提交于 2020-01-12 19:31:13
问题 I need to load some additional CSS to my page if its being viewed on a touch screen device like an ipad or iphone. Whats the easiest way to do this? Thanks 回答1: Easiest is arguably http://www.modernizr.com/ . 回答2: For iPad you can try: if (window.Touch) { alert("touch my ipad/iphone/ipod"); } else { alert("no touch!"); } I'd venture to guess that iPhone works the same way. You can also use CSS media queries to produce something like this: <link rel="stylesheet" media="all and (max-device

Things to consider when writing for touch screen?

☆樱花仙子☆ 提交于 2020-01-11 18:51:06
问题 I'm starting a new project which involves developing an interface for a machine that measures wedge and roundness of lenses and stores the information in a database and reports on it. There's a decent chance we're going to be putting a touch screen on this machine so that it doesn't need to have a mouse or keyboard... I don't have any experience developing for full size touch screens, so I'm looking for advice/tips/info from you guys... I can imagine you want to make the elements a little

iOS/Android browser: showing a zoomed preview of button on touchmove

筅森魡賤 提交于 2020-01-06 07:20:46
问题 I'm trying to create behavior similar to iPhone keyboard (see included image). As in, when user starts and moves touch, she sees a zoomed version of the element that is touched, and selection would happen when on touch up. I'm using Zepto. I can get the touch coordinates correctly, but have trouble finding the object that's under the finger. I'm using below code to check which element is returned as target of the event. $("#myList li").live('touchmove', function(event) { console.log(event