• Sam Lantinga's avatar
    Vitaly Minko to slouken · a1bc67d3
    Sam Lantinga authored
    Hi all,
    
    I wrote a patch, which allows user to rotate the screen in case of fbcon driver.
    The rotation angle is controlled by SDL_VIDEO_FBCON_ROTATION environment variable and possible values are:
    not set        - Not rotating, no shadow.
    "NONE"    - Not rotating, but still using shadow.
    "CW"         - Rotating screen clockwise.
    "UD"          - Rotating screen upside down.
    "CCW"      - Rotating screen counter clockwise.
    
    The patch is based on wscons driver, written by Staffan Ulfberg.
    
    I tested it on
    Device:                Sharp Zaurus SL-C1000
    SDL version:       1.2.13
    Kernel version:    2.6.24.4
    
    Best regards,
    Vitaly.
    
    --HG--
    branch : SDL-1.2
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/branches/SDL-1.2%403928
    a1bc67d3
Name
Last commit
Last update
..
audio Loading commit data...
cdrom Loading commit data...
cpuinfo Loading commit data...
events Loading commit data...
file Loading commit data...
hermes Loading commit data...
joystick Loading commit data...
loadso Loading commit data...
main Loading commit data...
stdlib Loading commit data...
thread Loading commit data...
timer Loading commit data...
video Loading commit data...
SDL.c Loading commit data...
SDL_error.c Loading commit data...
SDL_error_c.h Loading commit data...
SDL_fatal.c Loading commit data...
SDL_fatal.h Loading commit data...