# How to print string when pressing left and right special buttons on pad 00, and also for pad 01???

**URL:** <https://forums.unrealengine.com/t/how-to-print-string-when-pressing-left-and-right-special-buttons-on-pad-00-and-also-for-pad-01/1874109>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [May 26, 2024, 5:17pm UTC](https://forums.unrealengine.com/t/how-to-print-string-when-pressing-left-and-right-special-buttons-on-pad-00-and-also-for-pad-01/1874109 "2024-05-26T17:17:57Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![Arodi007](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/arodi007/32/1022275_2.png) [@Arodi007](https://forums.unrealengine.com/u/Arodi007)\
**Post date:** [June 6, 2024, 6:04am UTC](https://forums.unrealengine.com/t/how-to-print-string-when-pressing-left-and-right-special-buttons-on-pad-00-and-also-for-pad-01/1874109/25 "2024-06-06T06:04:06Z")

</div>

You will most likely need cpp anyway, like an event to detect gamepad for connection/disconnect.  
On cpp we have a delegate for this " OnControllerConnectionChange" but is not exposed from blueprint from what i can tell(or not yet).  
Try to look for other function on cpp that can assign a controller id(when CreatePlayer) to a deviceID.  
Source: [How do you detect a second gamepad for splitscreen? - #2 by dunenkoff](https://forums.unrealengine.com/t/how-do-you-detect-a-second-gamepad-for-splitscreen/365975/2)

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-print-string-when-pressing-left-and-right-special-buttons-on-pad-00-and-also-for-pad-01/1874109)._
