Results 1 to 2 of 2

Thread: Keyboard input

  1. #1
    Senior Member Regular Contributor
    Join Date
    Nov 2001
    Location
    Malaysia
    Posts
    135

    Keyboard input

    I have a problem with keyboard input, it's that I can't receive 2 input at a time. Up key and down key so that I can rotate x and y axis at a time.

  2. #2
    Senior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Arlon, Belgium
    Posts
    477

    Re: Keyboard input

    Ex :

    if ((keys[VK_UP]) && (keys[VK_DOWN]))
    {
    // your code here
    }

Similar Threads

  1. Keyboard input
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 12-25-2003, 11:00 PM
  2. Keyboard Input
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-26-2003, 02:01 PM
  3. Using Keyboard input?
    By GarlicGL in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 11-07-2001, 08:19 AM
  4. keyboard input
    By Vlasko in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-21-2001, 05:34 AM
  5. get keyboard input
    By vgm2 in forum OpenGL: Basic Coding
    Replies: 8
    Last Post: 03-14-2001, 02:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean