mirror of
https://github.com/airstruck/luigi.git
synced 2025-12-18 18:06:44 +00:00
command and ctrl
This commit is contained in:
@@ -42,6 +42,10 @@ local Backend = {}
|
||||
|
||||
Backend.sdl = sdl
|
||||
|
||||
Backend.isMac = function ()
|
||||
return sdl.getPlatform() == 'Mac OS X'
|
||||
end
|
||||
|
||||
local callback = {
|
||||
draw = function () end,
|
||||
resize = function () end,
|
||||
|
||||
@@ -5,6 +5,10 @@ local Hooker = require(ROOT .. 'hooker')
|
||||
|
||||
local Backend = {}
|
||||
|
||||
Backend.isMac = function ()
|
||||
return love.system.getOS() == 'OS X'
|
||||
end
|
||||
|
||||
Backend.run = function () end
|
||||
|
||||
Backend.Cursor = love.mouse.newCursor
|
||||
|
||||
Reference in New Issue
Block a user