summaryrefslogtreecommitdiff
path: root/demo/main.lua
blob: 0d22d95f27c6ca03ac0b63e8a97d86816faccfaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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)
honey.input.bind_key()

function honey.update(dt)

end

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