Gamepad focus model (Re: Input and games.)

Bill Spitzak spitzak at gmail.com
Wed May 8 12:11:03 PDT 2013


Rick Yorgason wrote:

> Currently it would make perfect sense for wl_gamepad to use wl_keyboard's
> focus except... what do you do if there is no keyboard? This would have been
> an easier problem to solve if we could just say that wl_keyboard and
> wl_gamepad both use wl_seat's focus.

If the gamepad can move the pointer then I think the buttons should go 
to the pointer focus.

Otherwise I agree with the idea that the "keyboard focus" should be the 
"seat focus". All devices not moving the pointer should go to the seat 
focus.



More information about the wayland-devel mailing list