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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Cloned input devices

Hello,

We're building a project for HTC Vive and I've been using the "input action and axis mappings" to setup the mappings for the controllers. Problem is that I want both controllers to respond to the same mappings, however this doesnt seem to currently work inside of UE4. We imagine the problem is that after a "pressed" event is triggered from a specific key on an input device the very same key cannot send another "pressed" event until a "released" event is sent (this happens despite using both MotionController (L) / MotionController (R) as inputs). This is natural if all input keys are actually unique, but in our situation, or any situation where you have two or more identical devices to control the same actions this doesnt work. In VR it's very common to have mirrored input across both left and right hand controllers, but it's also easy to imagine an xbox with two controllers setup to control the same player or a computer with two connected keyboards in which scenario the same is bound to happen.

Although it's possible to get around this issue by mapping separate functions for left and right and selecting "consume input" etc unfortunately the overhead for this workaround quickly grows rather complex and hard to maintain and it's frustrating to have to deal of this for every single mapping, especially when prototyping new input behavior. Not sure why not more developers have reported this but since at the least VR input devices are becoming more and more important for UE4 we hope this issue can be resolved as soon as possible.

Thanks,

Product Version: UE 4.13 Preview
Tags:
more ▼

asked Aug 30 '16 at 02:43 AM in Blueprint Scripting

avatar image

erik007
6 1 4

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

1 answer: sort voted first

Hello erik007,

After reading over your post it sounds like you would like to have your Action mapping fire in multiple blueprints at the same time. I would suggest unchecking "Consume Input" for the action mappings. I have provided an example below. I hope that this information helps.

Example:

This example is in the level blueprint for the First person example. I have used the default "Fire" Action mapping. After Unchecking "Consume Input" The print string and the gun (setup to use this action mapping by default in the first person example) will both fire off.

alt text

Make it a great day

more ▼

answered Aug 30 '16 at 01:49 PM

avatar image

Rudy Q ♦♦ STAFF
47.4k 545 132 523

avatar image erik007 Sep 04 '16 at 03:07 PM

Thanks for the reply and for the example. However, if you raid my post I specifically said that "consume input" doesnt solve this problem.. I'll try to provide an example how to replicate the issue if it helps

avatar image Rudy Q ♦♦ STAFF Sep 07 '16 at 12:48 PM

Hello erik007,

Could you provide an example of your workflow so that I can better understand the issue that you are having?

(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