input remapper in game mode
I tried
systemctl enable --now input-remapper.service
And that's not loading my bindingsSolution:Jump to solution
Just tried it again and input-remapper is working in gamemode not sure what changed:AkkoShrug:
I think it was removing my user from the
input
group...24 Replies
What device are you using?
I'm in a desktop PC
I'm trying to get the back buttons if my flydigi apex 4 working
On the kde desktop input remapper correcty auto loads my profile and the buttons work. Just trying to figure out how to get it to work in steam game mode
Hmm I tried adding the input remapper gui as a steam shortcut but it doesn't run in game mode...
Wonder if this is why
Other wise it's running fine
removing my user from the input group fixes the input remapper controller not showing up, but it is still getting its inputs from the original controller on steam.....
I could never get input remapper working in game mode
If you want an alternative, you could try https://github.com/ShadowBlip/InputPlumber/
it's made by the ChimeraOS devs, and it can explicitly remap one device to another device.
e.g. remap keyboard buttons to a controller, etc
ahh sucks thats the only way to be able to fully use the apex 4 controller
if you do try input plumber, you'd have to ask about it on the chimeraOS discord
yeah heard about inputplumber talked to the dev about getting the apex 4 controller supported they where intreasted but were behind a back log
you could try a custom config and DIY it
e.g. you can create a device config where you tell it which devices to capture: https://github.com/ShadowBlip/InputPlumber/blob/1eff257f6588c6ba76705d85e5745b8f5da2ae81/rootfs/usr/share/inputplumber/devices/50-gpd_win4.yaml
then create a capability map that maps inputs to the desired output:
e.g. this was a custom capability map I played around with for my GPD Win 4
where I wanted the right back button to be QAM instead of R4
it does require some technical knowledge to get it running though
so YMMV
thanks ill give it a try
just letting you know that YMMV, InputPlumber is also a work in progress so you will probably see bugs
you also need to place custom configs in a very specific folder
so it'll be best to ask devs about it
if it does work, you can finally change the controller type via this command in terminal:
example controller modes: xb360, ds5-edge, deck, xbox-elite
oh, and finally, you might need to compile the rpm for bazzite, here's the spec if you need it: https://github.com/ShadowBlip/InputPlumber/blob/main/pkg/rpm/inputplumber.spec
you can compile it in a distrobox, then install it via rpm-ostree
I mean I just found a rpm in the releases and rpm-ostree that
oh, if you didn't run into a dependency conflict, then that works too
i had to manually compile because of a dependency conflict
Worked fine for me but it was an older version from a few days ago I think
version 0.35.4 has a bug fix so that custom capability maps can work
but that was only a bugfix for devices inputPlumber already has configs for, so it probably won't be a problem for you
since the flydigi is probably not already configured
@zany130 one thing I do have a question about though, your controller has a switch mode with working gyro, no?
If so, I think you can theoretically remap the Switch mode to a Dualsense for Gyro, and if there's a way to also capture the back paddles while in Switch mode, you can set Dualsense Edge instead for paddles + gyro
Yeah it does have a working switch mode but
1. Triggers are sent as digtial so it's either fully pressed or not.
2. back buttons do not show up ony hid reading tools like evdev or anything like that so i don't think there exposed
the gryo does work find out of the box though
dinput mode is where the most things of the controller are exposed the only thing that might not be possible is
1. Circle button can't be remapped (the button next to home) is mapped to the anlong input of the right trigger (pressing the button registers as a 10% pull on the right trigger) it also triggers the flymouse (gyro mouse) of the controller
2. rumble is not exposed in dinput. this is also true on windows
gotcha. well, sounds like a controller I won't pick up anytime soon lol.
I hope it works out though, it'll be very interesting to see if this works well for external controllers
if this can work for external controllers, then it'd open up the option of a lot of 3rd party controllers on Linux
It's a really good controller if you can find it at a good price. Amazon is overcharging for importing it from china. You could git it directly from flydigi in china for about 80$ but that's on alibaba.
I got it from alibaba with no issues but I heard horror stories about the customer support there.
the available inputs and hardware seem nice, but unless it works well with Steam Input, it's no better than a dualsense or xbox imo
which is why it'll be interesting to see if InputPlumber can solve the issue
Yeah it theroticly should be possible to get the controller fully supported in steam input. I made a bug report about it https://GitHub.Com/libsdl-org/SDL/issues/10161
in dinput the controller is outputting all the nessicary data (execpt rumble and circle button) it just needs to be mapped
and it's not that the back buttons don't work in xinput and switch mode it's just there not exposed to linux meaning you have to map them on the controller (this is where the built in screen comes into play but your limited to mapping the back buttons to existing gamepad inputs (abxy,start select ect you need steam input supoort or a input remapping software to map keyboard keys)
GitHub
Flydigi Apex 4 support · Issue #10161 · libsdl-org/SDL
as recommended here hhd-dev/hhd#73 (comment) it sounds like this would be the best place to get this supported? If not could you please point me in the right direction, I have no experience with th...
From what I understand the problem with adding SDL support (and thus steam input) for dinput mode is gryo is dependent on either a mapping being set in the windows software OR gyro mouse being enabled with the circle button, and there is no way (at least no known way) of detecting if either are true.
so I tried runnin input-remapper in desktop mode
and looks like its no longer working
input-remapper-gtk
looks like it can't find a css file
hmmm tried creating an empty file in that path (there was no style.css file) and now it gives
which is also not there ... but i never seen any of those files in there before....
Solution
Just tried it again and input-remapper is working in gamemode not sure what changed:AkkoShrug:
I think it was removing my user from the
input
group