On Thursday 05 April 2007 19:53, [EMAIL PROTECTED] wrote:
> Dave,
>
> I am unaware of any command/function through XInput or X server to
> toggle the option.  I think your use case is a common one to many
> users.  I can add a new option to xsetwacom to toggle it.  Do you like
> this solution?
>
> Ping

XChangeDeviceControl should do the trick, but I don't know any command that 
gives you access to this function call to the Xserver... Even if there is one 
we still need to make sure that 'xf86WcmDevChangeControl' return Success on 
the DEVICE_CORE request, so our driver needs to be changed either way this is 
done.

If there's no command available, directly changing 'DeviceIntPtr->coreEvents' 
should do the same thing (boolean value). There is a flag-field (used in our 
driver to indicate wheter we've initialized correctly or not), but the 
information there is only checked at initialization of the input device.

Cheers
  Magnus

> On 4/1/07, Dave M G <[EMAIL PROTECTED]> wrote:
> > Linux Wacom Discuss,
> >
> > Is it possible to toggle the "SendCoreEvents" option for a device,
> > ideally with a keyboard shortcut?
> >
> > I'm finding that working in GIMP is problematic because of the
> > incompatability between "Window Mode" and "SendCoreEvents".
> >
> > It would be ideal to be able to somehow get the pen device to be in
> > Screen Mode with SendCoreEvents on to adjust tools and select colours,
> > and then switch to Window Mode without SendCoreMode for actual drawing.
> >
> > Is this even remotely possible?

-------------------------------------------------------------------------
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