Archived

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

johnnyBravo

Question on using directx 8 input :: keyboard

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
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