Single point of interaction touch screens generally work like a mouse. Either they provide an X,Y location and then click event to the OS when you press them or they provide location as you touch (or sometimes hover) and a click event when you touch
On Wednesday, April 29, 2015 at 10:13:39 AM UTC-7, Brandon Keith Biggs wrote: > > Hello, > Pyglet is much, much, much easier to use than pretty much any other of the > libraries out there. I don't know about touch screens, but for sure, Kivy > works on touch screens. But to say it is complex is putting it mildly. I > wish pyglet had 5 platform support like Kivy, but I don't know how to make > that happen sadly. > I am pretty sure I know what you mean by running from the console, and I > believe it does this (You can have a console running in the background). > Pyglet is super lightweight and is much more like a real game engine should > be, not like pygame. > Thanks, > > Brandon Keith Biggs <http://www.brandonkeithbiggs.com/> > On 4/29/2015 6:59 PM, Noah A wrote: > > I'm in the early phases of trying to decide between Pyglet and PyGame. I > have very little GUI programming experience. I write web applications but > for my current needs web interfaces are too heavy and have too much latency. > > I bought a book on PyGame and started trying to make something with it but > I found the API wasn't very Pythonic (in my opinion) and felt like I might > as well be using C++ for the performance gains since it was already a pain > to use. But I looked at Pyglet and the API seems much better to me. I'm > just unsure if it can do what I need. > > 1. Can Pyglet be used to create applications which run from the > console (ie direct to frame buffer) without X Windows to avoid overhead. > 2. Is Pyglet hardware accelerated on most computers? > 3. Is Pyglet hardware accelerated on the Raspberry Pi 2? > 4. Can you point me to any projects which use Pyglet so I can gauge > performance? > 5. In a windowed environment can Pyglet get and set the window > location so that when it launches the Window can be put back where it was > last time? > > I have two main kinds of applications I want to make. One is simple touch > screen (non-multi touch) interfaces with big buttons and sliders for gloved > fingers on industrial equipment. Standard GUI toolkits don't work well for > this because they all seem to be built assuming you have a keyboard and > mouse. The other is to display gauges on industrial equipment which > requires several layers of overlapping transparent images. For example > think about the face of a sophisticated watch with a date dial, power > meter, and such. This page has examples of the kind of complex dials. > http://www.luxurybazaar.com/subcategories/subid_1285_Classique_Moonphase.html > > > > > -- > You received this message because you are subscribed to the Google Groups > "pyglet-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pyglet-users...@googlegroups.com <javascript:>. > To post to this group, send email to pyglet...@googlegroups.com > <javascript:>. > Visit this group at http://groups.google.com/group/pyglet-users. > For more options, visit https://groups.google.com/d/optout. > > > -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyglet-users+unsubscr...@googlegroups.com. To post to this group, send email to pyglet-users@googlegroups.com. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.