Closed Bitwolfies closed 2 years ago
Not so much an issue, but a question, my apologies in advance.
As far as I can tell, the Linux Dualsense driver, both wired and wireless lack support for anything related to the triggers, so how is this managing it? Even Windows can't use the triggers wirelesly, is it more of a replacement driver than anything else?
Thanks!
there is no official driver for this (I wish there was, it is so simple to add it :/), so we have to send raw HID data to the device to control the triggers. SDL2 handles this well (with bluetooth support), and so I just use SDL2's gamecontroller api to send raw HID commands to the controller. In essense it's 100% userspace and there is no kernel level driver or anything else involved. (you can obviously look at the source code for more details)
Not so much an issue, but a question, my apologies in advance. As far as I can tell, the Linux Dualsense driver, both wired and wireless lack support for anything related to the triggers, so how is this managing it? Even Windows can't use the triggers wirelesly, is it more of a replacement driver than anything else? Thanks!
there is no official driver for this (I wish there was, it is so simple to add it :/), so we have to send raw HID data to the device to control the triggers. SDL2 handles this well (with bluetooth support), and so I just use SDL2's gamecontroller api to send raw HID commands to the controller. In essense it's 100% userspace and there is no kernel level driver or anything else involved. (you can obviously look at the source code for more details)
So how come there's zero effort to upstream this. not wanting to step on Sony's toes? I know the dev from sony said that endev was not sufficient to expose these values.
Not so much an issue, but a question, my apologies in advance. As far as I can tell, the Linux Dualsense driver, both wired and wireless lack support for anything related to the triggers, so how is this managing it? Even Windows can't use the triggers wirelesly, is it more of a replacement driver than anything else? Thanks!
there is no official driver for this (I wish there was, it is so simple to add it :/), so we have to send raw HID data to the device to control the triggers. SDL2 handles this well (with bluetooth support), and so I just use SDL2's gamecontroller api to send raw HID commands to the controller. In essense it's 100% userspace and there is no kernel level driver or anything else involved. (you can obviously look at the source code for more details)
So how come there's zero effort to upstream this. not wanting to step on Sony's toes? I know the dev from sony said that endev was not sufficient to expose these values.
I really don't want to dip my toes in kernel development just yet, I really have no idea how to contribute or do anything in there (how do I test without completely destroying my install??????). I might work on this as a kernel module in the future and upstream it, but there is still no guarantee that linus upstreams it, and weither it is a good interface for controlling the triggers in the first place. In short I think this is something that is beyond my scope. there is also the fact that evdev does not support something like this either. (I dont even think it supports xbox rumble triggers lol) it is probably easier to create an interface to control this using sdl2 (without having to send raw hid data), but something kernel level would obviously be the best choice.
If you have any further questions, you can move it over to the discussions page
Not so much an issue, but a question, my apologies in advance.
As far as I can tell, the Linux Dualsense driver, both wired and wireless lack support for anything related to the triggers, so how is this managing it? Even Windows can't use the triggers wirelesly, is it more of a replacement driver than anything else?
Thanks!