# 2nd player gamepad

**URL:** <https://forums.unrealengine.com/t/2nd-player-gamepad/302415>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [December 24, 2014, 10:13pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415 "2014-12-24T22:13:12Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 24, 2014, 10:13pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/1 "2014-12-24T22:13:12Z")

</div>

I don’t get how my gamepad can posses the newly created player via split screen. I have tried to get player controller -1 to posses but nothing works.

My main character is controlled by both keyboard and controller.

How do I make it so that the gamepad can only control the new player? Any blueprint pics would be helpful.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 24, 2014, 11:16pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/2 "2014-12-24T23:16:42Z")

</div>

anyone knows?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 25, 2014, 2:54pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/3 "2014-12-25T14:54:30Z")

</div>

Do I need two controllers?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [December 25, 2014, 3:10pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/4 "2014-12-25T15:10:12Z")

</div>

Did you registered new player?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 25, 2014, 3:12pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/5 "2014-12-25T15:12:28Z")

</div>

Thanks for the reply, you mean by going into the node called create player -1?

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [December 25, 2014, 4:27pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/6 "2014-12-25T16:27:46Z")

</div>

Yes

[https://docs.unrealengine.com/latest/INT/BlueprintAPI/Game/CreatePlayer/index.html](https://docs.unrealengine.com/latest/INT/BlueprintAPI/Game/CreatePlayer/index.html)

Thing is -1 there makes engine pick next free ID so if you got one player with ID 1 the new layer will have ID 2

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 25, 2014, 5:00pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/7 "2014-12-25T17:00:54Z")

</div>

I did that, however the issue I have is the 2nd player is unable to receive inputs. Here is my blueprint so far:

Other thing is, my gamepad and keyboard are controlling the same player 1, I can’t get the gamepad to control Player 2 while keyboard controls Player 1.

 ![24943-capture.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/4/a/f4a2f33712a4748d47c809d46f8429f183fdcf8d.jpeg)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1a0e7b121](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1a0e7b121](https://forums.unrealengine.com/u/anonymous_user_1a0e7b121)\
**Post date:** [December 25, 2014, 6:50pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/8 "2014-12-25T18:50:53Z")

</div>

Do I need to create another PlayerController Blueprint to get this working? I’m gonna keep reading around for info

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_bcd0d281](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bcd0d281](https://forums.unrealengine.com/u/anonymous_user_bcd0d281)\
**Post date:** [January 19, 2015, 6:04am UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/9 "2015-01-19T06:04:45Z")

</div>

From what I’ve been able to figure out (documentation is scarce on this topic), is that the keyboard and the first gamepad will **both** always control the first player (Controller ID 0). Past that, you need to have the same number of gamepads as players (2 gamepads for 2 players, 3 gamepads for 3 players, etc.); at least for local multiplayer. And no matter how many gamepads you have plugged in, the keyboard will always control player 1.

There may be a way to route the first gamepad input to the second player when there’s only one gamepad present, but this would require some serious modifications to underlying engine source code; I haven’t tackled that yet.

I’ve posited that you could create a Blueprint Interface for the second player, and then take all of the gamepad inputs into the first player, and route the pertinent input information through the Interface to the second player character.

I don’t know if this would cause any input lag, as there would be an extra function call involved in any input being routed from the first player to the second player; but it may be worth looking into nonetheless.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_9dd6a520](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_9dd6a520](https://forums.unrealengine.com/u/anonymous_user_9dd6a520)\
**Post date:** [May 7, 2015, 11:36am UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/10 "2015-05-07T11:36:15Z")

</div>

So after spending countless of hours of frustration figuring out why I can’t get the simplest of tasks, local Split Screen controls working, it turns out this was the issue.  
Joypad 1 == Keyboard 1 and it’s undocumented.  
I need a drink.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_416b781b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_416b781b](https://forums.unrealengine.com/u/anonymous_user_416b781b)\
**Post date:** [July 22, 2015, 9:55pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/11 "2015-07-22T21:55:40Z")

</div>

Hey berhardjtdonny,  
Into which files did you look into? Could you resolve the undocumented line?

---

<div class="post-metadata">

**Author:** ![Elendil](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Elendil](https://forums.unrealengine.com/u/Elendil)\
**Post date:** [September 19, 2015, 9:29am UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/12 "2015-09-19T09:29:28Z")

</div>

Hi  
Have you solved this problem ? Or is it impossible to do ?  
If i want to play in local multiplayer, is it an obligation to have a second gamepad ? Or is it possible to assign the mouse keyboard to the first player and the gamepad to the second player ?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_fbe5155f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_fbe5155f](https://forums.unrealengine.com/u/anonymous_user_fbe5155f)\
**Post date:** [March 25, 2016, 12:15am UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/13 "2016-03-25T00:15:00Z")

</div>

My questions is very similar

> **[2P Gamepad + Keyboard Setups](https://forums.unrealengine.com/questions/390827/2p-gamepad-keyboard-setups.html)**
>
> In a local multi-player shared screen game, is there a way to hook up the player controllers so that P1 gets the mouse and keyboard and P2 gets the Gamepad? At the moment, P1 gets both mouse and keyboard + gamepad 1. Thanks.

I’m hoping we could get confirmation and some clues from staff members.

---

<div class="post-metadata">

**Author:** ![JoMaz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JoMaz](https://forums.unrealengine.com/u/JoMaz)\
**Post date:** [October 13, 2016, 12:54am UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/14 "2016-10-13T00:54:27Z")

</div>

Someone contributed a new option to support Mosue+Keyboard Player 1 and Player 2…N Gamepad.

You can find details here:  
[https://github.com/EpicGames/UnrealEngine/pull/2348/files](https://github.com/EpicGames/UnrealEngine/pull/2348/files)

> **[r/unrealengine - Player 1 with KB/M, player 2 with controller](https://www.reddit.com/r/unrealengine/comments/4kv61r/player_1_with_kbm_player_2_with_controller/)**
>
> 3 votes and 11 comments so far on Reddit

it is available on Unreal Engine 4.13

---

<div class="post-metadata">

**Author:** ![20TwentyVizion](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@20TwentyVizion](https://forums.unrealengine.com/u/20TwentyVizion)\
**Post date:** [January 14, 2019, 11:33pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/15 "2019-01-14T23:33:52Z")

</div>

In case nobody has figured it out yet…

The “Create Player” node creates the controller for the 2nd Player.  
I also put both Player1 and Player2 into the level.  
For Player1’s character, I set the Pawn and Input settings to Player 0.  
For Player2’s character, I set the Pawn and Input settings to Player 1.

Hopefully that helps someone.

I just used the External Camera part to remove the camera from Player 1, so both players can be seen, simultaneously.

 ![265370-2player.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/6/4/d6442841ec1832e160ca2c06bf903203de0174a2.jpeg)

---

<div class="post-metadata">

**Author:** ![RichmarIII](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RichmarIII](https://forums.unrealengine.com/u/RichmarIII)\
**Post date:** [April 23, 2020, 4:30pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/16 "2020-04-23T16:30:28Z")

</div>

There is a setting inside **Project Settings → Map and Modes** Called **Skip Assigning Game-pad to Player 1** , This allows the first detected game-pad to be assigned to player 2 instead of player 1.

---

<div class="post-metadata">

**Author:** ![pookemon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@pookemon](https://forums.unrealengine.com/u/pookemon)\
**Post date:** [June 12, 2021, 1:05pm UTC](https://forums.unrealengine.com/t/2nd-player-gamepad/302415/17 "2021-06-12T13:05:05Z")

</div>

An old (old, old) thread, but still an issue…

20TwentyVizion’s solution is unlikely to work - as was pointed out by berhardjtdonny in 2015, Keyboard = Gamepad 1 = player 1.

The closest solution I’ve found so far using standard UE is to check “Skip Assigning Gamepad to Player 1” in the Project settings (Project - Maps & Modes). Then you create 2 separate player controllers - one for keyboard, and one for the gamepad.

I actually have 3, just in case there’s 2 gamepads (KB, GPad, GPad). The problem I’m having now is that when I pause/unpause - Gamepad 2 stops responding. I probably will need to reset something…
