blob: 6f6439f813814dd2b5eb678522d39155363cae1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
for key, value in pairs(honey.input) do
print(key, value)
end
local fullscreen = false
local a_func = function(action, data)
fullscreen = not fullscreen
honey.window.set_fullscreen(fullscreen)
end
honey.input.bind_key(honey.input.key.a, a_func)
function honey.update(dt)
end
--function honey.draw()
-- print('draw!')
--end
|