-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathauto_lock.lua
More file actions
22 lines (17 loc) · 793 Bytes
/
Copy pathauto_lock.lua
File metadata and controls
22 lines (17 loc) · 793 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--[[
PlayDate SDK Types Meta-File
A collection of type annotations for the PlayDate SDK
Compatible with SDK 1.12.3
This file should NOT actually be imported; VSCode should automatically reference it for type completion.
Importing this file will likely break things, as some functions are redefined for the sake of providing type definition.
Originally written by Minalien (https://cohost.org/Minalien).
Consider this file public domain.
https://sdk.play.date/1.12.3/Inside%20Playdate.html#api-reference
]]
---@meta
--[[
True disables the 60-second auto-lock feature. False re-enables it and resets the timer back to 60 seconds.
https://sdk.play.date/inside-playdate/#f-playdate.setAutoLockDisabled
]]
---@param disable boolean
function playdate.setAUtoLockDisabled(disable) end