love.keyboard.setTextInput

love.keyboard.setTextInput

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Enables or disables text input events. It is enabled by default on Windows, Mac, and Linux, and disabled by default on iOS and Android.

Function

Synopsis

love.keyboard.setTextInput( enable )

Arguments

boolean enable
Whether text input events should be enabled.

Returns

Nothing.

Function

Available since LÖVE 0.10.0
This variant is not supported in earlier versions.

Synopsis

love.keyboard.setTextInput( enable, x, y, w, h )

Arguments

boolean enable
Whether text input events should be enabled.
number x
On-screen keyboard x position.
number y
On-screen keyboard y position.
number w
On-screen keyboard width.
number h
On-screen keyboard height.

Returns

Nothing.

See Also

doc_love
2017-03-21 15:49:12
Comments
Leave a Comment

Please login to continue.