Difference between revisions of "Gamepads"

From Minetest Wiki
Jump to navigation Jump to search
(rename Minetest to Luanti)
 
Line 3: Line 3:
 
== Built-in support ==
 
== Built-in support ==
  
Minetest has some experimental built-in support for gamepads but it is quite broken and doesn't work on most hardware.
+
Luanti has some experimental built-in support for gamepads but it is quite broken and doesn't work on most hardware.
 
Even when it does work, it doesn't support using GUIs.
 
Even when it does work, it doesn't support using GUIs.
  
There's plans to improve this in the future, but for now '''it's recommended that you use an external program for controllers, and not Minetest'''.
+
There's plans to improve this in the future, but for now '''it's recommended that you use an external program for controllers, and not Luanti'''.
  
 
== External programs ==
 
== External programs ==
Line 18: Line 18:
 
=== Steam Input ===
 
=== Steam Input ===
  
You can bind your controller to Minetest controls using Steam Input
+
You can bind your controller to Luanti controls using Steam Input
  
 
==== On Desktop ====
 
==== On Desktop ====
Line 24: Line 24:
  
 
# Install and open Steam
 
# Install and open Steam
# Library > Add a game > Add a Non-Steam Game > Find and select Minetest > Add selected programs
+
# Library > Add a game > Add a Non-Steam Game > Find and select Luanti > Add selected programs
#* If Minetest isn't in the list, click "Browse" and select the executable
+
#* If Luanti isn't in the list, click "Browse" and select the executable
 
# Open Big Picture Mode (click the expand icon in the top right of the Steam window, to the left of minimize/max/close)
 
# Open Big Picture Mode (click the expand icon in the top right of the Steam window, to the left of minimize/max/close)
# Go to Library > Minetest > Manage Shortcut > Controller Options
+
# Go to Library > Luanti > Manage Shortcut > Controller Options
 
# Enable "Allow desktop configuration in launcher" and select "Forced On" in Steam Input Per-Game. Click OK
 
# Enable "Allow desktop configuration in launcher" and select "Forced On" in Steam Input Per-Game. Click OK
 
# Click "Controller Configuration"
 
# Click "Controller Configuration"
Line 40: Line 40:
 
For a more in-depth guide, see [https://blog.rubenwardy.com/2022/12/02/minetest-steam-deck/#controls rubenwardy's blog post]
 
For a more in-depth guide, see [https://blog.rubenwardy.com/2022/12/02/minetest-steam-deck/#controls rubenwardy's blog post]
  
# Install Minetest
+
# Install Luanti
 
## Power > Switch to Desktop Mode
 
## Power > Switch to Desktop Mode
 
## Open Discover
 
## Open Discover
## Search for Minetest and click Install
+
## Search for Luanti and click Install
## When installed, go to Start > Games. Right-click Minetest (using left trigger) and click "add to Steam"
+
## When installed, go to Start > Games. Right-click Luanti (using left trigger) and click "add to Steam"
 
## Desktop > Return to Game Mode
 
## Desktop > Return to Game Mode
# Library > Non-steam Games > Minetest
+
# Library > Non-steam Games > Luanti
 
# Select controller icon, and choose a layout:
 
# Select controller icon, and choose a layout:
 
#* It's recommended that you use Community > Semi-official Steam Deck by rubenwardy
 
#* It's recommended that you use Community > Semi-official Steam Deck by rubenwardy
 
#* OR you can use "Templates > Keyboard (WASD) and Mouse" to make your own
 
#* OR you can use "Templates > Keyboard (WASD) and Mouse" to make your own
# Play Minetest
+
# Play Luanti
  
 
=== Others ===
 
=== Others ===

Latest revision as of 23:33, 22 October 2024

Many players prefer using gamepads (aka controllers or joysticks) over a keyboard and mouse.

Built-in support

Luanti has some experimental built-in support for gamepads but it is quite broken and doesn't work on most hardware. Even when it does work, it doesn't support using GUIs.

There's plans to improve this in the future, but for now it's recommended that you use an external program for controllers, and not Luanti.

External programs

AntiMicroX

AntiMicroX is a graphical program used to map gamepad keys to keyboard, mouse, scripts and macros. You can use this program to control any desktop application with a gamepad on Linux and Windows.

Todo: tutorial

Steam Input

You can bind your controller to Luanti controls using Steam Input

On Desktop

Steam Input settings
  1. Install and open Steam
  2. Library > Add a game > Add a Non-Steam Game > Find and select Luanti > Add selected programs
    • If Luanti isn't in the list, click "Browse" and select the executable
  3. Open Big Picture Mode (click the expand icon in the top right of the Steam window, to the left of minimize/max/close)
  4. Go to Library > Luanti > Manage Shortcut > Controller Options
  5. Enable "Allow desktop configuration in launcher" and select "Forced On" in Steam Input Per-Game. Click OK
  6. Click "Controller Configuration"
  7. Click "Browse Configs" in the bottom of the Steam Controller Configurator
    • You can find community layouts in "Community"
    • OR you can use "Templates > Keyboard (WASD) and Mouse" to make your own
  8. Click Apply Configuration and then click Done
  9. Click "Your shortcut" and then "Play".

On Steam Deck

For a more in-depth guide, see rubenwardy's blog post

  1. Install Luanti
    1. Power > Switch to Desktop Mode
    2. Open Discover
    3. Search for Luanti and click Install
    4. When installed, go to Start > Games. Right-click Luanti (using left trigger) and click "add to Steam"
    5. Desktop > Return to Game Mode
  2. Library > Non-steam Games > Luanti
  3. Select controller icon, and choose a layout:
    • It's recommended that you use Community > Semi-official Steam Deck by rubenwardy
    • OR you can use "Templates > Keyboard (WASD) and Mouse" to make your own
  4. Play Luanti

Others

  • QJoyPad
  • Joy2Key