simple openGL help

This is a discussion on simple openGL help within the C++ Programming forums, part of the General Programming Boards category; WE all know that when we want user input in openGL, we can key in such as 'w', 'a', 's', ...

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    135

    simple openGL help

    WE all know that when we want user input in openGL, we can key in such as 'w', 'a', 's', 'd', but how about if we want user to keep input like up-arrow, down-arrow, left-arrow, right-arrow in our keyboard. How should we do it in openGL.

  2. #2
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,498
    OpenGL does not handle input in any way.
    So, the answer would differ with the windowing library you are using or your OS.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. opengl help (probally simple fix)
    By drewtoby in forum C Programming
    Replies: 16
    Last Post: 05-16-2011, 06:53 PM
  2. help with simple OpenGL
    By mrbains in forum C++ Programming
    Replies: 1
    Last Post: 04-06-2011, 02:35 PM
  3. help with simple OpenGL
    By mrbains in forum C Programming
    Replies: 1
    Last Post: 04-06-2011, 02:30 PM
  4. Simple OpenGL question
    By kas2002 in forum Game Programming
    Replies: 5
    Last Post: 06-30-2009, 12:30 PM
  5. Replies: 5
    Last Post: 11-27-2005, 08:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21