Page 1 of 1

Any USB guru around ?

Posted: Tue May 31, 2005 7:20 pm
by Grendel
Looking for someone who worked w/ USB HID report descriptors before. And yes, I know about usb.org ;)

Posted: Thu Jun 02, 2005 7:07 pm
by Grendel
Well, since I was asking for a bit much, I started to read some documentation (oh joy ! :)). While skimming over "HID Usage Tables" I stumbled over a rather strange control device description:
HID Usage Tables, Version 1.12, pg. 43 wrote:5.7 Miscellaneous Simulation Devices

Magic Carpet Simulation Device

CA รข?? Allows a device to be generally classified as one that uses the standard control of a magic carpet. This control is a bar, grasped by both hands, that controls the Yaw, Pitch and Roll of the carpet.

The bar, at which the pilot sits, may be pushed forward or pulled back to cause the carpet to dive or rise, respectively. In the zero position, the carpet is in level flight. Pushing forward on the bar causes the carpet to nose down and generates negative values. Pulling back on the bar causes the carpet to nose up and generates positive values.

Turning the bar turns the carpet. In the zero position, the carpet travels straight ahead. Pulling back on the right side turns the carpet to the right and generates positive values. Pulling back on the left side turns the carpet to the left and generates negative values.

Rotating the bar rolls the carpet. In the zero position, the carpet travels level. Rotating the bar in a clockwise direction rolls the carpet to the right and generates positive values. Rotating the bar in the counterclockwise direction rolls the carpet to the left and generates negative values.
Whatdoyouknow -- I always wondered how you would control a magic carpet. Turns out it's standardized. :lol:

Posted: Thu Jun 02, 2005 8:41 pm
by DCrazy
That's the control scheme for Descent, btw. :P

Posted: Fri Jun 03, 2005 10:53 pm
by Duper
LOL.. sounds like someone was tired of writing code.