GSEN (C) 2008 SKKV Software 

1. Description
2. License Agreement

1. Description
Auto-rotate screen on SOME devices with g-sensor.
Install GSen and run it.
If you run it again, program will ask you "Unload program?".
If you answer yes - program will be unloaded.
This also possible without question with parameter #unload.

You can use configuration shortcut for edit configuration file.
This file can include this command:
#window(text or class name) - add window description
#timeout(value) - default value 1000 ms
#onlyfor(0|1) - if 0 auto rotate work for all programm except defined by #window, otherwise ONLY for this program.
By default program not rotate screen if Manila or Teeter is foreground application, but you can edit this list.
#fdscreenoff(0|1|2) - if 1, program will switch off screen if you put device with screen on bottom, if 2 device will suspend.
#lockscreen(0|1) - if not present = 1, can prevent, if enabled, rotation with locked device
#poweroff180(0|1) - if not present = 0, determine interpretation of rotation to 180, 0 - rotate screen, 1 - power off.

GSen can indicate self state,
you can setup it with this commands:
#show(0|1) - if 1 GSen will show one pixel (by default) indicator on top bar.
#x(X), 
#y(Y) coordinates of this indicator, default X=240,Y=1
#clr(R,G,B) - color, default white (255,255,255)
you also can setup width and height (#width(W), #height(H)) 



Commandline parameters:
#load - load app, if loaded already - exit without questions
#unload - unload app
#toggle - if loaded will unload, otherwise will load, usable with one shortcut
#about - show about window
if you start without parameters - program will ask "Unload?" if already exist one instance, or simple run if not exist.

NOTE: some programs, like Teeter game, cannot start in landscape mode, so switch to standard display orientation before.


2. License Agreement
The License Agreement for using GSEN
(hereinafter referred to as "Software").

You may:
======== 
(i) use this Software ON YOUR RISK for non-commercial purpose only.

You may not:
============ 
(i) modify, translate, reverse engineer, decompile, disassemble, 
create derivative works based on the Software, or any portion thereof, 
or Documentation; or attempt to increase the functionality of 
the Software in any manner; 
(ii) rent, lease, or otherwise transfer rights to the Software or 
Documentation; 
(iii) remove any proprietary notices or labels on or in 
the Software or Documentation; 


TITLE. Title, ownership rights, and intellectual property rights 
in and to the Software and Documentation belong to the authour of 
the Software and are protected by the copyright laws of the 
Russian Federation and international copyright treaties.

LIMITED WARRANTY.
The author guarantees the Software performance within the author's description. 

NO OTHER WARRANTIES, EXCEPT AS EXPRESSLY PROVIDED IN THE LIMITED 
WARRANTY SECTION ABOVE, THE SOFTWARE IS PROVIDED TO THE END USER "AS IS" 
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR LIMITED, INCLUDING, 
BUT NOT LIMITED TO, WARRANTIES OF NON- INFRINGEMENT, MERCHANTABILITY, 
AND/OR FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK OF THE QUALITY 
AND PERFORMANCE OF THE SOFTWARE IS WITH YOU.

LIMITATION OF LIABILITY.
UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, TORT, CONTRACT, OR 
OTHERWISE, SHALL SKKV SOFTWARE OR ITS SUPPLIERS OR RESELLERS BE LIABLE TO YOU OR ANY 
OTHER PERSON FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION INDIRECT, 
SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY CHARACTER INCLUDING, 
WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL, WORK STOPPAGE, 
COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER COMMERCIAL 
DAMAGES OR LOSSES, EVEN IF SKKV SOFTWARE SHALL HAVE BEEN INFORMED OF THE 
POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY OTHER PARTY. 
SKKV SOFTWARE SHALL NOT BE LIABLE FOR ANY DAMAGES UNDER THIS AGREEMENT.

TERM AND TERMINATION.
This Agreement will terminate automatically if you fail to comply 
with the limitations described above. On termination, 
you must (i) discontinue your use of the Software and 
(ii) permanently erase or destroy all copies of the Software and Documentation.



