Skip to content

Moonkis/global-keys

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Global Keys for LÖVE

Global Keys is a library that lets you catch keypresses from other applications from within LÖVE!

It has the following limitations presently:

  • Windows
  • US key layout (others may work, but are untested)

Have a sample:

local gkeys = require("gkeys")

function love.load()
	gkeys.start()
end

function love.gkeypressed(key)
	print("DOWN:", key)
end

function love.gkeyreleased(key)
	print("UP:", key)
end

function love.update(dt)
	gkeys.update()
end

About

Global key hooks for LÖVE

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%