Indigo -> Onyx

New Message Reply Date view Thread view Subject view Author view

abrend++at++idt.unit.no
Thu, 16 Mar 1995 18:56:39 +0100


I'm stuck! I have written a simple viewer using Performer and GL
routines. These was written on an Indigo with Performer 1.2 and IRIS
5.3. Now I got to use an Onyx RE2 and my viewer stopped running. I
think I'm doing something wrong when reading the input devices (mouse
and keyboard). My app. runs just fine on the Indigo. What I do is
this :

   qdevice(RIGHTMOUSE);
   qdevice(WINQUIT);
   qdevice(LEFTARROWKEY);
   qdevice(RIGHTARROWKEY);
   qdevice(DOWNARROWKEY);
   qdevice(UPARROWKEY);
   qdevice(PAGEUPKEY);
   qdevice(PAGEDOWNKEY);
   qdevice(HOMEKEY);
   qdevice(PADPLUSKEY);
   qdevice(PADMINUS);
   qdevice(PKEY);

   while (!done)
       
   {
      /* Go to sleep until next frame time. */
      pfSync();
       
      while (qtest())
      {
         short arg;
         switch (qread(&arg))
         {
         case (PAGEUPKEY):
            zDirection += step;
            break;
             
         case (PAGEDOWNKEY):
            zDirection -= step;
            break;

.......

          }
       }
    }

Do anyone do something similar ? What could be wrong ?

        /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*
        /* WWW page : http://www.idt.unit.no:80/~abrend/ *
        /*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*

email___________________________________________________
|
                                                        V
        _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
       _/ Andreas Brendstuen _/ abrend++at++stud.unit.no _/
      _/ Festningsgata 11 _/ abrend++at++idt.unit.no _/
     _/ 7014 Trondheim, Norway _/ +47 61 29 44 34 _/
    _/ +47 73 51 48 06 _/ (when visiting hometown) _/
   _/ (don't call at saturday mornings) _/ _/
   _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:05 PDT

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