directinput
Should I use DirectInput or Windows message loop?
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[详细]
2022-12-18 07:39 分类:问答Why doesn't my DirectX program recognize that I've released the escape key? (C++)
EDIT: After even more code modification, the error is still there, modified code shown: KeyDown(): const int input_bit_num = 0x8000;[详细]
2022-12-09 01:56 分类:问答