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"

Oculus Remote not working on 4.17

Hello.

I made a template VR project on 4.14, added in DefaultEngine.ini

[OculusRemote.Settings] bRemoteKeysMappedToGamepad=False

and [Oculus Remote Enter] in HMDLocomotionPawn BP connected in the same way as [InputAction HMDTeleport] and I can teleport using Enter button on remote. Then I made a template VR project on 4.17, I made the same changes and my remote is not working. I changed line in OculusInput.cpp like here: https://github.com/EpicGames/UnrealEngine/pull/4030/files but nothing changed. Maybe someone had this issue and can help me?

Product Version: UE 4.17
Tags:
more ▼

asked Oct 12 '17 at 12:48 PM in VR

avatar image

igorovid
18 1 4

avatar image vr_marco Oct 12 '17 at 07:27 PM

Hi, I am the author of the pull request you mentioned which implements the Oculus Remote fix for 4.17. It works properly for me with that fix. Can you confirm that if you use the Oculus Remote in Gamepad emulation mode within 4.17 it works properly? There may be an issue with the bRemoteKeysMappedToGamepad option but I will have to investigate it further.

avatar image igorovid Oct 13 '17 at 07:47 AM

Hello. I am sorry but I can't find how change the Oculus Remote to Gamepad emulation mode. Could you tell me how to do that?

avatar image vr_marco Oct 13 '17 at 09:12 AM

Just remove this line or change it to True:

[OculusRemote.Settings] bRemoteKeysMappedToGamepad=False

avatar image igorovid Oct 13 '17 at 09:45 AM

It didn't change anything.

avatar image vr_marco Oct 13 '17 at 09:56 AM

Did you change the input events to the Game pad ones? Once the Remote has been switched to gamepad emulation mode it works through them. Enter is Special Right. Back is Special Left.

avatar image igorovid Oct 13 '17 at 10:03 AM

I forgot about that, but after change it is still not working.

avatar image vr_marco Oct 13 '17 at 10:32 AM

Very strange because the same setup works properly for me. Can you try to disconnect/turn off all other Oculus input devices (touch and Xbox game pad) except the remote. Does it work this way?

avatar image igorovid Oct 13 '17 at 10:34 AM

I did it before and it doesn't. I can send you my project, so you can check it if it works on yours PC.

avatar image vr_marco Oct 13 '17 at 10:37 AM

Yes. I can check it this afternoon.

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

1 answer: sort voted first

Hi Igor, I have checked your project in a freshly cloned and fixed (pull request 4030) version of 4.17.2 and everything works exactly as expected for me.

With [OculusRemote.Settings] bRemoteKeysMappedToGamepad=False the Oculus Remote Enter event is triggered and teleportation takes place.

With [OculusRemote.Settings] bRemoteKeysMappedToGamepad=True the Gamepad Special Right and Gamepad Special Left events are triggered and teleportation takes place.

I can only guess that, for some reasons, the fix has not been applied properly in your case or something is wrong with your Oculus / Oculus Remote setup. I cannot think of anything else at the moment.

Cheers, Marco.

more ▼

answered Oct 13 '17 at 06:34 PM

avatar image

vr_marco
221 3 3 6

avatar image igorovid Oct 17 '17 at 10:27 AM

Hello.

I downloaded fresh version of UE4 4.17, I changed code line in OculusInput.cpp and everything is working. Thank you for your time and fast response.

(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