love.keyboard (简体中文)

Provides an interface to the user's keyboard. 向用户提供了一个键盘功能接口


Functions |功能们

love.keyboard.getKeyRepeat Returns the delay and interval of key repeating.
love.keyboard.hasKeyRepeat Gets whether key repeat is enabled.
love.keyboard.hasTextInput Gets whether text input events are enabled.
love.keyboard.isDown Checks whether a certain key is down.
love.keyboard.setKeyRepeat Enables or disables key repeat.
love.keyboard.setTextInput Enables or disables text input events.

Enums

KeyConstant All the keys you can press.

See Also


Other Languages |其他语言

Personal tools