Original Post
🔒 Locked
High level mouse programming
Advertisement
Hmm, DirectInput is perhaps the most straight forward DirectX API to use, I find.
What are you having problems with? Initializing the mouse object? Or actually coding the mouses behaviour? The initialization is fairly straight forward, I can cut and paste some code from one of my programs, and you can just shove it into your directinput Init code and be straight off.
If it is the actual coding for the mouses behaviour, well that is really program specific, but it isn''t tough. Tell us exactly what the problem is and I am sure we can help you out.
What are you having problems with? Initializing the mouse object? Or actually coding the mouses behaviour? The initialization is fairly straight forward, I can cut and paste some code from one of my programs, and you can just shove it into your directinput Init code and be straight off.
If it is the actual coding for the mouses behaviour, well that is really program specific, but it isn''t tough. Tell us exactly what the problem is and I am sure we can help you out.
In your Window procedure, the following messages could be of interest:
Not quite as good or efficient as properly written DInput, but if you''re after a quick solution...
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
|
Not quite as good or efficient as properly written DInput, but if you''re after a quick solution...
--
Simon O''''Connor
Creative Asylum Ltd
www.creative-asylum.com
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement