love.keyboard (Tiếng Việt)

Cung cấp giao diện cho bàn phím của máy.

Hàm

love.keyboard.getKeyFromScancodeGets the key corresponding to the given hardware scancode.
love.keyboard.getKeyRepeatReturns the delay and interval of key repeating.
love.keyboard.getScancodeFromKeyGets the hardware scancode corresponding to the given key.
love.keyboard.hasKeyRepeatGets whether key repeat is enabled.
love.keyboard.hasTextInputGets whether text input events are enabled.
love.keyboard.isDownChecks whether a certain key is down.
love.keyboard.isScancodeDownChecks whether the specified Scancodes are pressed.
love.keyboard.setKeyRepeatEnables or disables key repeat for love.keypressed.
love.keyboard.setTextInputEnables or disables text input events.

Kiểu liệt kê

KeyConstantAll the keys you can press.
ScancodeKeyboard scancodes.

Xem thêm


Ngôn ngữ khác