Re: [gtkmm] Touch Screens



That sounds really cool! Well as I said to Leandro I will be setting up
a small repository on my server, I will quite happily give you guys
access to the repository on it etc, what we could possibly do is mess
about with this stuff until we have something nice and solid to add to
gtk/gtkmm and see if Murray will help us get it into the main tree,
which means we can rival QT even more! I will be building potential real
world applications for this, so I think it will be fun!

But this will all only work if we put some effort into. What I could
possibly do is use this POS system I am developing as a test bed for
real world apps and we can fine tune the entry widgets and the like to
be perfect for reuse elsewhere. The POS I am going to release under
LGPL/GPL.

If you are keen to join me on this fun project, I would be more than
happy to create the repository for us to play with! Then if we can get a
nice system going with loads of cool code, we migrate the CVS repository
to OSSI, GNOME or Source Forge :)

Rgds

Ian


On Thu, 2004-03-25 at 16:16, Roger Leigh wrote:
> "Jeffrey S. Gavin" <jeff ezclick net> writes:
> 
> [touchscreens]
> 
> I've written Gtkmm keyboard and numeric keypad widgets for text and
> number entry.  I then derived TouchEntry from Gtk::Entry and
> TouchNumericEntry from Gtk::SpinButton, so clicking on these widgets
> pops up the touchscreen entry widget.
> 
> I think Atk would be a better (more generic) way to achieve what I
> want (no direct application support is required).  Would this be
> possible?
> 
> > Another quirk that I had was with the elographics_drv.o (since we
> > were using elo touch screens).  For some reason we had to replace
> > this file with one from an old redhat system in order to have it
> > work correctly.  I'm sure there is a simpler way to get it to work.
> 
> Nowadays XFree86 provides these directly (did you get yours as a
> patch?).  For example:
> 
> Section "InputDevice"
> 	Identifier      "TouchScreen Mouse"
> 	Driver          "mutouch"
> 	Option		"Type"	"finger"
> 	Option          "SendCoreEvents"        "true"
> 	Option          "Device"                "/dev/ttyS0"
> 	Option		"ScreenNo"	"0"
> 	Option		"MinX"	"0"
> 	Option		"MaxX"	"16383"
> 	Option		"MinY"	"0"
> 	Option		"MaxY"	"16383"
> EndSection
> 
> Section "ServerLayout"
> 	Identifier	"Default Layout"
> 	Screen		"Default Screen"
> 	InputDevice	"Generic Keyboard"
> 	InputDevice	"Generic Mouse"
> 	InputDevice	"TouchScreen Mouse"
> EndSection
> 
> > When our schedule permits I would like to write a calibration routine
> > in gtkmm so that our customers can calibrate their own touchscreens
> > easily.  Does anyone know of one that is out there?
> 
> No.  Don't you need to restart the X Server to change the calibration?
> I calibrated mine by hand with a bit of guesswork and fine-tuning,
> only to find it identical to the example config in the touchscreen
> HOWTO!




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]