nanogui: Re: On integrating application and nano-X, and new question
Subject:
Re: [nanogui] Re: On integrating application and nano-X, and new question
From:
"Greg Haerr" ####@####.####
Date:
12 Feb 2003 04:15:19 -0000
Message-Id: <061001c2d24c$36545880$6401a8c0@gregnewport>
> Today's question is what would the best method be to use a linux kernel
> timer(i have it running) with nano-X GrCheckNextEvent?
> The kernel is set up jump to a function on timer. I like that, but how to
> integrate into nano-x event trap?
> I do not want to use the nano-X timer. The only thing i see is inject a
> keyboard event but this does not seem prudent.
Two methods: either use the GrPrepareSelect(), your own select(),
then GrHandleEvent(); or possibly use GrGetNextEventTimeout().
Regards,
Greg