[PATCH] protocol: Add gaming input protocol

Pekka Paalanen ppaalanen at gmail.com
Mon Feb 6 13:40:20 UTC 2017


On Mon, 23 Jan 2017 18:58:29 -0500
"Stephan Sokolow (You actually CAN reply)" <noreply at ssokolow.com> wrote:

> When I first became aware of this patch, my first response was 
> excitement that Wayland would finally take gamepad input into account 
> when doing screensaver suppression.
> 
> However, with the idea to pass file descriptors for 
> bottleneck-avoidance, I've been growing increasingly concerned that no 
> mention has been made of how it would interact with screensaver suppression.

Input device activity tracking is a very good point to raise.

Peter once mentioned me that event masking is a thing with evdev
nowadays. Even with file descriptor passing of evdev devices, I suppose
the compositor could keep copies open for itself, and subscribe only
some of the events. It would also be necessary for "system attention"
buttons (e.g. the PS button on PS3 controllers) if the kernel
does not expose a separate device.

Obviously it's a trade-off between the compositor listening vs. not,
but I believe both ways are possible even with file descriptor passing.
At least the compositor does not need to forward events even if it does
listen.

> P.S. Because my inbox is such a horrendous mess, it's not feasible for 
> me to subscribe to mailing lists and then filter down (and GMane NNTP 
> isn't working for me for some reason), so I'm watching this thread by 
> manually polling the list archive for updates twice a day.

You could subscribe and disable email delivery in the mailman settings
web page, that should allow you to post without getting the list mail,
I believe.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170206/f44aba2b/attachment-0001.sig>


More information about the wayland-devel mailing list