From 4a8f31275c2229403e1bbbb108ef34849f31bb5d Mon Sep 17 00:00:00 2001
From: xLuigiGamerx <88401287+xLuigiGamerx@users.noreply.github.com>
Date: Wed, 19 Nov 2025 13:34:27 +0300
Subject: [PATCH] Documented Globals
---
docs/lua/globals.md | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/docs/lua/globals.md b/docs/lua/globals.md
index 20bfacbd1..90df58454 100644
--- a/docs/lua/globals.md
+++ b/docs/lua/globals.md
@@ -44,6 +44,20 @@ The `gControllers[]` table is an array from `0` to `(MAX_PLAYERS - 1)` that cont
+## [gGamepads](#gGamepads)
+The `gGamepads[]` table is an array from `0` to `(MAX_GAMEPADS - 1)` that contains a [Gamepad](structs.md#Gamepad) struct for each possible gamepad.
+
+[:arrow_up_small:](#)
+
+
+
+## [gKeyboard](#gKeyboard)
+The `gKeyboard[]` table is an array from `0` to `(SDL_NUM_SCANCODES - 1)` that contains a [Keyboard](structs.md#Keyboard) struct for each possible scancode.
+
+[:arrow_up_small:](#)
+
+
+
## [gMatStack](#gMatStack)
The `gMatStack[]` table is an array from `0` to `(MATRIX_STACK_SIZE - 1)` that contains `Mat4`s used by geo process.