Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Lego Universe use gamepad controller

If you want to use a usb gamepad controller (no affiliation/kickbacks here: I'm just a happy user) to emulate keypresses for the game of Lego Universe (DarkflameServer), here is how to repeat what I set up.

Install qjoypad. Run, and load this configuration. This is for the default keyboard configuration in-game, which I never tried to change. It might not even be possible.

files/2024/listings/lego-universe-qjoypad.lyt (Source)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# QJoyPad 4.3 Layout File
# Startdate: 2024-10-23-4 15:25
# Author: bgstack15

Joystick 1 {
	Axis 1: gradient, +key 40, -key 38
	Axis 2: gradient, +key 39, -key 25
	Axis 3: +key 11, -key 0
	Axis 4: gradient, maxSpeed 1, tCurve 0, mouse+h
	Axis 5: gradient, maxSpeed 1, mouse+v
	Axis 6: +key 14, -key 0
	Axis 7: gradient, +key 40, -key 38
	Axis 8: gradient, +key 39, -key 25
	Button 1: key 65
	Button 2: key 64
	Button 3: key 50
	Button 4: key 37
	Button 5: key 12
	Button 6: key 13
	Button 7: key 56
	Button 8: mouse 1
	Button 11: rapidfire, mouse 3
}

Screenshot of qjoypad configuration window. This is not enough information to configure your controller for yourself.

The gamepad will have this layout.

Key mapping of XBOX 360-like controller, that is useful for Lego Universe default keybinds

Comments