mirror of
https://github.com/Desour/keyevent.git
synced 2024-07-07 08:15:21 +02:00
add forgotten parameter
This commit is contained in:
parent
6ad4ecfbaa
commit
00e4ba5b14
2
init.lua
2
init.lua
@ -120,7 +120,7 @@ function keyevent.register_on_keypress_bits(keys, func)
|
||||
keyevents_bits[keys] = func
|
||||
end
|
||||
local keyevents = {}
|
||||
function keyevent.register_on_keypress(func)
|
||||
function keyevent.register_on_keypress(keys, func)
|
||||
keys, func = handle_keys(keys, func)
|
||||
keyevents[keys] = func
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user