X input handling

New Message Reply Date view Thread view Subject view Author view

From: Gernot Ziegler (gz++at++lysator.liu.se)
Date: 04/04/2001 15:29:14


Have I understood it right that GL input handling is obsolete by now ?
I had a look at detail.C and a line said:
    // Check the mouse and keyboard = only needed for GL input
    // This is done after the draw becuase it can happen in parallel
    // with the pipe finishing the rendering of the frame.
    //
    pfuCollectInput();

since I am using X input, I can skip that, right ?
 
Gosh, all this X input stuff is _really_ confusing ... I am used to GTK,
SDL and Java Swing programming, and this feels really low level for me -
if I hadn't the example files I wouldn't know where to start ...

*sigh*

Servus,
  Gernot

PS:
detail.C mentions in
ProcessInputIO():
                // XXX this is very important or else future keybd events
                // will be lost !!!
                //
                pfevents->devCount[dev] = 0; // mark device done
                break;

This code is never _even mentioned_ in the programming example in chapter
5 of the Getting Started guide !

*sigh 2*

Oh well, I should simply go to bed now - tomorrow is also a day ;)

/-----------------------------W-E-L-C-O-M-E------------------------------\
T The Austria <=> Sweden connection..... T
| E-Mail: gz++at++lysator.liu.se H
O Homepage: http://www.lysator.liu.se/~gz E
\------------------------------F-U-T-U-R-E-------------------------------/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Apr 04 2001 - 15:29:21 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.