Comments (4)
The battery indicator works for some gamepads. And it works for Logitech mice and keyboards (using K360 and M600 here). So generally, the infrastructure is there.
It also works for the Xbox controller if binding the controller to hid-microsoft. But it only reports 50% with a warning that batteries are almost depleted and, then it may (I cannot remember) to 25%, shortly after it turns off.
Rumble in Steam itself doesn't work for identify. This only works for the original Steam controller (which I also own). Also, my F710 doesn't rumble for identify. This is probably a Steam Linux implementation detail. Technically, it could work but isn't properly implemented.
In games, tho, rumble works.
There may be two pitfalls:
The controller may be mapped differently depending if you're running games through the desktop client or through big picture mode. Steam is able to handle keyboard/mouse emulation when you add a non-steam game to the library. So everything seems to work here, I think Steam injects a patched libsdl2 or environment settings for SDL into the games run through Steam.
And there's the next pitfall: Steam injects SDL-specific environment variables. The controller may have added a "wrong" mapping to your Steam config file (one based on the original hid-microsoft mapping, as the controller binds to that driver in SteamOS). You can correct this:
- Completely stop the Steam client
- Locate your Steam global config file:
~/.steam/steam/config/config.vdf
- Open the file and find a string
"SDL_GamepadBind"
- These are SDL gamepad bindings, find the entry with your controller name:
Xbox One Wireless Controller
- Replace it with the following entry:
050000005e040000fd02000003090000,Xbox One Wireless Controller,a:b0,b:b1,back:b6,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b8,leftshoulder:b4,leftstick:b9,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b10,righttrigger:a5,rightx:a3,righty:a4,start:b7,x:b2,y:b3,
Take care not to strip the closing "
quote sign.
You can now start Steam again, your controller should have a standard mapping now in Steam. If you already made controller mappings in Big Picture Mode, you may need to adjust them.
The id of the entry should be the same for your controller but it may vary. If it does, keep the id of your original entry, only replace the key and axes mapping. Rumble should work in games with this entry.
from xpadneo.
There's also a small PR I submitted to wine: wine-mirror/wine#10
It enables the xpadneo driver to be correctly recognized in latest wine versions. That way, wine sees the correct mapping throughout all games. Steam in wine may need the same SDL mapping correction as shown above. Rumble is fully supported there, too, tested primarily with Witcher 3 currently.
The controller shows some strange behavior in some Steam games running through wine: The right stick emulates a mouse but still sends controller reports. This confuses some games, Dishonored and Kingdoms of Amalur are such examples. I'm pretty sure this is something that Steam does (it seems to use a controller template that enables mouse camera through the right stick). Since there is no Big Picture Mode supported in wine, it cannot be corrected currently, at least I'm yet to find out which config file to edit, and how.
But this means that the same quirk may apply to native Linux Steam. It's easy to fix this: Just disable controller configuration support for the Xbox controller in Big Picture Mode.
from xpadneo.
The battery indicator works for some gamepads. And it works for Logitech mice and keyboards (using K360 and M600 here). So generally, the infrastructure is there.
Perfect! Thanks!
Rumble in Steam itself doesn't work for identify. This only works for the original Steam controller (which I also own). Also, my F710 doesn't rumble for identify. This is probably a Steam Linux implementation detail. Technically, it could work but isn't properly implemented.
Very useful too, thank you!
from xpadneo.
I will close this as it is the same as the battery report thing - missing support by steam, not the driver.
from xpadneo.
Related Issues (20)
- New information about bluetooth pair issues on Raspberry Pi HOT 4
- Xbox Elite 2 Controller Disconnecting on Arch Linux HOT 3
- Xbox one S controller has R input on it's own HOT 15
- Gulikit KingKong2 Pro Controller does not stop rumbling when connected HOT 1
- guid button not working proerly HOT 8
- xpadneo module not loading correctly when connecting Bluetooth Controller HOT 5
- Xbox Series X|S controller recognized as 360 controller and no inputs detected in games HOT 12
- Prevent axis fixup and get xbox elite 2 layout in steam HOT 2
- xpadneo 0.9.5 not loading on Ubuntu 22.04 Linux kernel 6.5.0 HOT 7
- Double Input / Ghost Input HOT 9
- Controller rumble has stopped working HOT 21
- Vibration not work on Gamesir T4 Pro HOT 7
- When xbox controller is not actively connected to bluetooth, bluetooth will suddenly stop working for other bluetooth devices. HOT 1
- Did not find any bluetooth devices fedora 39. HOT 4
- Packaging issue HOT 4
- Gulikit kk3 max recognized as 360 and rumble issues HOT 1
- Series controller not found at all HOT 7
- How To Update Controller Firmware through Xbox Accessories and VirtualBox HOT 1
- Steam and Wine not seeing any sort of input on the controls HOT 2
- Triggers getting stuck after releasing them HOT 9
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 xpadneo.