hi,

Am Dienstag, den 02.02.2010, 10:22 +1000 schrieb Peter Hutterer:
> On Mon, Feb 01, 2010 at 09:27:34AM +0100, Rainer Klier wrote:

> > is there a howto oder wiki or anything like this?
> 
> generally, any input device features that go past x/y and buttons need to be
> accessed through the X Input extension API. Start with XListInputDevices and
> go from there. There's nothing specific to wacom about this API, it's
> generic for all devices.

ok, but i really don't need the x-features.
i dont want the tablet act like a mouse.
at least i don't care about working as a mouse.
my scernario whould be:
1. user runs his computer normally
2. user plugs in the tablet
3. user starts my signing-application
4. user uses normally his mouse to work with my signing-application
5. but when he reaches the point of signing he takes tha tablet and
"writes" his signature on the tablet. the software catches the
signature-data and incorporates it into the document which was signed.

so i don't need the tablet to work as a mouse.
i need it as signing-pad only.

> Xlib programming anyway. If you're using a toolkit such as GTK or Qt, you
> need to look into the specific ways how they deal with input devices. 

my application is java-based.
i already habe an api to deal with the tablet-data to get them into the
java-application.
all i need is a c-language-layer which gets the data from the tablet and
talks to the java-coda via JNI.

> In this case though, I don't think you need any wacom-specific features.
> The tablet looks mostly like a mouse on purpose, it gives you coordinates

and i think, this is my problem.
and if i am wrong, and it is not a problem,. than at least, i don't care
about the mouse-acting.

> (x, y, pressure, etc.) and you need to then do with those coordinates what
> you need - be that conversion into a signature, a line, a circle, or a
> simple button press.

you think, i should use the data coming from the xinput-layer and not
coming from the kernel-driver?

> Aside from possibly pressure, I don't really see why you'd need something
> wacom-specific in the code - the app should probably work equally well if
> someone uses a mouse to sign (the physical difference between the devices
> shouldn't really matter).

the app also should work with more advanced signing-pads which report
more than x,y and pressure.
-- 
Rainer Klier
Research & Development
xyzmo SIGNificant Group  | Austria | USA  | Germany
A-4052 Ansfelden, Haiderstraße 23
Tel.: +43 7229 88060-0, E-Mail: [email protected]

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to