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\$
    – Exaila
    Jun 9 '19 at 22:07
  • \$\begingroup\$ @Exaila because I now do :) \$\endgroup\$ Jun 10 '19 at 8:18

You must log in to answer this question.

Browse other questions tagged .