about summary refs log tree commit diff stats
path: root/keychord.lua
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2025-05-06 15:01:21 -0700
committerKartik K. Agaram <vc@akkartik.com>2025-05-06 15:01:21 -0700
commitaba01abc23c791ece7607f167f3a98cb782dba53 (patch)
treed8ee4bf7536446100c2214f406ed8405a777eb3f /keychord.lua
parent9c3bf97ea3345aa0ffdbc35b234689a5edca73ea (diff)
parent11cd9123c15f9b9e76c359a8ac672c21f299811a (diff)
downloadtext.love-aba01abc23c791ece7607f167f3a98cb782dba53.tar.gz
Merge lines.love
Diffstat (limited to 'keychord.lua')
-rw-r--r--keychord.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/keychord.lua b/keychord.lua
index f1b6a59..5de899d 100644
--- a/keychord.lua
+++ b/keychord.lua
@@ -2,13 +2,13 @@
 
 Modifiers = {'lctrl', 'rctrl', 'lalt', 'ralt', 'lshift', 'rshift', 'lgui', 'rgui'}
 
-function App.keypressed(key, scancode, isrepeat)
+function App.keypressed(key, scancode, is_repeat)
   if array.find(Modifiers, key) then
     -- do nothing when the modifier is pressed
     return
   end
   -- include the modifier(s) when the non-modifer is pressed
-  App.keychord_press(App.combine_modifiers(key), key)
+  App.keychord_press(App.combine_modifiers(key), key, scancode, is_repeat)
 end
 
 function App.combine_modifiers(key)