xbox360 controllers (suitable for GSOC?)
stefandoesinger at gmail.com
Mon Mar 12 10:38:47 CDT 2018
> Am 11.03.2018 um 06:48 schrieb wylda at volny.cz:
> Sorry for asking here (no more descriptive WWN ;)
Yeah, sorry, I stopped writing these when I became a full time Wine developer again. Feels more productive to write code. Volunteers are welcome :-)
Aric Steward implemented most of the parts. I am answering your questions from memory, but I may be wrong.
> 1. what was improved through SDL?
Aric implemented USB HID support a while ago. This contains some infrastructure in Wine for handling HID events, and it originally read HID reports from /dev/hidrawX. That had the major drawback that /dev/hidrawX is not user readable by default. Reading from /dev/input/eventX is the preferred way, but it'd require translating the higher level event data back to hidraw data. If I understand things right the SDL work reads joystick data the way it is supposed to work and feeds the data into the HID code in Wine. This way things should in theory also work on MacOS.
Recently he implemented xinput.dll on top of the already existing HID code. So xinput should in principle work.
> 2. is anybody working on Plug & Play Xbox controllers support?
I recommend to ask Aric for the state and what TODOs are left.
> 3. could this be one of many GSOC topic?
Potentially, but it depends on the amount of work that is left. There are also joystick parts in dinput.dll and winmm.dll that should be re-written on top of HID instead of their Linux/Mac specific codepaths. It's possible that this task is also already done.
> 4. is it worth opening a bug report for XBOX controller support?
I think so, yes, but check it with Wine git. Things have changed a lot recently.
More information about the wine-devel