On Tuesday 16 January 2007 19:03, [EMAIL PROTECTED] wrote:
> > We'd like to write a program that can interface with a Graphire pen in
> > extension mode, just as the Gimp.  To be more specific: In our program
> > the pen's cursor should be restricted to the programs main window.  It
> > should not be possible to move it over the enitre screen.  The program
> > should display an array of buttons, and when the user clicks on a
> > button, something should happen.
>
> Restrict cursor to a specific window means mapping the tablet to a
> specific area of the desktop, or screen mapping as we call it. 
> Except mapping tablet to a specifc screen in multimonitor setup,  we don't
> suppot screen mapping yet.  

No problem, we don't have a multi monitor setup.

> I can see a workaround for your case.  

No workaround needed.  In the Gimp, mapping the tablet (or part of it) to just 
the drawing area is no problem.  So, I assume that mapping the tabled (or 
part of it) to just a window with buttons also should be no problem.

> You can just leave an edge, say right side
> edge of your tablet, unmapped so cursor would not move when you move
> in that area.  

I know how to define several areas on the tablet and how to map them to screen 
- no problem.

> In your program, open your buttons window when tools 
> (Wacom stylus or mouse) are in that area.  

Could you be a bit more specific?  How would you realize this buttons menu?

> > I already checked out "tkxinput" [1] as I like to program GUIs in
> > TCL/TK.  However, "tkxinput" doesn't seem to work with current X and/or
> > TK releases.  While I could successfully install it (after slightly
> > modifying the Makefile), the included tool "calibration" doesn't work.
>
> Please take a look under linuxacom/src/wacomxi.  My wacomcpl (tcl/tk
> based) was derived from tkxinput.  Calibration works there.

A misunderstanding: We're not interested in calibration.  I only used the 
calibration tool to check whether tkxinput works at all, and it didn't.  We 
want to use tkxinput for programming our own application.

-- 
Felix E. Klee

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Linuxwacom-discuss mailing list
Linuxwacom-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-discuss

Reply via email to