ChanServ changed the topic of #wayland to: https://wayland.freedesktop.org | Discussion about the Wayland protocol and its implementations, plus libinput | register your nick to speak
<daniels> emersion: yeah, whot's inputfd protocol was basically that - would be awesome to revive it. I suspect with some of bentiss's eBPF additions, it would be easier to deal with the main blocker of 'the compositor should only wake up when you press $vendor button rather than for every stick twitch'.
<daniels> you're absolutely right to say that the compositor does still need to listen at some level for gamepad events, but not _all_
<daniels> but having that there isn't necessary for an inputfd protocol existing
systwi_ has quit [Ping timeout: 480 seconds]
systwi has joined #wayland
molinari has quit [Ping timeout: 480 seconds]
systwi has quit [Ping timeout: 480 seconds]
columbarius has joined #wayland
jess has quit [Quit: Lost terminal]
co1umbarius has quit [Ping timeout: 480 seconds]
Leopold__ has quit [Ping timeout: 480 seconds]
systwi has joined #wayland
i509vcb has joined #wayland
<tommybomb> I am designing my compositor to work with gamepads (and the other input methods) so I would prefer if it was supported so that everything operates in the same methodology. Perhaps I'll try to use inputfd, but if not many applications adopt it it's kind of moot
<tommybomb> Does anyone know the reason why `memset(event, 0, sizeof(*event));` is done for the input tutorial on the pointer input? https://wayland-book.com/seat/example.html
<tommybomb> I want to know if there is a particular reason; is it safe to continue to use after teh fra
<tommybomb> ...after the frame method is used?
<tommybomb> I assume it's nothing and just house keeping.
<daniels> no, it's not safe to use after the frame event, because subsequent events may overwrite it
<daniels> if you want to use it afterwards, you should either make a copy when you receive the frame event, or use a staging area for everything before the frame event
kenny has quit [Quit: WeeChat 3.8]
<daniels> both have the same effect - anything before the frame event is only visible to Wayland event handlers, and anything after the frame event is only visible to the client app
<tommybomb> i'm wondering if i can just the latest values out of it like X and Y for updating a graphic on screen
<tommybomb> doesn't seem like a problem in my situation
kenny has joined #wayland
ngortheone has quit [Quit: ngortheone]
<tommybomb> Thanks, I will play around with various setups.
sav10 has quit [Remote host closed the connection]
cool110 has quit [Remote host closed the connection]
cool110 has joined #wayland
systwi has quit []
nerdopolis has quit [Ping timeout: 480 seconds]
fmuellner has quit [Ping timeout: 480 seconds]
kts has joined #wayland
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
kts has quit [Quit: Konversation terminated!]
tzimmermann has joined #wayland
pochu_ has joined #wayland
pochu has quit [Ping timeout: 480 seconds]
ppascher has quit [Quit: Gateway shutdown]
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
hardening has joined #wayland
dcz_ has joined #wayland
rasterman has joined #wayland
MajorBiscuit has joined #wayland
i509vcb has quit [Quit: Connection closed for inactivity]
rv1sr has joined #wayland
Dami_Lu has quit [Read error: Connection reset by peer]
Dami-star has joined #wayland
manuel1985 has joined #wayland
molinari has joined #wayland
Company has joined #wayland
cool110_ has joined #wayland
cool110 has quit [Ping timeout: 480 seconds]
devilhorns has joined #wayland
ahartmetz has joined #wayland
<pq> tommybomb, you might not be able to see problems if you basically ignore the frame events, but it would still be not quite right. You might interpret a diagonal motion as two motions, one in x and one in y, as a simplest example.
<pq> tommybomb, this is actually recurring design pattern in Wayland, because Wayland is completely asynchronous: you collect data over several messages, and once you get the message that says "go", you know your data record is complete and can handle it. Until "go" the data is incomplete.
<pq> wl_pointer.frame, wl_surface.commit, wl_output.done, xdg_surface.configure are all examples of such "go" messages.
fmuellner has joined #wayland
tzimmermann has quit [Quit: Leaving]
tzimmermann has joined #wayland
cool110_ has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 480 seconds]
cool110 has joined #wayland
caveman has quit [Remote host closed the connection]
caveman has joined #wayland
pbsds has quit [Ping timeout: 480 seconds]
jess has joined #wayland
ahartmetz has quit [Ping timeout: 480 seconds]
sergi has joined #wayland
nerdopolis has joined #wayland
Leopold has joined #wayland
pbsds has joined #wayland
fmuellner has quit [Remote host closed the connection]
fmuellner has joined #wayland
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
manuel1985 has quit [Ping timeout: 480 seconds]
devilhorns has quit []
manuel1985 has joined #wayland
MrCooper has joined #wayland
manuel1985 has quit [Remote host closed the connection]
manuel1985 has joined #wayland
manuel1985 has quit [Remote host closed the connection]
manuel1985 has joined #wayland
manuel1985 has quit [Remote host closed the connection]
manuel1985 has joined #wayland
agd5f_ has joined #wayland
molinari has quit [Ping timeout: 480 seconds]
slattann has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
tzimmermann has quit [Quit: Leaving]
manuel1985 has quit [Ping timeout: 480 seconds]
rasterman has quit [Quit: Gettin' stinky!]
MajorBiscuit has quit [Quit: WeeChat 3.6]
d_ed has joined #wayland
<tommybomb> pq, thanks! I have discovered this in practice now :)
d_ed has quit [Ping timeout: 480 seconds]
Leopold__ has joined #wayland
Leopold has quit []
junaid has joined #wayland
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
rv1sr has quit []
jmdaemon has joined #wayland
manuel1985 has joined #wayland
manuel1985 has quit [Ping timeout: 480 seconds]
slattann has quit [Ping timeout: 480 seconds]
junaid_ has joined #wayland
junaid__ has joined #wayland
junaid has quit [Remote host closed the connection]
junaid__ has quit [Remote host closed the connection]
junaid_ has quit [Remote host closed the connection]
Moprius has joined #wayland
nnm has quit []
nnm has joined #wayland
Moprius has quit [Quit: bye]
molinari has joined #wayland
agd5f_ has joined #wayland
agd5f has quit [Ping timeout: 480 seconds]
dcz_ has quit [Ping timeout: 480 seconds]
agd5f has joined #wayland
agd5f_ has quit [Ping timeout: 480 seconds]
agd5f has quit [Ping timeout: 480 seconds]
hardening has quit [Ping timeout: 480 seconds]