I\'m working on a C++ DirectX 2D game and I need keyboard and mouse input. Wikipedia says: Microsoft recommends that new applications make use of the Windows message loop for keyboard and mouse inpu
EDIT: After even more code modification, the error is still there, modified code shown: KeyDown(): const int input_bit_num = 0x8000;