Показать сообщение отдельно
Старый 13.03.2024, 17:22   #2
p51x
Старожил
 
Регистрация: 15.02.2010
Сообщений: 15,711
По умолчанию

Правильно проверять
Цитата:
If the function succeeds, the return value specifies whether the key was pressed since the last call to GetAsyncKeyState, and whether the key is currently up or down. If the most significant bit is set, the key is down, and if the least significant bit is set, the key was pressed after the previous call to GetAsyncKeyState.
там меняются два разных бита
p51x вне форума Ответить с цитированием