From ef5318840110618b01b22b99ec51fd164aeb60c4 Mon Sep 17 00:00:00 2001
From: gurpreetsinghmatharoo
Date: Wed, 27 Nov 2024 15:05:09 +0530
Subject: [PATCH] docs(general): Fix linux command typo on gamepad input page
---
.../GML_Reference/Game_Input/GamePad_Input/Gamepad_Input.htm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Manual/contents/GameMaker_Language/GML_Reference/Game_Input/GamePad_Input/Gamepad_Input.htm b/Manual/contents/GameMaker_Language/GML_Reference/Game_Input/GamePad_Input/Gamepad_Input.htm
index 45edc751..f471c161 100644
--- a/Manual/contents/GameMaker_Language/GML_Reference/Game_Input/GamePad_Input/Gamepad_Input.htm
+++ b/Manual/contents/GameMaker_Language/GML_Reference/Game_Input/GamePad_Input/Gamepad_Input.htm
@@ -150,7 +150,7 @@ Compatibility
macOS is supported with up to a maximum of 4 connected devices permitted at once. Be aware that when submitting to the macOS App Store the choice of gamepads allowed by Apple is quite limited, but in testing on your own machine or if you're not submitting to the App Store, then a large number of modern pads are allowed (and you can use GameMaker's gamepad-mapping functions to make even more pads work for your game). The "Build for Mac App Store" option in Mac Game Options needs to be OFF for pad support to work.
Ubuntu does also support Gamepad input, but you may need to install additional libraries from the Ubuntu repository. You can do this easily by opening a command line terminal and typing the following (this will install GUI support for the joystick/gamepad as well as the joystick/gamepad API itself - remapping of controller constants is not permitted):
sudo apt-get install jstest-gtk
- sudo apt-get install joystick.
+ sudo apt-get install joystick
HTML5 games using gamepads are supported by most major browsers, except Safari. Remapping of controller constants is not permitted.
Web browsers will only detect gamepads when a button is pressed or an axis is moved, so they may not be available at the immediate start of the game. This applies to the GX.games and HTML target platforms.