From 2d59e0f533df69e7c357a92ce063e96c6c597969 Mon Sep 17 00:00:00 2001 From: danielng Date: Thu, 28 Dec 2023 05:13:17 +0000 Subject: [PATCH] vm_tools: fix dead links in gaming documentation Fixing a few broken links in the documentation. BUG=b:315406710 TEST=Click links Change-Id: I2be6d1dcc622ebfcac3af2a6abdb3f9c44406b0d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform2/+/5148599 Commit-Queue: Yiwei Zhang Tested-by: Daniel Ng Reviewed-by: Yiwei Zhang Auto-Submit: Daniel Ng --- gaming.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gaming.md b/gaming.md index eeb01c2..6e01ced 100644 --- a/gaming.md +++ b/gaming.md @@ -1,6 +1,6 @@ # Gamepad support in Sommelier -When `GAMEPAD_SUPPORT` is enabled, [Sommelier](https://crsrc.org/o/src/platform2/vm_tools/sommelier/testing/sommelier-gaming.cc) +When `GAMEPAD_SUPPORT` is enabled, [Sommelier](https://crsrc.org/o/src/platform2/vm_tools/sommelier/sommelier-gaming.cc) will create a gaming seat to listen for gamepads being attached and their associated events. Once a gamepad is added, we use `evdev` and `uinput` to emulate an Xbox One S gamepad in the VM. We subsequently forward @@ -16,7 +16,7 @@ with each input on your gamepad. 2. Run `evtest` and select your device 3. Copy the ID values from the “Input device ID” section 4. Press/use each input on your device and note what input event code values evtest observes -3. Add your mapping to [sommelier-gaming](https://crsrc.org/o/src/platform2/vm_tools/sommelier/testing/sommelier-gaming.cc) +3. Add your mapping to [sommelier-gaming](https://crsrc.org/o/src/platform2/vm_tools/sommelier/sommelier-gaming.cc) 1. Create a `DeviceID` struct with the details of your gamepad 2. Create (or reuse) a mapping for your gamepad 3. Add the `DeviceID`/mapping pair to `kDeviceMappings`