touchscreen

How to write usb touchscreen driver kext in os x 10.9?

可紊 提交于 2019-12-30 11:48:25
问题 I want to write a usb touchscreen kext for usb touch screen . I have read the Kernel Extension Programming Topics and the I/O Kit Fundamentals etc, My question is, 1 . how to get the input report messages from touch screen ? 2 . how to post the coordinate info to system ? I have no idea, anybody help? 回答1: It depends on the hardware; moreover, this question is quite broad - you'll need to be more specific in your question to get more specific answers. I'll try to provide a broad overview: A

Determining if a device is a touchscreen device in linux

こ雲淡風輕ζ 提交于 2019-12-25 03:13:36
问题 I am trying to determine what /dev/input/eventX device is the touchScreen. I am currently looking at the return of EVIOCGNAME to get device name. Looking at the return values of the EVIOCGBIT ioctl I don't think there is a generic way to determine what is the touchscreen. I am interested in any sort of solution to this problem. Thanks in advance for your time!!! 回答1: Take a look at: /dev/input/by-path/ /dev/input/by-id/ /sys/class/input/event?/device/ These might have enough info for your

How to get raw touchscreen data?

為{幸葍}努か 提交于 2019-12-23 16:07:26
问题 I know I can get touch events in my iPhone app. But these touch events are filtered for me. If I press the device against my face, it filters out these touch events because it can detect its not a finger. How would I get the raw touch events, not filtered in any way? 回答1: There is no public API for this. The closest you can get is GSEvent, from the GraphicsServices private framework. 来源: https://stackoverflow.com/questions/789737/how-to-get-raw-touchscreen-data

Is it possible to click a Button without ever losing focus on a TextBox?

自古美人都是妖i 提交于 2019-12-23 08:04:20
问题 I am trying to develop a touchscreen keyboard control in a C# WPF project that will be visible when a TextBox gets focus and is hidden when the TextBox loses focus. The projects I have seen for touchscreen keyboards have accomplished this by defining the keyboard as a new window rather than a control. For my application, I would really like to have the keyboard as a control within the main application window. Is there a way to allow a button to be clicked (on the keyboard control) without

Keyboard on the screen in WinForms

爱⌒轻易说出口 提交于 2019-12-22 13:49:16
问题 I have developed a Windows Forms application which is used on a touchscreen computer. Is it possible to display a keyboard when the user clicks on an input box (textbox)? And how can i do that ? 回答1: Are you aware Windows has an on screen keyboard? In Windows 7 it is All Programs > Accesseries > Ease Of Access > On Screen Keyboard. You can write you own if you want, but I use the Windows one all the time when I do not feel like picking up the keyboard. You can create a shortcut to it: The

Touchscreen scroll disable

不想你离开。 提交于 2019-12-22 10:09:32
问题 For my work i have to create help file on a touchscreen application. Normally the page is scrollable by touch, which is fine, but now they asked me to create some movable popup, and the movement interferes with the scroll of the touchscreen. Is there a way to disable the scrolling of the background while the popup is on the screen? I have seen the following post: Prevent Background Scrolling When Displaying Popup. But the " $(window).scroll(function() { return false; }); " doesn't seem to

Smallest button size on a touchscreen

醉酒当歌 提交于 2019-12-21 20:14:38
问题 I'm involved in writing a touchscreen application for a medical device. The program is kiosk-like, in that the start menu, etc, will not be accessible to the user, and the user will use an onscreen keyboard to type any text in the rare event that they need to. The spec'd screen size is 1280x1024. The question is this: What's the minimum touchable button size for a reasonable interface? I'm thinking that an American dime is a reasonable minimum size in all directions, with the reasoning being

jQuery onMouseover/onClick for Touchscreen users (ie iPad)

老子叫甜甜 提交于 2019-12-21 04:52:08
问题 So, I've made a collapsible menu into a web site based system which minimised the menu into 6 "jewel buttons" on the top right of the screen, each looks the same and contains a number, which is the number of alerts referring to items within the menu. The content of these is not really relevant to my question, but simply explains that they are not therefore textual and don't therefore have clear and easy to read labels explaining what the menu items do. Therefore, I have put an onMouseover

Is Twitter Bootstrap suitable for touch screens?

て烟熏妆下的殇ゞ 提交于 2019-12-21 03:32:47
问题 I am considering using Twitter Bootstrap (TB) for a mobile web app. The next version of TB, version 3, claims to be "mobile-first". However, looking at the included Javascript files, I see almost exclusively "click" events, hardly any "touch" events used. TB relies on Jquery to handle the events. Also, there are lots of "hover" definitions in the CSS, which don't work on touch screens. Even so, I find lots of recommendations and tutorials about using TB in mobile web apps when Googling. My

HTML5 Drag and Drop API on Touch Screen Devices

微笑、不失礼 提交于 2019-12-20 08:57:05
问题 I was just wondering if the HTML5 API for Drag and Drop included support for touch screen displays. I was thinking of iPhone, but I know this isn't supported yet. I was wondering if that is just catching up on the part of Apple, to support HTML5 drag and drop on Safari mobile, but I also was thinking maybe the HTML5 API wasn't powerful enough for this, but I highly doubt that. How about on a standard touch screen laptop tablet or the like, I don't have one so I can't test but I would imagine