Parcourir la source

Update lovr.keypressed parameter name;

bjorn il y a 3 ans
Parent
commit
1be7984e9f
2 fichiers modifiés avec 869 ajouts et 938 suppressions
  1. 868 937
      api/init.lua
  2. 1 1
      api/lovr/callbacks/keypressed.lua

Fichier diff supprimé car celui-ci est trop grand
+ 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.'
     }

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff