#14 Joystick support

closed-rejected
nobody
None
5
2003-01-07
2003-01-07
Anonymous
No

Hello I wish to build a general purpose 3D engine with
Python and I would like it to support at least all of the
axies in the Direct X library, con you do these please as
I wish to make a R.A.D 3D game appilcation from
Python and use the language to write 3D games as well?
farbe@supanet.com

Discussion

  • Mike C. Fletcher

    Logged In: YES
    user_id=34901

    DirectX, of course, is a different system than OpenGL.
    PyOpenGL wraps the GLUT joystick functions (at least,
    they're in the documentation, I've never used them (don't
    even own a joystick to test them)). I assume DirectX has
    lots of funky mechanisms (i.e. DirectInput) for configuring
    the joystick, but I don't see it as within the PyOpenGL
    project's scope to wrap DirectX.

    You are, however, in luck. PyGame works fine with PyOpenGL,
    and it's purpose _is_ to wrap DirectX (actually the
    cross-platform SDL library, but it's very similar). See
    their Joystick object here:

    http://www.pygame.org/docs/ref/Joystick.html

    Have fun,
    Mike

     
  • Mike C. Fletcher

    • labels: 338853 -->
    • milestone: 264102 -->
    • status: open --> closed-rejected
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks