Update usage.md

This commit is contained in:
sezanzeb 2020-12-25 15:19:01 +01:00 committed by GitHub
parent 0f30f5ae78
commit af29cf0e8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,14 +53,11 @@ Examples:
## Gamepads ## Gamepads
Joystick movements will be translated to mouse movements, while the second Joystick movements will be translated to mouse movements, while the second
joystick acts as a mouse wheel. All buttons, triggers and D-Pads can be joystick acts as a mouse wheel. You can swap this in the user interface.
mapped to keycodes and macros. The purpose of your joysticks can be All buttons, triggers and D-Pads can be mapped to keycodes and macros.
configured in the json files with the `gamepad.joystick.left_purpose` and
`right_purpose` keys. See [Configuration Files](#configuration-files)
for more info.
The D-Pad can be mapped to W, A, S, D for example, to run around in games, The D-Pad can be mapped to W, A, S, D for example, to run around in games,
while the joystick turns the view. while the joystick turns the view (depending on the game).
Tested with the XBOX 360 Gamepad. On Ubuntu, gamepads worked better in Tested with the XBOX 360 Gamepad. On Ubuntu, gamepads worked better in
Wayland than with X11 for me. Wayland than with X11 for me.