Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#28 control key doesnt work with TAB key

v2.0
closed
nobody
GLUT (25)
3
2002-12-28
2002-03-06
Sean Riley
No

it appears that no keyDown callback is made when the TAB key is
pressed while the CONTROL key is down.

the callback was setup
with:

glutKeyboardFunc(self.onKeyDown)

and it works in
other cases (such as the TAB key alone), but self.onKeyDown is not
called when the CONTROL key is down and the TAB key is pressed.

Discussion

  • Logged In: YES
    user_id=34901

    Reading the docs for glutKeyboardFunc, I don't think this is
    supposed to work with GLUT, is it? The docs imply that only
    when an ascii character would be generated is there a
    callback generated. ctrl-tab doesn't likely generate an
    ascii code as far as GLUT is concerned, so it likely won't
    get reported (and glutSpecialFunc doesn't seem to be able to
    catch a tab key either). Don't know what to suggest, but
    don't see this as being a problem with PyOpenGL itself
    (unless someone has a better argument).

     
  • Logged In: YES
    user_id=34901

    I've marked this pending as there doesn't appear to be
    anything we can do save if someone comes up with a work-around.

     
    • priority: 5 --> 3
    • assigned_to: twburton --> nobody
    • status: open --> closed