To use 3rd vive controller you have to connect it via USB cable, it will be accessible as 3rd tracked device in blueprints (Get Tracked Device Position and Orientation).
This is how I setup spectator screen:
0. create render target let say RT_SpectMode,
- make a new Actor (this is very important Actor not a Pawn),
- (Actor) enable player input 0,
- (Actor) script all of a steering,
- (Actor) add SceneCaptureComponent2D, set texture target to RT_SpectMode
- (Any blueprint) at begin play set spectator screen texture to RT_SpectMode
- (Console or Blueprint) set Spectator Screen Mode to 6 or 7.
- Create and setup basic vr-pawn (new Pawn, add Camera, add controllers, Eye height at 0, tracking origin floor - oculus etc.)
- Set vr-pawn as default gamemode pawn
- Place spectator actor on map
- THE END
You can change render target resolution in render target settings.
To fix black bar at the screen when using high resolutions change r.ScreenPercentage to 150 <- it might cause lags
To change screen capture fps, disable “capture every frame” and “capture on movement” options, then setup a timer that calls CaptureScene function of SceneCaptureComponent2D component every x seconds, remember to enable loop option. Unfortunately it was lagging as hell when i try to use custom fps. I recommend to keep capture every frame on.
Cheers