D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] GTK2 programming

 

On Thu, 2008-04-10 at 19:58 +0100, Robin Cornelius wrote:
> > tslib and xorg-xserver-tslib - v.v.v.v. new and although now in Lenny, I
> > haven't had time to really play with them yet. My advice would be to
> > stick to Gtk+ signals and callbacks and let the rest of the system take
> > care of whether the "click" is coming from a mouse or is actually a
> > "tap" on a touchscreen somewhere. Your application shouldn't need to
> > care because it should deploy the same code for mouse and for
> > touchscreen support. That is how GPE does it and it does work.
> 
> I was hoping it may appears as a mouse device, so its just a case of
> configuring it then dropping buttons where i want touch inputs. Nice and
> simple.

AFAICT it will. Design the app to work with a mouse and using big enough
buttons for the eventual purpose and let the underlying libraries deal
with the rest.

> Chunky finger all the way on this app. Probably 17" LCD touchscreen so
> thinks like a number pad will be most of a screen. I'll probably run in
> full screen mode all the time and the app will be set to auto start at
> power on. The system is a 800Mhz micro atx. so there is no issue getting
> any software to run that i want, no complicated cross compiles or
> anything like that.
> 
> I want to loose the keyboard an mouse, the last thing you want in a
> production environment is a keyboard hanging of the equipment when it is
> just not necessary and a well designed (haha thats my job) interface
> will make the equipment much easier to use. I want the minimum number of
> thinks to see or touch.

Having not actually got the Debian code working on one of my own devices
yet (lack of time) but knowing that the same code does work well in
Familiar / GPE without making any changes to the source code of the
applications, all I can say is that it *should* work. I hope to have
some time to test it properly over the summer.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/


Attachment: signature.asc
Description: This is a digitally signed message part

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html