command and ctrl

This commit is contained in:
airstruck
2016-01-26 20:01:41 -05:00
parent 1161191007
commit 0fc431d894
3 changed files with 34 additions and 10 deletions

View File

@@ -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,

View File

@@ -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