• 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
SDL_fbvideo.h 5.91 KB