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

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/love.keyboard.setTextInput

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部