Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This document outlines Learn how to make your UE Application App able to receive inputs from mobile devices. In order to achieve

Overview

Achieving your mobile configuration, it will require making modifications to both your Control Panel Config and Unreal Engine (UE) Project.

Instructions

1. Modifications from the Control Panel Config

In order to To receive touch Touch commands on Mobile devices, you should enable ‘fakeMouseWithTouches’ in your the Config Feature from your the Control Panel. These steps outlined below:

  1. Sign in to your control panel (Eagle 3D Streaming | Control Panel)

  2. Go to the ‘CONFIG SELECTION’ and select your targeted config through the dropdown menu

  3. After the config is selected, click ‘Edit’

  4. When the config dialog box pops up, select ‘Mouse’

  5. Click on ‘fakeMouseWithTouches’ so that there is a checkmark inside the checkmark box (shown below)

  6. Click ‘Save’ and close Config dialog box

...

If you are using :

Old Control Panel : Enable ‘Fake Mouse with Touches’ Config. Refer to this document.

New Control Panel : Enable ‘Mobile Touch’ Config. Refer to this document.

2. Modifications from the Unreal Engine (UE) Project

...

2.1. UE Project Setup

...

Follow the instructions below to setup

...

your Project for both Mobile and Desktop

...

.

...

Step 1. Create a Cursor UMG

1. Create a Widget

...

Blueprint

2. Add to the Canvas with a small size as a cursor (example 20×20)

3. Set the image Alpha to Zero

4.

...

This will act as an invisible Cursor and it will be hidden behind the Browser Cursor during the Pixel Streaming

...

Image Modified

5. Go to

...

Set the created Cursor Widget under Software cursors

...

6. Go to

...

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E6FCFF

Project Settings ->Plugins->PixelStreaming >Engine->User Interface

6. Set

...

Pixel Streamer Default Cursor Class Name to DefaultCursor

...

7.

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E6FCFF

Project Settings ->Plugins->Pixel Streaming

Image Added

7. Set the Show Mouse Cursor in Player Controller to TRUE

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E6FCFF

In Level Blueprint (or as per project)

...

.

Image Modified

2.2. Touch Interface Setup (Optional)

Note

This

...

allows you to enable Joystick Controls in your App for Mobile devices.

1. Create Touch Interface (or Copy from the Engine)

2.

...

In

...

Touch Interface, set :

Panel
panelIconIdatlassian-info
panelIcon:info:

...

bgColor#E6FCFF

Active Opacity = 0.8
Inactive Opacity = 0

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#F4F5F7

This will hide the Interface

...

used on PC and make it visible on Mobile devices.

Image Modified

...

Go to

...

3. Set the created Interface under Default Touch Interface

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E6FCFF

Go to : Project Settings->Engine->Input.

4.

...

Enable ‘Always Show Touch Interface

Info

Edit > Project Settings > Input > Mobile > Always Show Touch Interface

...

Setting Inputs

tip

.

image-20240821-163230.pngImage Added

5. Set the Parameters as follow

Panel
panelIconIdatlassian-info
panelIcon:info:
bgColor#E6FCFF

Go to : Project Settings-> Inputs, set as shown in following imageInput > Enter the Parameters values below.

Image Modified

Info

...

The next step will be to PackageandUploadyour Appon the Control Panel.

...

you an get the

Info

The source code of the

stuff

steps showed in this tutorial

from this doc:
https://eagle3dstreaming.atlassian.net/l/cp/7BNEDDxT

is here.

...

Was this article helpful? Comment Below. Let us know your feedback.

Need help? Contact Support

Submit a new request at E3DS support portal.

Requests sent on weekends will not be addressed until the following business day.