What is Starcraft's input method??

Started by
3 comments, last by demonkoryu 19 years, 6 months ago
Hello. What is Starctaft's input method? IME? or Edit-Control? I hope fast answer.
Advertisement
Most likely a custom written one.
I would assume that StarCraft listens for WM_CHAR and/or WM_KEYDOWN messages directly.
enum Bool { True, False, FileNotFound };
Quote:Original post by hplus0603
I would assume that StarCraft listens for WM_CHAR and/or WM_KEYDOWN messages directly.


I'd thing that and a keyboard array.

bool keyboard[256]//...case WM_KEYDOWN:    keyboard[(int)wParam] = true;    break;case WM_KEYUP:    keyboard[(int)wParam] = false;    break;



--------------------C++ Home - Check it out!Lol... - Amazing video
Perhaps DInput?

Thermo

This topic is closed to new replies.

Advertisement