0
\$\begingroup\$

Hello I'm studying game engine programming, but I got stuck with mouse input.

As for now I have only WinAPI window, which has a message pump and processing. For the mouse I used RAWINPUT, but there is a problem: I can't find any elegant way of handling the mouse cursor, for example making a menu in a shooter.

Raw input provides relative movement data directly from mouse driver, but how can I control the cursor with it? Or maybe I should make 2 message processing queues with filters on the mouse? I haven't found any real solutions in my searching yet.

\$\endgroup\$
2
  • \$\begingroup\$ Out of curiosity, why don't you use WM_MOUSEMOVE ? \$\endgroup\$ Commented Jun 9, 2019 at 22:07
  • \$\begingroup\$ @Exaila because I now do :) \$\endgroup\$ Commented Jun 10, 2019 at 8:18

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.