input-devices

ergonomics: what's better; trackball, ergonomic mouse or some other pointing device (a-la touchscreen)?

So I bit into the hype and recently purchased an apple wireless keyboard and that evil bar-of-soap thing apple makes for a mouse. Couple of hundred dollars later and this is where I begin to worry about RSI. Go figure. Don't get me wrong, this apple mouse is genius and looks pretty as hell, but my right wrist feels tired after a full da...

Stylus/tablet input device

I need to make a WebCast presentation soon and need to do some "whiteboarding" during that WebCast. Does anyone have any stylus/tablet input device recommendations? Anyone ever used such an input device with WebEx's whiteboard feature? rp ...

What is the most efficient way to populate a time (or time range)?

While plenty of solutions exist for entering dates (such as calendars, drop-down menus, etc.), it doesn't seem like there are too many "standard" ways to ask for a time (or time range). I've personally tried drop-down menus for the hour, minute, and second fields (and sometimes an "AM/PM" field, as well). I've also tried several clock-...

Is there an alternative to RawInput in Mac OS X/Linux

I'm developing an application that runs on a machine that has several usb keyboards attached. Occasionally keyboards will added or removed. Each time a key is pressed, the application needs to find out which key was pressed, and which keyboard was used. I have got a working version of the application which uses RawInput under windows. ...

JavaScript: Check if mouse button down?

Is there a way to detect if a mouse button is currently down in JavaScript? I know about the "mousedown" event, but that's not what I need. Some time AFTER the mouse button is pressed, I want to be able to detect if it is still pressed down. Is this possible? ...

What alternative user input techniques should be adopted in programming?

Programming is particularly different to, for example word processing due to the wealth of special symbols etc that need to be entered. Of the current crop of new user interface techniques, which are suited to programming and why? Or is the idea of a language syntax the problem, should we be programming more symbolically, and if so, ho...

How to use trackpad scrolling in .Net

My WinForms app uses the mouse wheel, subscribing to the Control.MouseWheel event. How can I get it to work with scrolling methods from other input devices, in particular "finger along the edge" scrolling on the (Synaptics) trackpad on my T61? I assume that I need to wire up the trackpad messages to the Control.MouseWheel event somehow, ...

How can I programmatically take a picture using a webcamera and save it to a file?

Preferably, answers will be in a .Net language. However, all answers are very welcome. Thank you,in advance, for your assistance. ...

polling joystick C#

i have an application that records a date/time when the space bar is pressed unfortunately, the window doesn't always have focus, for various reasons. eg virus checker popup, itunes update, windows update, etc so what i though would be a cool idea is to use a joystick button, then regardless of which window has focus, i can always detec...

How can you take ownership of a hid device?

What I would like to take ownership of a hid device that may already have been plugged in, consume it's output, while preventing others(X11 or terminal) from consuming it. If I can help it, I don't want to pretend to be a terminal, but rather to monopolize a particular hid or character device. The idea is that some hid devices may be re...

create a console in Minix

I need to write an app to create a console in Minix This is just for a project ( in fact for an interview test. ) Where should i start this is a matter where i don't have time to learn much about Minix( usually i used to )...and have to write a program right away... any good tutorials about I/O, display connections writing an app fo...

Make a USB Device, Control It In Java

I'm thinking about making a physical controller (device?) with knobs, buttons, and LEDs. I'd like to interact with it using Java (respond to the knobs, light up LEDs, etc). The reason I mention Java is two-fold: first, I know Java well1. Second, I've written the rest of the program I need to interface with in Java (though there are ways ...

Windows Application: Raw Input Device Registration - Excluding desired sub-class device

In my Windows application, while registering for 'Raw Input Devices', I wish to register only mouse but the trackpad which is also a pointing device also gets registered. In MSDN Documentation, Top Level Collection (TLC), says usage of, usUsagePage, usUsage fields of RAWINPUTDEVICE. But there is no information how to exclude one of the...

How to capture a signature from an ePad in C# - windows forms?

I need to save a signature from an ePad device .. I would prefer to use the Microsoft.Ink InkPicture control but the ePad really zoom zooms the mouse pointer about. The ePad SDK samples didn't compile either. Also, I'm a winforms noob. Is there a certain library or sample code that might be helpful? ...

MacOS Virtual Input Devices

How can I create a virtual HID device in code? I'm trying to avoid writing a kernel extension to accomplish this, but it seems to be the only way. I need to be able to create virtual HID devices of all types, and have an app running in the background feed them events. Is there a way to do this in user-space, or must I venture into kernel...

/dev/input keyboard format

I've been playing around with capturing the input from my keyboard device: /dev/input/by-path/platform-i8042-serio-0-event-kbd for me, and I was wondering if there was any specification for what it returns, using od -tx1 /dev/input/by-path/platform-i8042-serio-0-event-kbd to listen. I'm curious mostly due to the behavior of cert...