Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Keyboard input doesn't work

  1. #1
    Newbie Newbie
    Join Date
    Oct 2017

    Question Keyboard input doesn't work

    Hi, I am experimenting on the codes using keyboard input.

    This program shows the green cube with lightning. I am trying to move the camera but only Z axis can be moved

    Click image for larger version. 

Name:	Untitled.jpg 
Views:	25 
Size:	7.0 KB 
ID:	2532

    WASD = moving the camera( Can't move X axis)
    Arraws = Rotating the object
    Attached Files Attached Files

  2. #2
    Junior Member Regular Contributor
    Join Date
    Dec 2016
    Ocean Shores, WA USA
    Have you tried swapping the WS and AD around?

    Since W and S input response works, try, swapping the code around, so the W and S control the X axis, and A and D control the Z axis.

    Let me know,

Posting Permissions

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