3/31/2023 0 Comments Xpad kernel driver| | "axis type" is one of: X, Y, Z, Rx, Ry, Rz, Slider1, Slider2, POV1, POV2, POV3, POV4. | | comma-separated list of "axis type"s - one for each joystick axis (hat-pov uses 2 axes). | | [This maps axes of joystick "joystick name". I'm not sure this is exactly a bug, since apparently Joystick input is a bit of a hit and mss issue in Wine in general, of all the years I've been using Linux and wine in particular, this is the first time I attempt to actually use a gamepad with it, as I normally used my gamepads with native games only. All in all, since the xpad driver does work indeed "better" in terms of features now, I'd like to use it to play those Windows games that do run under Wine (Skyrim, and others) but since I cannot use the module option -triggers-as-buttons because it is an original Microsoft pad (this option apparently works with generic unknown devices and non Microsoft devices, from what I can make out of the xpad.c file), I wanted to know if there is any way to accomplish this with the xpad driver in Wine 1.7.22 through any of the Dinput keys or similar. Why do I not simply use xboxdrv instead? Because I'd rather use the kernel driver, which does actually work very well, and I have it set up in such a way that I do not have to change perms on the device nodes, as they are given an generic group and write perms on them so to have rumble and all, which no matter how hard I tried, I cannot accomplish with xboxdrv, even when changing perms after the device nodes are created, so I reckon no ff is being sent to the device at all (even when the fftest program does recognize the controller as an XBox360 Wireless one). In wine these buttons are mapped "verbatim" as axes and as such games that support the XBox360 gamepads do make use of the gamepad as they should, only that the moment you put intput into it, the "trigger's axis" will keep sending input (much like the accelerometers in PS3 DS3 controllers). These controllers have a set of two analog triggers (as probably everyone knows by now), which are detected by the Linux xpad driver as axes, and these triggers work wonderfully on native games and SDL 2 games under Steam and all but no so under Wine. Since I use an original Microsoft Xbox 360 Wireless Controller, the driver does nothing if I set the options for it to set the triggers as buttons. But there are issues remaining concerning this gamepad and driver. Also, I have managed to get accurate Xinput information for the gamepad thruough the use of xbox360cemu and the use of its. So I managed to get my wirless XBox 360 gamepad play nice with Linux through the use of the much appreciated Valve's xpad patched up version of the kernel driver (which among other things solves the pair lights issue). Hi all, I know, I know, I did my homework and searched around the forums, sorry, not so much around bugzilla, and found at least these three threads that although related to what I want to say/ask/express, are not 100% the same:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |