Learn about the Windows Message loops and in there you can use a switch -
case statement. This is a little crude - DirectInput (part of the DirectX
library) is used a lot these days.
>From: "Cyril Dupuit" <cyr...@ho...>
>To: dev...@li...
>Subject: [Dev-C++] Help me please !
>Date: Mon, 12 Jan 2004 18:15:45 +0100
>
>Hello,
>
>I developed a small "driver" for a game pad connected to LPT1 under DOS.
>This driver functions very well and it appeared extremely interesting to me
>to develop this driver under Windows, which will enable me to play with
>different games. My question is as follows: " How will I be able to create
>a driver for a game pad connected to LPT1 with Dev-C++? ".
>
>If you have addresses or, examples of codes, could you send me at :
>cyr...@ho....
>
>Thank you. Cyril.
>
>_________________________________________________________________
>MSN Messenger http://g.msn.fr/FR1001/866 : dialoguez en direct et
>gratuitement avec vos amis !
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Perforce Software.
>Perforce is the Fast Software Configuration Management System offering
>advanced branching capabilities and atomic changes on 50+ platforms.
>Free Eval! http://www.perforce.com/perforce/loadprog.html
>_______________________________________________
>Dev-cpp-users mailing list
>Dev...@li...
>TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm
>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
_________________________________________________________________
Find a cheaper internet access deal - choose one to suit you.
http://www.msn.co.uk/internetaccess
|