aarzilli: 1
io/key: add way to receive all key events
2 files changed, 4 insertions(+), 1 deletions(-)
I have been upgrading nucular to the last version of gio. Previously it was
stuck on a version from april 2021 because I didn't have time to keep up
with the API changes.
Nucular wants to read all the keyboard and mouse event all the time, there
is no concept of event handling.
I sent a patch that may fix your issue in a less intrusive way.
WDYT?
Elias
Ping?
Did you see the change Elias made about this?
https://git.sr.ht/~eliasnaur/gio/commit/0dba85f52e5131c03d903c84355fb90cdb978811
Does that solve your issue?
Cheers,
Chris
No, I didn't see it. I even looked at the log but I missed it. Sorry.
Never mind, I did see and even commented it back in february, I just didn't
realize it had been merged.
The problem with that change is that, AFAICT, it doesn't work, I'll report
my comment from back then:
'''
AFAICT it doesn't help. No FrameEvent is generated for key.Events, they are
queued but they can't be processed until some other event generates a
FrameEvent.
'''
I don't think I intended to merge the change without your verification
(and fixing the typo!),
but here we are. It sounds to me the approach will solve your problem,
but that my implementation
is faulty? If so, see my patch follow-up (still untested).
Yes.
That one works, thank you.
Elias