Sign in to follow this  
PavelB

DirectInput in C++ and SharpDX

Recommended Posts

PavelB    106
I am learning DirectX from this site [url="http://www.rastertek.com/"]http://www.rastertek.com/[/url] and also SharpDX. I decided to do is simulteneously. It means, every tutorial I develop using SharpDX. Until tutorial 13 I have succeded to implement the code similatr to the original. However, I am stuck with DirectInput, related to the mouse. Below I attached the original tutorial written in C++ and my implementation of it.
In original when I move the mouse it shows me right coordinates of the window. In mine only relative or absolute. The issue is I don't understand why it works there and in mine.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this