Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: key input and timer control in an opengl program

  1. #1
    Junior Member Regular Contributor
    Join Date
    Dec 2000
    Location
    Almazora, Spain
    Posts
    104

    key input and timer control in an opengl program

    How can I implement an eficient keyboard input and timer control (i.e fps counter) under linux?????? Where can I find such information?
    Thx
    MeTaL WiLL NeVeR DiE!!!!!

  2. #2
    Member Regular Contributor
    Join Date
    Sep 2000
    Location
    Vancouver BC Canada
    Posts
    433

    Re: key input and timer control in an opengl program

    You can always use the SDL http://www.libsdl.org library to do this for you.

    And if you really want to do it yourself, you can download their source to see how they did it.

Posting Permissions

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