I am using C#, first off. I have everything setup (very basic) for the Mouse inside of SlimDX (DirectInput).
I'm working a level editor for my basic 2D engine (this is just for fun, fyi), however, I ran into a problem (I might be approaching this incorrectly). I have a panel that I am rendering to. I need to get the mouse X/Y inside of the panel (or just the renderarea). What is the best way to approach this?
Are there any examples of using DirectInput in C#, that would help me out? I feel like I am totally doing this backwards