Page 1 of 1

tablet pc pen

Posted: Tue Mar 11, 2008 9:50 pm
by Philip
anybody here has document about programming the pen of tablet pc?
i just cant find it using google :?
maybe we have some standard port to control it?

Posted: Tue Mar 11, 2008 9:54 pm
by ucosty
I'm assuming it would appear as a generic HID. It should work the same as a mouse, really, except that it will move instantly between points so events like mouse over won't happen unless the pen is touching the surface.

It really depends on the device, though. Get the device list in your OS of choice and see what kind of driver is controlling it.

Posted: Tue Mar 11, 2008 11:17 pm
by Philip
i think this is a tough topic cause tablet pc is still not so popular in the market
i tried to purchase one but quite slow: compaq tc1000
hopefully the pen share the same io ports like mouse

Posted: Tue Mar 18, 2008 10:42 pm
by Philip
ucosty, do you know how to control a HID device? cause my keyboard is USB HID, and i don't know how to programme it

Posted: Tue Mar 18, 2008 11:11 pm
by Brynet-Inc
Philip wrote:ucosty, do you know how to control a HID device? cause my keyboard is USB HID, and i don't know how to programme it
Wow, Who knew? It's actually standardized! :roll:

http://www.usb.org/developers/hidpage/

Posted: Wed Mar 19, 2008 5:11 am
by Philip
did you mean the USD HID keyboard is standardized?
so how to read from this device, brynet?

Posted: Wed Mar 19, 2008 5:22 am
by JamesM
Argh! RTFM! Brynet-inc just posted a link directly to the USB HID specification!

Posted: Wed Mar 19, 2008 6:33 am
by Philip
ok, reading

Posted: Wed Mar 19, 2008 8:12 am
by Dex
You will need to implement a usb stack and than add support for HID devices.
Alot of work, no hobby OS that i know of as such support.
Here a starting point, go here:
http://ticon.net/~tatimmer/linux.html
and get DDUSB.