Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Gary

Suggested update to prdef.h

This topic is 6544 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was setting up some keyboard controls when I noticed that the right ctrl and alt buttons would not respond. In the prdef there is only one KEY_CTRL and one KEY_ALT while the shift key has two. My suggestion is to change the existing KEY_CTRL and KEY_ALT to KEY_LCTRL and KEY_LALT. Then add in #define KEY_RCTRL 0x9D #define KEY_RALT 0xB8 Gary

Share this post


Link to post
Share on other sites
Advertisement
I haven''t gotten to that phase yet, but thanks for point out the missing defs. That would have driven me mad later.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!