love.system

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

Provides access to information about the user's system.

Functions

love.system.getClipboardText Gets text from the clipboard. 0.9.0
love.system.getOS Gets the current operating system. 0.9.0
love.system.getPowerInfo Gets information about the system's power supply. 0.9.0
love.system.getProcessorCount Gets the number of CPU cores in the system. 0.9.0
love.system.openURL Opens a URL with the user's web or file browser. 0.9.1
love.system.setClipboardText Puts text in the clipboard. 0.9.0
love.system.vibrate Causes the device to vibrate, if possible. 0.10.0

Enums

PowerState The basic state of the system's power supply. 0.9.0

See Also

love.system.vibrate
  • References/Game Development/LÖVE/love.system

love.system.vibrate Available since LÖVE 0.10.0 This function is not supported in earlier versions. Causes the device to vibrate, if possible

2025-01-10 15:47:30
love.system.getPowerInfo
  • References/Game Development/LÖVE/love.system

love.system.getPowerInfo Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets information about the system's

2025-01-10 15:47:30
love.system.getOS
  • References/Game Development/LÖVE/love.system

love.system.getOS Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the current operating system. In general

2025-01-10 15:47:30
love.system.openURL
  • References/Game Development/LÖVE/love.system

love.system.openURL Available since LÖVE 0.9.1 This function is not supported in earlier versions. Opens a URL with the user's web or file browser

2025-01-10 15:47:30
love.system.getProcessorCount
  • References/Game Development/LÖVE/love.system

love.system.getProcessorCount Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets the number of CPU cores in

2025-01-10 15:47:30
love.system.getClipboardText
  • References/Game Development/LÖVE/love.system

love.system.getClipboardText Available since LÖVE 0.9.0 This function is not supported in earlier versions. Gets text from the clipboard.

2025-01-10 15:47:30
love.system.setClipboardText
  • References/Game Development/LÖVE/love.system

love.system.setClipboardText Available since LÖVE 0.9.0 This function is not supported in earlier versions. Puts text in the clipboard.

2025-01-10 15:47:30