Skip to content

Commit f4bbffa

Browse files
committed
Fixes to docs
1 parent 4490657 commit f4bbffa

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

markdown/plugin/steamworks/isSteamDeck.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# steamworks.isSteamDeck
1+
# steamworks.isSteamDeck()
22

33
> --------------------- ------------------------------------------------------------------------------------------
4-
> __Type__ [Boolean][api.type.Boolean]
4+
> __Type__ [Function][api.type.Function]
55
> __Revision__ [REVISION_LABEL](REVISION_URL)
66
> __Keywords__ steam, steamworks, isSteamDeck
77
> __See also__ [steamworks.*][plugin.steamworks]
@@ -15,7 +15,7 @@ This property will be `true` if the current system is running Steam Deck hardwar
1515
This api is only available on 2025.3722+
1616
</div>
1717

18-
If this property returns `false`, you should assume the user is not on a Steam Deck. You can still run Steam-specific APIs, but any Steam Deck-specific optimizations or input handling should be skipped.
18+
If this function returns `false`, you should assume the user is not on a Steam Deck. You can still run Steam-specific APIs, but any Steam Deck-specific optimizations or input handling should be skipped.
1919
This property is read-only and determined at application startup; it cannot change during the application's lifetime.
2020

2121

@@ -24,7 +24,7 @@ This property is read-only and determined at application startup; it cannot chan
2424
``````lua
2525
local steamworks = require( "plugin.steamworks" )
2626

27-
if steamworks.isSteamDeck then
27+
if steamworks.isSteamDeck() then
2828
print("Running on Steam Deck! Adjusting UI and input settings for deck...")
2929
-- Example: Enable on-screen keyboard or adjust layout
3030
else

0 commit comments

Comments
 (0)