Not a member yet? Why not Sign up today
Create an account  

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Joystick Controller support (on tests)

#1
Hello everyone!

We are working in the support of joystick controllers in the Porting Kit. The idea is that this feature will be available for Premium Users, which is a concept that still does not exist in PK, but should be adopted during this year.

Basically, whoever donates an amount of 5 dollars or more to PK (we gonna create a separated PayPal account for that), will have access to some specific ports and to that feature. In that way we can pay for our hosting service and still keep PK free, among with all the rest of its features.

However, while we do tested that new feature, we need feedbacks of it from people playing other games. In order to do that, we make the following proposal:

If you are willing to report to us a feedback of how is the controller mapping working, we can enable the joystick mapping for you so you use it at your will! There is no need to report to us multiple times; a single report of how was using the joystick feature in a specific game is enough, as long as it''s informative.

The Porting Kit has the option to login in your forum account, by pressing Porting Kit -> Forum User Login. Once you ask for it, we gonna enable it for your user, so you will be able to use it for two months. Once you have reported to us how was the performance of the new feature, the time limit will be removed, and the joystick mapping feature will be available for you as long as we have it Big Grin

Now you may be wondering: what is controller mapping?
Basically, some games do not support controllers. Other games would support, but for some reason their detection doesn''t work in Wine. So what to do? That feature maps your joystick keys into keyboard keys and cursor movements, in a totally configurable way. In that way, you should be able to play ANY game with any supported joystick, as long as it''s properly configured. That also means that this is proper for single player gaming, but not multiplayer (most of the time).

Most of the controllers are supported, including PS4 controllers (v2). The only controllers not supported (for now) are:
- Xbox 360 controller
- Xbox One controller
- Playstation 3 controller
- Playstation 4 controller (v1)
- Steam controller

Basically, all HID compatible controllers + PS4 v2 are supported. Ow, and the PS4 v2 controller is compatible in both wired and bluetooth modes.

If you want to help us adding support to the Playstation 3 controller or the Playstation 4 controller (v1), you are also welcome to join, since with your help we can probably get them supported Smile

Xbox 360 and Xbox One controllers, in the other hand, require a totally different method to be detect and mapped, and so we, unfortunately, can''t make them work yet. Trust me, I tried; I have a Xbox 360 and a PS4 controller, but I could only make the PS4 controller work for now Sad

The Steam controller can be detect (borrowed one once to test), but it isn''t identified properly. The IOKit API thinks it has dozens of keys, and none of them are the real keys of the controller Tongue

Anyway, back to the proposal: that''s it. If you are interested, just answer that post so we can add your forum username to the testing list Smile

#2
I''ll gladly try it out and send you feedback, though I''m only going to be able to test it out in Fallout 3 and Cuphead! Thanks for sending me the link!

#3
[quote author=GiusseM link=topic=1020.msg3437#msg3437 date=1528308532]
I''ll gladly try it out and send you feedback, though I''m only going to be able to test it out in Fallout 3 and Cuphead! Thanks for sending me the link!
[/quote]

You''re welcome ;D

Just added you to the testing list. Check if the controller mapping feature is already appearing, as explained in the post.

#4
Hi Vitor, I can test as well if needed. I only have an xbox360 controller though, so since that doesn''t work, I''m not sure I would be of much help :p

#5
[quote author=Brainzyy link=topic=1020.msg3449#msg3449 date=1528406370]
Hi Vitor, I can test as well if needed. I only have an xbox360 controller though, so since that doesn''t work, I''m not sure I would be of much help :p
[/quote]

For now the JCS don''t work with original XBox 360 controllers (and even some of the generics made to look like it) Tongue

The reason is simple: the system is based in IOKit, which can detect HID devices (HID means Human Interface Device). However, Xbox 360 and Xbox One controllers aren''t identified has a proper HID (I don''t know why). So basically, while any controller prior to the Xbox 360 / Playstation 3 generation can be identified with a "generic driver", the Xbox-ones need drivers made specifically for them, and the Playstation-ones need minor adjusts.

I tried to identify an Xbox 360 controller once. My only achievement was to detect that it was connected, but I couldn''t retrieve the key inputs, so it was useless Tongue

I will surely take a look at that again in the future, but for now I don''t have enough free time for testing that.

HOWEVER, if I recall correctly (I may be wrong), I think that the JCS does work with Xbox 360 controllers if you use 360Controller at the same time. I haven''t checked their source, but I believe that this happens because they create a virtual HID device that serves has an interface for the Xbox 360 controller. It''s just a theory though.

Added your name to the list in case you want to check that.

#6
I''m happy to join the testing list - I''d like to get my Logitech joystick working with Rogue Squadron 3D. It doesn''t seem to function out-of-the-box. Thanks!

#7
[quote author=DiracMan42 link=topic=1020.msg3462#msg3462 date=1528643096]
I''m happy to join the testing list - I''d like to get my Logitech joystick working with Rogue Squadron 3D. It doesn''t seem to function out-of-the-box. Thanks!
[/quote]

Added your username to the testing list Wink

Remembering everyone that:

Quote:Once you ask for it, we gonna enable it for your user, so you will be able to use it for two months. Once you have reported to us how was the performance of the new feature, the time limit will be removed, and the joystick mapping feature will be available for you as long as we have it

#8
Okay, first attempt:

I was able to successfully identify and rename the buttons on my Logitech joystick without a problem (see first picture).

And then I was able to correctly assign the X and Y axes to the arrow keys, but it wouldn''t let me map any of the buttons on the joystick - they just stay stuck at "None" when I click on them (see second picture).

I tested this on Rogue Squadron 3D - I can successfully fly the plane using the joystick, but I can''t fire my weapons or anything, because so far I can''t assign the trigger button on the joystick. I''ll keep messing with it - this is just my first attempt at getting it working. Thanks again.

#9
I''d be happy to try for Fallout NV Smile

#10
[quote author=DiracMan42 link=topic=1020.msg3464#msg3464 date=1528656992]
Okay, first attempt:

I was able to successfully identify and rename the buttons on my Logitech joystick without a problem (see first picture).

And then I was able to correctly assign the X and Y axes to the arrow keys, but it wouldn''t let me map any of the buttons on the joystick - they just stay stuck at "None" when I click on them (see second picture).

I tested this on Rogue Squadron 3D - I can successfully fly the plane using the joystick, but I can''t fire my weapons or anything, because so far I can''t assign the trigger button on the joystick. I''ll keep messing with it - this is just my first attempt at getting it working. Thanks again.
[/quote]

Hey DiracMan42! Sorry for taking too long to answer. I''ve seen a picture of the controller on Google, but which key is the trigger key which you are referring to, just to confirm? Is it the key in the top of the joystick?

[quote author=colinpopshed link=topic=1020.msg3469#msg3469 date=1528831968]
I''d be happy to try for Fallout NV Smile
[/quote]

Hey colinpopshed! Sorry for taking too long to answer. I will add your user to the list.



Forum Jump:


Users browsing this thread:
1 Guest(s)