README.QNX
changeset 886 05c551e5bc64
parent 821 30168104389f
child 3083 0bc41e0361d3
     1.1 --- a/README.QNX	Fri Apr 30 18:33:30 2004 +0000
     1.2 +++ b/README.QNX	Thu May 06 15:55:06 2004 +0000
     1.3 @@ -1,5 +1,5 @@
     1.4 -README by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
     1.5 -Last changed at 14 Feb 2004.
     1.6 +README.QNX by Mike Gorchak <mike@malva.ua>, <lestat@i.com.ua>
     1.7 +Last changed at 24 Apr 2004.
     1.8  
     1.9  ======================================================================
    1.10  Table of Contents:
    1.11 @@ -19,8 +19,8 @@
    1.12  heavily tested yet.
    1.13      If you have QNX RtP version 6.1.0 or above you must  download  the
    1.14  Photon3D runtime from http://developers.qnx.com or install it from the
    1.15 -public repository or the  public CD, available  with  QNX. OS versions
    1.16 -below 6.1.0 are not supported.
    1.17 +public repository or from the public CD, available with QNX. OS versi-
    1.18 +ons below 6.1.0 are not supported.
    1.19      When creating an OpenGL context, software renderer mode is artifi-
    1.20  cially selected (QSSL made acceleration  only  for  Voodoo  boards  in
    1.21  fullscreen mode, sorry but I don't have this board  to  test  OpenGL -
    1.22 @@ -36,22 +36,23 @@
    1.23  ======================================================================
    1.24  2. Wheel and multi-button mouses:
    1.25  
    1.26 -    Photon emits  keyboard  events (key up and down)  when  the  mouse
    1.27 +    Photon emits  keyboard  events (key up and  down)  when the  mouse
    1.28  wheel is moved. The key_scan field appears valid, and it contains zero.
    1.29  That is a basic method of detecting  mouse  wheel events under Photon.
    1.30 -It looks like a hack, but it works for me :) on various PC  configura-
    1.31 +It looks like a hack, but it  works for me :) on various PC configura-
    1.32  tions.
    1.33  
    1.34  I've tested it on:
    1.35  
    1.36 -1. Genius Optical NetScroll/+ (1 wheel)
    1.37 -2. A4Tech Optical  GreatEye  WheelMouse,  model: WOP-35. (2 wheels + 2
    1.38 -   additional buttons). The wheel for vertical scrolling works as usu-
    1.39 -   al, but the second wheel for horizontal scrolling emits two sequen-
    1.40 -   tial events up or down, so it can provide faster scrolling than the
    1.41 -   first wheel. Additional buttons don't emit any events, but it looks
    1.42 -   like they're handled by photon in an unusual  way - like  click  to
    1.43 -   front, but works not with any window, looks like bug-o-feature :).
    1.44 +1. Genius Optical NetScroll/+ PS/2 (1 wheel)
    1.45 +2. A4Tech Optical GreatEye WheelMouse PS/2,  model: WOP-35.  (2 wheels
    1.46 +   + 2 additional buttons). The wheel for vertical scrolling  works as
    1.47 +   usual, but the second wheel for horizontal scrolling emits  two se-
    1.48 +   quential events up or down, so it can provide faster scrolling than
    1.49 +   the first wheel. Additional buttons don't emit  any  events, but it
    1.50 +   looks like they're handled by photon in an unusual way - like click
    1.51 +   to front, but works not with any window, looks like a fun bug-o-fe-
    1.52 +   ature :).
    1.53  
    1.54  ======================================================================
    1.55  3. CDROM handling issues:
    1.56 @@ -89,10 +90,12 @@
    1.57  de.m4 file (it comes after the ESD detection code up to the end of the
    1.58  file), because the libtool stuff in the acinclude.m4 file was very old
    1.59  in SDL distribution before the version 1.2.7 and doesn't knew anything
    1.60 -about QNX. SDL 1.2.7 distribution contain  the  new libtool.m4 script,
    1.61 +about QNX. SDL 1.2.7 distribution contains the  new libtool.m4 script,
    1.62  but anyway  it  is  broken :), Just  remove  it, then  run "libtoolize
    1.63 ---force --copy",  delete the file aclocal.m4 and after  that  run  the
    1.64 -autogen.sh script.
    1.65 +--force --copy",  delete the file aclocal.m4 if it is exists and after
    1.66 +that run the  autogen.sh script. SDL 1.2.8 contains  fixed libtool.m4,
    1.67 +ltmain.sh and config.sub files, so you  can  just  run  the autogen.sh
    1.68 +script.
    1.69  
    1.70  ======================================================================
    1.71  6. Some building issues:
    1.72 @@ -105,16 +108,19 @@
    1.73      Run the configure script without x11 support, e.g.:
    1.74  
    1.75      a) for OpenGL support:
    1.76 -    ./configure --prefix=/usr       \
    1.77 -                --disable-video-x11 \
    1.78 +    ./configure --prefix=/usr           \
    1.79 +                --disable-video-x11     \
    1.80                  --disable-shared
    1.81  
    1.82      b) without OpenGL support:
    1.83 -    ./configure --prefix=/usr       \
    1.84 -                --disable-video-x11 \
    1.85 -                --disable-shared    \
    1.86 +    ./configure --prefix=/usr           \
    1.87 +                --disable-video-x11     \
    1.88 +                --disable-shared        \
    1.89                  --disable-video-opengl
    1.90  
    1.91 +    And of course dont forget to specify --disable-debug, which  is on
    1.92 +by default, to disable debug and enable the expensive optimizations.
    1.93 +
    1.94      In the test directory also run the ./configure script without
    1.95  x11 support, e.g.:
    1.96  
    1.97 @@ -128,10 +134,10 @@
    1.98      Please note that the photon driver  is  sensible to the  following
    1.99  environmental variables:
   1.100  
   1.101 - * SDL_PHOTON_FULLSCREEN_REFRESH - this environment variable controls
   1.102 -the refresh rate in all fullscreen modes. Be carefull !!! Photon drivers
   1.103 -usually do not checking the maximum refresh rate, which video adapter or
   1.104 -monitor supports.
   1.105 + * SDL_PHOTON_FULLSCREEN_REFRESH - this environment variable  controls
   1.106 +the refresh  rate  in  all  fullscreen  modes. Be  carefull !!! Photon
   1.107 +drivers usually do not checking the maximum  refresh rate, which video
   1.108 +adapter or monitor supports.
   1.109  
   1.110   * SDL_VIDEO_WINDOW_POS - can be  set in the "X,Y" format.  If X and Y
   1.111  coordinates are bigger than the current desktop resolution, then  win-
   1.112 @@ -144,6 +150,6 @@
   1.113   * SDL_VIDEO_CENTERED - if this environmental variable exists then the
   1.114  window centering is perfomed in the current virtual console.
   1.115  
   1.116 -    The SDL_VIDEO_CENTERED enviromental variable has greater  priority
   1.117 -than the SDL_VIDEO_WINDOW_POS in case if both variables  are  supplied
   1.118 -to the application.
   1.119 +Notes: The SDL_VIDEO_CENTERED enviromental  variable  has greater pri-
   1.120 +ority than the SDL_VIDEO_WINDOW_POS in case if both variables are sup-
   1.121 +plied to the application.