4.6 UI window focus - Gamepad / Keyboard

Hey there, I am currently trying out the new Unity 4.6 UI system.

I am struggeling to get Keyboard / Gamepad controls working, everything is set up properly however if a menu appears, the control inputs are not working, if I click next to a button using the mouse or hover over a button using the mouse (so it gets highlighted) the controls with gamepad and keyboard work fine.
I feels a bit like the canvas of the UI is not automatically “selected” or does not have focus, any clue what I am doing wrong ?

Thanks

Thanks, you got me down the right path, I had totally missed this tutorial http://unity3d.com/learn/tutorials/modules/beginner/ui/ui-events-and-event-triggers

I just set one of my buttons to First Selected in the Eventsystem game object(didn’t realize it existed) and all was good from there.

You’re right; it doesn’t automatically select any control. When you show the UI, choose a control and focus it with EventSystemManager.currentSystem.SetSelectedGameObject():

EventSystemManager.currentSystem.SetSelectedGameObject (yourControl);

Once a control is focused, the user should be able to navigate through the rest of the controls using gamepad or keyboard according to the navigation flow you’ve set up.