# Joystick Plugin

**URL:** <https://forums.unrealengine.com/t/joystick-plugin/14678>\
**Category:** C++\
**Tags:** unreal-engine, Engine-Source-Code, GitHub\
**Created:** [November 5, 2014, 1:10pm UTC](https://forums.unrealengine.com/t/joystick-plugin/14678 "2014-11-05T13:10:21Z")\
**Posts on this page:** 5\
**Page:** 7

<div class="post-metadata">

**Author:** ![LuisAlaguna](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/luisalaguna/32/570408_2.png) [@LuisAlaguna](https://forums.unrealengine.com/u/LuisAlaguna)\
**Post date:** [May 20, 2020, 6:23pm UTC](https://forums.unrealengine.com/t/joystick-plugin/14678/137 "2020-05-20T18:23:04Z")

</div>

Did you update this plug-in?

---

<div class="post-metadata">

**Author:** ![GV-SAN](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GV-SAN](https://forums.unrealengine.com/u/GV-SAN)\
**Post date:** [June 21, 2020, 3:31am UTC](https://forums.unrealengine.com/t/joystick-plugin/14678/138 "2020-06-21T03:31:52Z")

</div>

hello someone help me please, as it creates a joystick the move button and touch for mobile, I don’t have money to buy this plung. at Marketplace, someone help me how to do it.

---

<div class="post-metadata">

**Author:** ![Mattk50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Mattk50](https://forums.unrealengine.com/u/Mattk50)\
**Post date:** [July 24, 2021, 4:53pm UTC](https://forums.unrealengine.com/t/joystick-plugin/14678/139 "2021-07-24T16:53:19Z")

</div>

I noticed and solved a new problem with this usage of SDL on this plugin, basically the issue was that inputs randomly get dropped at moderate framerates, this happens consistently for joysticks with ~4 axes, a hat and however many buttons you can push at the same time. It’s not really a problem with the plugin code, but more with sdl’s definition of a directinput buffer. There might be a way to fix it by editing the plugin, but i fixed it by editing the sdl source code.

More information and a solution is here, but it involves compiling sdl2 from source and editing one of the lines:

> **[SDL2 is consistently dropping joystick inputs](https://discourse.libsdl.org/t/sdl2-is-consistently-dropping-joystick-inputs/32191/7)**
>
> I found the engine’s main input loop and disabled everything on the input loop other than the sdl plugin, now im pretty certain nothing else in the engine is messing with the direct input device events, but it’s hard to be absolutely sure, so im...

It’s not a perfect fix, it’s kind of hacky and stupid, but it works for my project because of our input requirements.

---

<div class="post-metadata">

**Author:** ![ClarkDalel](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ClarkDalel](https://forums.unrealengine.com/u/ClarkDalel)\
**Post date:** [July 6, 2022, 5:06am UTC](https://forums.unrealengine.com/t/joystick-plugin/14678/140 "2022-07-06T05:06:03Z")

</div>

is there any update for UE 4.27 ?

---

<div class="post-metadata">

**Author:** ![5ubz30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@5ubz30](https://forums.unrealengine.com/u/5ubz30)\
**Post date:** [July 27, 2022, 1:43am UTC](https://forums.unrealengine.com/t/joystick-plugin/14678/141 "2022-07-27T01:43:55Z")

</div>

I tried it in UE5 but the values go way past -1 to 1, is there any fix for this?

[Previous page](https://forums.unrealengine.com/t/joystick-plugin/14678.md?page=6)
