direct input in openGL
can I run Direct input in OpenGL so My openGL game can use a joystick?
--------OUT--------
yep you can, nehe has anexample, wich shows this (for keyboard). i dont know, how to use a joystick, never tried..
take a look at the dxsdk
we wanna play, not watch the pictures
take a look at the dxsdk
we wanna play, not watch the pictures
If that's not the help you're after then you're going to have to explain the problem better than what you have. - joanusdmentia
My Page davepermen.net | My Music on Bandcamp and on Soundcloud
www.lmnopc.com
DL disasteroids source, there are examples in
DL disasteroids source, there are examples in
(you can find me on IRC : #opengl on undernet)
All of the DirectX components (aside from DirectDraw & Direct3D) can run properly on top of OpenGL.
In fact, it is possible to have DirectDraw and OpenGL running on the same app (as you probably know), but not at the same time.
========
Smidge
www.smidge-tech.co.uk
========
In fact, it is possible to have DirectDraw and OpenGL running on the same app (as you probably know), but not at the same time.
========
Smidge
www.smidge-tech.co.uk
========
--Mr Smidge
SKSlayer pointed out my Disasteroids 3d for a source of information (BTW, thanks for the plug, SKSlayer -- new version's coming soon), but all I really did was use code from DirectX 7's FFDonuts source code and modify it to suit my needs. I chose FFDonuts because it also gave me force feedback along with reading the joysticks.
Good luck!
ThomW
www.LMNOpc.com
Edited by - ThomW on October 19, 2000 9:42:55 PM
Good luck!
ThomW
www.LMNOpc.com
Edited by - ThomW on October 19, 2000 9:42:55 PM
ThomWwww.LMNOpc.com
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement