David Raditch: I read on your web page that you have
made “pinch gloves”. I was wondering how they work.
-
You don't know the Fakespace pinch gloves.
I will describe the function:
The box will detect any contact group of fingertip contacts.
For 10 fingers, you can get up to 5 contact groups (2 fingers each).
You can even connect left-hand fingers with right-hand ones.
You may even get one contact group with 10 fingers (= all shorted).
For transmitting the connection event, the box sends a serial string
(as you can see in the demo program screen shot).
No polling nessecary, the box always reports a string
when the connection state is changing.
Most-recent connections are first in the list of connections.
My box furthermore scans for ground connections what the original
(huge) box does not, with a detection time less than 100 ms.
Note that the “pinch gloves” do not include any acceleration or inclination
sensors as you may expect for this commercial product.
- Do you touch the thumb to fingers to detect a pinch?
-
The firmware scans for any connection (like a short-circuit finder
for a cable testing machine).
- I am very much impressed with the USB interface.
-
I'm not explained in HTML that this device offers a simple
firmware update method via USB too!
Simply connect thumb and little finger on left glove and plug-in
the USB plug. In this case, the device branches to a known bootloader.
E.g. for a HID-compatible firmware version (not Fakespace compatible).
Or, maybe, a dual-role firmware. Good for Linux.
Because “connection groups” do not fall into something known HID,
making a HID (Human Interface Device, a USB category) did not make much sense.
This device simulates a COM port (without need of a Windows driver!),
and is therefore fully compatible with the Fakespace box,
except you have a DOS program.
That's the reason I rewrote the demo program (it was for DOS).
- I
wrote Win32 keystroke injection software to take the “button” press and
change to a keystroke.
It was designed to help a friend who was unable to move his hands to play
computer game.
-
For your application, changing the firmware to directly send HID-compatible
keystrokes to Windows would be the best solution, because that does not
need any Windows driver.
An extra HID-compatible “port” and a special Windows software can ease
configurating the internal translation table.
See also:
http://www.obdev.at/products/avrusb/prjhid.html
Of course you can also write a driver-like software that converts
the current serial protocol to keystrokes (calling SendInput()),
not changing the Glove box' firmware.