Comments (2)
Here's a comparison of the host device vs virtual device. Both running on the same machine as part of testing.
| Host Device | Virtual Device |
| Input driver version is 1.0.1 | Input driver version is 1.0.1 |
| Input device ID: bus 0x3 vendor 0x57e product 0x2009 version 0x8111 | Input device ID: bus 0x3 vendor 0x57e product 0x2009 version 0xab00 |
| Input device name: "Nintendo Switch Pro Controller" | Input device name: "Wolf Nintendo (virtual) pad" |
|---------------------------------------------------------------------+---------------------------------------------------------------------|
| Supported events: | Supported events: |
| Event type 0 (EV_SYN) | Event type 0 (EV_SYN) |
| Event type 1 (EV_KEY) | Event type 1 (EV_KEY) |
| Event code 304 (BTN_SOUTH) | Event code 304 (BTN_SOUTH) |
| Event code 305 (BTN_EAST) | Event code 305 (BTN_EAST) |
| Event code 307 (BTN_NORTH) | Event code 307 (BTN_NORTH) |
| Event code 308 (BTN_WEST) | Event code 308 (BTN_WEST) |
| Event code 309 (BTN_Z) | |
| Event code 310 (BTN_TL) | Event code 310 (BTN_TL) |
| Event code 311 (BTN_TR) | Event code 311 (BTN_TR) |
| Event code 312 (BTN_TL2) | |
| Event code 313 (BTN_TR2) | |
| Event code 314 (BTN_SELECT) | Event code 314 (BTN_SELECT) |
| Event code 315 (BTN_START) | Event code 315 (BTN_START) |
| Event code 316 (BTN_MODE) | Event code 316 (BTN_MODE) |
| Event code 317 (BTN_THUMBL) | Event code 317 (BTN_THUMBL) |
| Event code 318 (BTN_THUMBR) | Event code 318 (BTN_THUMBR) |
| | |
| Event type 3 (EV_ABS) | Event type 3 (EV_ABS) |
| Event code 0 (ABS_X) | Value -224 |
| Value 96 | Min -32768 |
| Min -32767 | Max 32767 |
| Max 32767 | Fuzz 16 |
| Fuzz 250 | Flat 128 |
| Flat 500 | Value 5702 |
| Event code 1 (ABS_Y) | Min -32768 |
| Value -366 | Max 32767 |
| Min -32767 | Fuzz 16 |
| Max 32767 | Flat 128 |
| Fuzz 250 | Event code 2 (ABS_Z) |
| Flat 500 | Value 0 |
| Event code 3 (ABS_RX) | Min 0 |
| Value 96 | Max 255 |
| Min -32767 | Value 0 |
| Max 32767 | Min -32768 |
| Fuzz 250 | Max 32767 |
| Flat 500 | Fuzz 16 |
| Event code 4 (ABS_RY) | Flat 128 |
| Value -366 | Value 0 |
| Min -32767 | Min -32768 |
| Max 32767 | Max 32767 |
| Fuzz 250 | Fuzz 16 |
| Flat 500 | Flat 128 |
| | Event code 5 (ABS_RZ) |
| | Value 0 |
| | Min 0 |
| | Max 255 |
| | |
| Event code 16 (ABS_HAT0X) | Event code 16 (ABS_HAT0X) |
| Value 0 | Value 0 |
| Min -1 | Min -1 |
| Max 1 | Max 1 |
| Event code 17 (ABS_HAT0Y) | Event code 17 (ABS_HAT0Y) |
| Value 0 | Value 0 |
| Min -1 | Min -1 |
| Max 1 | Max 1 |
| Event type 21 (EV_FF) | Event type 21 (EV_FF) |
| Event code 80 (FF_RUMBLE) | Event code 80 (FF_RUMBLE) |
| Event code 81 (FF_PERIODIC) | Event code 81 (FF_PERIODIC) |
| | Event code 82 (FF_CONSTANT) |
| | Event code 87 (FF_RAMP) |
| Event code 88 (FF_SQUARE) | |
| Event code 89 (FF_TRIANGLE) | |
| Event code 90 (FF_SINE) | Event code 90 (FF_SINE) |
| Event code 96 (FF_GAIN) | Event code 96 (FF_GAIN) |
| | |
Edit: updated formatted and correctly layout of rumble events
from wolf.
The following now worked correctly on initial connection:
Minus (Select)
Plus (Start)
Home
L-Bumper
R-Bumper
Still incorrect:
A/B are still reversed
Pressing the B button (physical button south) shows as BTN_EAST in evtest for the wolf virtual controller
Pressing the A button (physical button east) show as BTN_SOUTH in evtest
No input from L/R-Triggers
shows as ABS_Z and ABS_RZ rather than BTN_TL2 / BTN_TR2
No input from Capture button (BTN_Z)
R-Stick has no horizontal movement by default
R stick works in Pegasus, not in Yuzu. So might be a mapping issue.
R stick shows correct ABS_RX / ABS_RY in evtest when input is provided
Sticks show immediate phantom input after the first time touching them. evtest shows lots of small inputs back and forth on the sticks even when not touching them. Fuzz on host is 250, while virtual device is 16. Flat is 500 on host, and 128 in virtual. Not quite sure what they settings do, but might play into it?
Edit: typo and more detail
from wolf.
Related Issues (20)
- containerised firefox fails to start with virtual devices support configured HOT 1
- Changing WOLF_RENDER_NODE does not seem to work HOT 1
- Corrupted stream with Intel iGPU HOT 3
- RTSP error with higher bitrates HOT 5
- Integrate the NVIDIA container toolkit HOT 15
- Moonlight add support for IP-less sessions
- Audio: investigate better encoding defaults
- Add new encryption extension HOT 2
- Nvidia 545.29.06 and Gamescope issue
- Stuck on deployment HOT 8
- Initially tried plain old GOW, but that failed with an error on there -- so my first attempt was to head here, and these are the errors I'm getting. Any ideas? HOT 5
- Where do your games go? HOT 5
- After pulling the latest image.. HOT 8
- Unclear, how to setup EmulationStation HOT 4
- Setting a different dir than /etc/wolf behaves oddly HOT 1
- If the host has a graphical session it also receives the input HOT 4
- Feature Idea: Deduped Steam Libraries HOT 6
- compile error (ubuntu)
- Recreation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wolf.