Skip to main content
GameDev.net gamedev.net

PRO Tired of ads? Read GameDev.net ad-free and help keep the community independent with GameDev Pro — $3/month.

Derp

Derp

kiwibonga
kiwibonga's Blog · · 1 min read
1,488 1
*click click click* Damn it. It's not doing anything. *click click click click click* Oh well... Guess it's time for some debugging.

Ladies and gentlemen, I give you... My mouse input handler:

switch(msg->intData[0])
{
case MSG_MOUSE_POSITION:
// TODO: hover check
break;
case MSG_MOUSE_CLICK:
// TODO: click check
break;
case MSG_MOUSE_UNCLICK:
// TODO: unclick check
break;
}


1YnO9.png

Discussion

Loading comments...