IsRawKeyUp
клиент IS_RAW_KEY_UP
c
BOOL IS_RAW_KEY_UP(int rawKeyIndex);Gets if the specified rawKeyIndex is up on the keyboard.
This will not be triggered if the key is disabled with DISABLE_RAW_KEY_THIS_FRAME
Virtual key codes can be found here
Параметры
- rawKeyIndex: Index of raw key from keyboard.
Возвращает
Returns bool value of up state.
Примеры
lua
if IsRawKeyUp(32) then -- KEY_SPACE
print("Spacebar is up")
endСтраница собрана автоматически из native-decls/IsRawKeyUp.md. Нашли ошибку — поправьте исходный файл.