[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: programmatically enabling xinput device
- From: Lars Damerow <lars pixar com>
- To: Owen Taylor <otaylor redhat com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: programmatically enabling xinput device
- Date: Tue, 1 Jul 2003 11:01:16 -0700
Thanks Owen, that was all the information I needed.
cheers,
lars
>From Owen Taylor <otaylor@redhat.com>, Mon, Jun 30, 2003 at 08:34:19AM -0400:
> On Sun, 2003-06-29 at 23:08, Lars Damerow wrote:
> > Hi,
> >
> > I've written a gtk program that accepts pressure data from a stylus XInput
> > device, but it requires that the user manually sets the stylus device to
> > 'screen' on the GTK Input Dialog.
> >
> > Is there a way that I can set the device mapping programmatically, so that the
> > user never needs to use the Input dialog?
>
> The input dialog works entirely in terms of public GDK API, so anything
> it does, you can do to:
>
> http://developer.gnome.org/doc/API/2.0/gdk/gdk-Input-Devices.html
>
> (Even programs that use GtkInputDialog typically use these functions to
> save the state of the user's settings across sessions .... see the GIMP
> or gsumi for examples of doing this.)
>
> Regards,
> Owen
>
___________________________________________________________
lars damerow
button pusher
pixar animation studios
lars@pixar.com
Senssurround down at the bottom, sensible to ear and sternum
made the fakeness realistic
when the action went ballistic
one degree shy of sadistic
and the world first spoke to me in Senssurround
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]