×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    glCanvas on 5800

    Hi,
    this is my my first posting. a few days ago i started with pys60 1.9.6 on my nokia 5800 and it turns out to be addictive.
    I am playing around with the simple_cube.py and tried to fetch touchscreen-events in the event_callback function. But it seems like even the hardest screentouching does not trigger any event at all. Is this a known bug/limitation to glCanvas or is it supposed to work and i messed up something?

    Example:
    Code:
    import appuifw, sys, e32
    from glcanvas import *
    from gles import *
    from key_codes import *
    
    #....
    class glTest:
     def cb_event(self, event):
        global row,col
        print "some event occurred"
    #....
    #....
    
     def __init__(self):
       self.canvas=GLCanvas(redraw_callback=self.redraw, event_callback=self.cb_event, resize_callback=self.resize)
    #...
    appuifw.app.screen='large'
    try:
      app=glTest()
    except Exception,e:
      appuifw.note(u'Exception: %s' % (e))
    else:
      app.run()
      del app
    Regards
    Thilo

  2. #2
    Regular Contributor
    Join Date
    Oct 2007
    Posts
    114

    Re: glCanvas on 5800

    Quote Originally Posted by thille View Post
    Hi,
    Is this a known bug/limitation to glCanvas or is it supposed to work and i messed up something?
    GLCanvas does not have touch support yet. Patience is virtue (This feature will most probably be in of one of the dot releases)
    import antigravity

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    4

    Re: glCanvas on 5800

    thanks for the information.
    i think the world will keep on turning even without a soon release of "simple_cube+ deluxe touch"

Similar Threads

  1. Very little memory provided by Nokia 5800
    By hannes5 in forum Mobile Java General
    Replies: 6
    Last Post: 2009-06-15, 15:08
  2. Replies: 0
    Last Post: 2009-03-03, 22:51
  3. Capturing and Streaming Video / Audio on 5800 in S60 Application
    By MBFonz in forum Symbian Media (Closed)
    Replies: 6
    Last Post: 2009-02-24, 16:11
  4. Capturing and Streaming Video / Audio on 5800 for S60
    By MBFonz in forum Streaming and Video
    Replies: 1
    Last Post: 2009-02-13, 00:10

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×