瀏覽代碼

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.'
     }

部分文件因文件數量過多而無法顯示