• 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
..
3dfx_mmio.h Loading commit data...
3dfx_regs.h Loading commit data...
SDL_fb3dfx.c Loading commit data...
SDL_fb3dfx.h Loading commit data...
SDL_fbelo.c Loading commit data...
SDL_fbelo.h Loading commit data...
SDL_fbevents.c Loading commit data...
SDL_fbevents_c.h Loading commit data...
SDL_fbkeys.h Loading commit data...
SDL_fbmatrox.c Loading commit data...
SDL_fbmatrox.h Loading commit data...
SDL_fbmouse.c Loading commit data...
SDL_fbmouse_c.h Loading commit data...
SDL_fbriva.c Loading commit data...
SDL_fbriva.h Loading commit data...
SDL_fbvideo.c Loading commit data...
SDL_fbvideo.h Loading commit data...
matrox_mmio.h Loading commit data...
matrox_regs.h Loading commit data...
riva_mmio.h Loading commit data...
riva_regs.h Loading commit data...