Installing RetroArch under Ubuntu (15.04) -- input (gamepad) problems

Hello. I’m trying installing RetroArch under the latest Ubuntu. I’ve ran:

sudo add-apt-repository ppa:libretro/stable
sudo apt-get update
sudo apt-get install retroarch* libretro*

But the gamepad doesn’t do anything in RGUI. (jstest-gtk reports buttons as working.)

I’ve followed instructions from https://github.com/libretro/RetroArch/wiki/Input-drivers-in-Linux-without-Xorg and ran:

sudo gedit /etc/udev/rules.d/99-evdev.rules

to add

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

inside the file; then I’ve ran:

sudo udevadm control --reload-rules

and rebooted, but that didn’t help.

Is there anything I am missing?

EDIT: in fact it seems RetroArch recognizes the gamepad as I’ve been able to bind each axis and button while inside. The menu is controllable through the down and right buttons (selects entries and leaves submenus), but I need the keyboard there to go further (for example, moving up and down). Is everything normal?

Hmm, I guess I’ve solved it. My gamepad is D-pad only, although RetroArch appears to only give menu control to the analog stick. Therefore, I’ve mapped both “D-pad” and “left analog stick” to the D-pad. That way, I should be able to use the D-pad to both play games and navigate the menu (the latter, through the virtual analog stick).