浏览代码

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

文件差异内容过多而无法显示
+ 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.'
     }

部分文件因为文件数量过多而无法显示