瀏覽代碼

Update lovr.keypressed parameter name;

bjorn 3 年之前
父節點
當前提交
1be7984e9f
共有 2 個文件被更改,包括 869 次插入938 次删除
  1. 868 937
      api/init.lua
  2. 1 1
      api/lovr/callbacks/keypressed.lua

File diff suppressed because it is too large
+ 868 - 937
api/init.lua


+ 1 - 1
api/lovr/callbacks/keypressed.lua

@@ -14,7 +14,7 @@ return {
       description = 'The id of the key (ignores keyboard layout, may vary between keyboards).'
     },
     {
-      name = 'repeat',
+      name = 'isrepeat',
       type = 'boolean',
       description = 'Whether the event is the result of a key repeat instead of an actual press.'
     }

Some files were not shown because too many files changed in this diff