# Retroarch cant bind inputs

**URL:** <https://forum.clockworkpi.com/t/retroarch-cant-bind-inputs/2921>\
**Category:** Emulators\
**Created:** [February 19, 2019, 3:50pm UTC](https://forum.clockworkpi.com/t/retroarch-cant-bind-inputs/2921 "2019-02-19T15:50:54Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![javelinface](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.clockworkpi.com/javelinface/32/3079_2.png) [@javelinface](https://forum.clockworkpi.com/u/javelinface)\
**Post date:** [August 26, 2019, 3:20am UTC](https://forum.clockworkpi.com/t/retroarch-cant-bind-inputs/2921/8 "2019-08-26T03:20:40Z")

</div>

Re: retroarch keybind input problems/timeouts.  
I decided to look into it.

Since the Gameshell treats the joystick as a keyboard, it would make sense to use an appropriate driver.

By default, the input driver that is selected is “X”, which I am assuming is X input. This is an appropriate input for a joystick, however given the nature of the arduino keyboard, this is not suitable.

Being the most recent and feature packed driver, featuring keyboard callback, mouse and touchpad compatibility, I decided to try using the udev driver.  
The menu can be found here:

```auto
settings->drivers->input->udev
```

To allow Linux to capture keyboard inputs, you will need to add your user to the group “input” with the command:

```auto
sudo usermod -a -G input cpi
```

Reboot your system.

If it doesn’t work, you’ll need to make a udev rule to make the group “input” available to non root users.

Using nano, open up:

```auto
sudo nano /etc/udev/rules.d/99-input.rules
```

And add the following lines:

```auto
KERNEL=="event*", NAME="input/%k", MODE="666"
```

Save the file, and then reload your rules, by running:

```auto
sudo udevadm control --reload-rules
```

Reboot your system.

You should now be able to add and remove inputs completely via the retroarch interface, and not need to edit your retroarch.cfg file manually anywhere near as much.

All of the above and more can be found here:  
[http://docs.libretro.com/guides/input-joypad-drivers/](http://docs.libretro.com/guides/input-joypad-drivers/)

---

_[View the full topic](https://forum.clockworkpi.com/t/retroarch-cant-bind-inputs/2921)._
