From 4137cad6b7205fc599388e295c1ae0852be6b346 Mon Sep 17 00:00:00 2001 From: jgmdev Date: Wed, 2 Nov 2022 22:34:19 -0400 Subject: macmodkeys: added missing params --- plugins/macmodkeys.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins') diff --git a/plugins/macmodkeys.lua b/plugins/macmodkeys.lua index e4656b9..d8e1202 100644 --- a/plugins/macmodkeys.lua +++ b/plugins/macmodkeys.lua @@ -9,11 +9,11 @@ local function remap_key(k) :gsub("option", "alt") end -function keymap.on_key_pressed(k) - return on_key_pressed(remap_key(k)) +function keymap.on_key_pressed(k, ...) + return on_key_pressed(remap_key(k), ...) end -function keymap.on_key_released(k) - return on_key_released(remap_key(k)) +function keymap.on_key_released(k, ...) + return on_key_released(remap_key(k), ...) end -- cgit v1.2.3