summaryrefslogtreecommitdiff
path: root/demo/main.lua
blob: ae0684ebdc20ac5959cdbcd8f99554d2aa0a501b (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 total_time = 0

local a_func = function(action, data)
    print('a: ', action)
end

honey.input.bind_key(honey.input.key.a, a_func)

function honey.update(dt)

end

--function honey.draw()
--   print('draw!')
--end