Jump to content
  • Advertisement

Archived

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

johnnyBravo

Question on using directx 8 input :: keyboard

This topic is 5354 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

im using directx 8 input// keyboard in the tutorial examples it says to use a: LPDIRECTINPUTDEVICE m_keyboard; or something like that. but i some how ended up not using it, and it works. This is dx9 but it still using dx8input lp_DI->CreateDevice(GUID_SysKeyboard, &lp_Device,NULL); so im just wondering if theres been a change or something?

Share this post


Link to post
Share on other sites
Advertisement
how do you define lp_Device ?
LPDIRECTINPUTDEVICE8 lp_Device;
or something else?
If you used the above, it doesn''t matter if you call it m_keyboard, lp_Device, bob, or giant_Monkey_turd as long as its a LPDIRECTINPUTDEVICE8.

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!