love.joystickreleased

love.joystickreleased Called when a joystick button is released. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis love.joystickreleased( joystick, button ) Arguments Joystick joystick The joystick object. number button The button number. Returns Nothing. Function Removed in LÖVE 0.9.0 This variant is not supported in that and later versions. Synopsis love.joystickreleased( joystick, button ) Arguments number joystick The joystick num

love.joystickremoved

love.joystickremoved Available since LÖVE 0.9.0 This function is not supported in earlier versions. Called when a Joystick is disconnected. Function Synopsis love.joystickremoved( joystick ) Arguments Joystick joystick The now-disconnected Joystick object. Returns Nothing. See Also love love.joystickadded Joystick:isConnected

love.keyboard.getKeyFromScancode

love.keyboard.getKeyFromScancode Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the key corresponding to the given hardware scancode. Unlike key constants, Scancodes are keyboard layout-independent. For example the scancode "w" will be generated if the key in the same place as the "w" key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are. Scancodes are useful for creating default con

love.keyboard.getKeyRepeat

love.keyboard.getKeyRepeat Removed in LÖVE 0.9.0 This function is not supported in that and later versions. Returns the delay and interval of key repeating. Function Synopsis delay, interval = love.keyboard.getKeyRepeat( ) Arguments None. Returns number delay The amount of time before repeating the key (in seconds) number interval The amount of time between repeats (in seconds) See Also love.keyboard

love.keyboard.getScancodeFromKey

love.keyboard.getScancodeFromKey Available since LÖVE 0.9.2 This function is not supported in earlier versions. Gets the hardware scancode corresponding to the given key. Unlike key constants, Scancodes are keyboard layout-independent. For example the scancode "w" will be generated if the key in the same place as the "w" key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are. Scancodes are useful for creating default con

love.keyboard.hasKeyRepeat

love.keyboard.hasKeyRepeat Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether key repeat is enabled. Function Synopsis enabled = love.keyboard.hasKeyRepeat( ) Arguments None. Returns boolean enabled Whether key repeat is enabled. See Also love.keyboard love.keyboard.setKeyRepeat love.keypressed

love.keyboard.hasTextInput

love.keyboard.hasTextInput Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets whether text input events are enabled. Function Synopsis enabled = love.keyboard.hasTextInput( ) Arguments None. Returns boolean enabled Whether text input events are enabled. See Also love.keyboard love.keyboard.setTextInput love.textinput

love.keyboard.isDown

love.keyboard.isDown Checks whether a certain key is down. Not to be confused with love.keypressed or love.keyreleased. Function Synopsis down = love.keyboard.isDown( key ) Arguments KeyConstant key The key to check. Returns boolean down True if the key is down, false if not. Function Available since LÖVE 0.7.2 This variant is not supported in earlier versions. Synopsis anyDown = love.keyboard.isDown( key, ... ) Arguments KeyConstant key A key to check. KeyConstant ... Additional k

love.keyboard.isScancodeDown

love.keyboard.isScancodeDown Available since LÖVE 0.10.0 This function is not supported in earlier versions. Checks whether the specified Scancodes are pressed. Not to be confused with love.keypressed or love.keyreleased. Unlike regular KeyConstants, Scancodes are keyboard layout-independent. The scancode "w" is used if the key in the same place as the "w" key on an American keyboard is pressed, no matter what the key is labelled or what the user's operating system settings are. Function

love.keyboard.setKeyRepeat

love.keyboard.setKeyRepeat Enables or disables key repeat for love.keypressed. It is disabled by default. Function Available since LÖVE 0.9.0 This variant is not supported in earlier versions. Synopsis love.keyboard.setKeyRepeat( enable ) Arguments boolean enable Whether repeat keypress events should be enabled when a key is held down. Returns Nothing. Notes The interval between repeats depends on the user's system settings. This function doesn't affect whether love.textinput is called