tablet pc pen

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Philip
Member
Member
Posts: 59
Joined: Thu Mar 06, 2008 11:37 pm
Location: Singapore

tablet pc pen

Post 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?
User avatar
ucosty
Member
Member
Posts: 271
Joined: Tue Aug 08, 2006 7:43 am
Location: Sydney, Australia

Post 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.
The cake is a lie | rackbits.com
User avatar
Philip
Member
Member
Posts: 59
Joined: Thu Mar 06, 2008 11:37 pm
Location: Singapore

Post 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
User avatar
Philip
Member
Member
Posts: 59
Joined: Thu Mar 06, 2008 11:37 pm
Location: Singapore

Post 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
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post 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/
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Philip
Member
Member
Posts: 59
Joined: Thu Mar 06, 2008 11:37 pm
Location: Singapore

Post by Philip »

did you mean the USD HID keyboard is standardized?
so how to read from this device, brynet?
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Argh! RTFM! Brynet-inc just posted a link directly to the USB HID specification!
User avatar
Philip
Member
Member
Posts: 59
Joined: Thu Mar 06, 2008 11:37 pm
Location: Singapore

Post by Philip »

ok, reading
User avatar
Dex
Member
Member
Posts: 1444
Joined: Fri Jan 27, 2006 12:00 am
Contact:

Post 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.
Post Reply