x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Is the Blueprint-ing for X-Box and Dualshock 4 controllers any different?

I'm reletively new at with the whole UE4, so this may be a sort of novice question. I understand that X-Box controllers are plug-and-play and Dulashocks require some sort of additional software to use, but would the blueprints be any different? Or would it just read X as A and O as B and so on?

Product Version: UE 4.10
Tags:
more ▼

asked Jan 23 '16 at 08:55 PM in Using UE4

avatar image

dacjak54
1 1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

UE4 got common interface for all, but everything depends on what OS interface does gamepad driver use on specific platfrom and if UE4 support it.

UE4 on Windows only support XInput (which is successor of DirectInput and made specifically for XBox hardware), it requires from gamepad hardware to support it, or else gamepod is not visible by XInput. XBox gamepad and usally any pad that mimics Xbox pad will work with XInput.

Dualshock 4 on other hand is only USB HID compatible device (Standard Human Interface Device described in USB specifications) and it runs on default Windows HID USB driver which is incompatible with XInput, so it wont work with UE4, and Sony don't make there own PC driver. User will need to download 3rd party driver to make it work with your game, but considering most of games requires XInput-compatible gamepads this should not be such a big issue, if somebody wants to use DS4 on PC they will get driver anyway because they are forced. The same goes with DS3 it is USB HID compatible, but it unique init command, which prevent it to use in other devices then PS3 and requires driver to even be used on PC.

Linux on PC on other hand will support both Xinput devices DS4 and DS3 out of the box (it depends on how kernel of user's distribution been compiled, but usally all desktop distributions has all kernel driver modules compiled). Not only that the kernel driver for DS4 supports all features of the pad including lightbar and touchpad (and oyu can use those in UE4 in C++) and most impotently vibration which should work with UE4 out of the box.

I also hear if you are registrated Playstation devloper you have access to UE4 plugin for DS4 used for PC, but i don't know the details, everything regarding UE4 console development is under NDA. But my bet is Sony won't allow you to use that plugin on PC version of your game

more ▼

answered Jan 24 '16 at 02:00 AM

avatar image

Shadowriver
35.9k 929 169 1105

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question