Gamepad App For LabStreamingLayer - GitHub
Maybe your like
- Notifications You must be signed in to change notification settings
- Fork 2
- Star 6
- Code
- Issues 1
- Pull requests 0
- Actions
- Projects
- Security 0
- Insights
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Latest commitHistory29 Commits | ||||
| .github/workflows | .github/workflows | |||
| src | src | |||
| .gitignore | .gitignore | |||
| CMakeLists.txt | CMakeLists.txt | |||
| GamepadLSL-screenshot.PNG | GamepadLSL-screenshot.PNG | |||
| LICENSE.txt | LICENSE.txt | |||
| README.md | README.md | |||
| View all files | ||||
Repository files navigation
- README
- License
Please download from the release page.
Description
This application creates 2 labstreaminglayer streams:
- analog stick positions and trigger depths at a regular (user-specified) rate;
- irregular button events (see details below).
This application is intended for use with Gamepads. Joysticks with multiple axes, with rotation, etc., are only supported using the GameController App (old, Windows only).
Streams
There are 2 streams. The stream names and types can be edited by the GUI. We use the default names below.
The "Gamepad" stream has 6 double channels with a continuous sampling rate (default: 60 Hz). The channels are: LeftX, LeftY, RightX, RightY, L2, R2. The first 2 are for the X- and Y- positions of the left analog stick, the next 2 for the right analog stick, and finally the final 2 are for the two analog trigger buttons. Values range from -1.0 to +1.0 . The sampling interval is determined in software, not with a hardware clock, so there might be some jitter between the true sampling time and the expected time based on the sampling rate.
The "Gamepad Events" stream has 2 int channels with irregularly-intervaled samples. The first channel is the button ID, and the second channel is a boolean to indicate whether a button is being pressed (1) or released (0). The channel mapping on the first channel is as follows: {0:A, 1:B, 2:X, 3:Y, 4:Down, 5:Left, 6:Right, 7:Up, 8:L1, 9:R1, 10:Start, 11:L3, 12:R3, 13:Select, 14:Guide}.
Settings / Configuration
After the first run, a GamepadLSL.cfg file will be created in the same directory as the executable file. You can edit this file to update settings such as window layout, stream names, and sampling rate.
Build
First check if a precompiled build is already available on the release page.
Dependencies
There's nothing platform-specific here, so it should build in Windows/Mac/Linux.
- cmake >= 3.15
- Qt
- version 5.15 used for development typically installed with Qt Maintenance tool.
- Ubuntu, if not using Qt maintenance tool, must be on 20.04 or later, and use sudo apt install -y qtbase5-dev qtmultimedia5-dev qtdeclarative5-dev libqt5gamepad5-dev qml-module-qtquick-controls2 qml-module-qtgamepad qml-module-qt-labs-settings.
- Qt6 not supported.
- An IDE. QtCreator, CLion, or Visual Studio all tested to work.
Then follow the general LSL Application build instructions.
License
The source and the application components are provided under the MIT license, but the Qt components are licensed under LGPL.
About
Stream Gamepad (Xbox controller) analog stick positions and button events.
Topics
gamepad xbox-controller labstreaminglayerResources
ReadmeLicense
View licenseUh oh!
There was an error while loading. Please reload this page.
Activity Custom propertiesStars
6 starsWatchers
6 watchingForks
2 forks Report repositoryReleases 4
Release refs/tags/v1.16.1 Latest May 1, 2023 + 3 releasesContributors
Uh oh!
There was an error while loading. Please reload this page.
Languages
- QML 75.2%
- C++ 20.2%
- CMake 4.6%
Tag » App Xbox Controller
-
Xbox Accessories - Microsoft Store
-
All About The Xbox Accessories App
-
Remote Control For Xbox On The App Store
-
Using The XBox SmartGlass Controller - Lifewire
-
Xbox 360 Controller Emulator
-
HOW TO USE YOUR PHONE AS A CONTROLLER ON XBOX! HOW ...
-
How To Set Up Your Xbox One Controller With Windows 10
-
How To Connect Xbox One Controller To Android - Javatpoint
-
PDP Control Hub For Xbox Series X|S, Xbox One & Windows 10
-
How To Use An Xbox Controller On Android
-
How To Control Your Xbox One With Your Smartphone - How-To Geek
-
How To Fix Xbox Controller Not Working On Windows 11? - Appuals
-
Xbox Accessories App - Xbox Wiki - Fandom