README-raspberrypi.txt
changeset 7753 e4c38f17bfad
child 7778 a571a9947869
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/README-raspberrypi.txt	Sat Sep 28 13:28:19 2013 -0300
     1.3 @@ -0,0 +1,48 @@
     1.4 +================================================================================
     1.5 +SDL2 for Raspberry Pi
     1.6 +================================================================================
     1.7 +
     1.8 +Requirements:
     1.9 +
    1.10 +Raspbian (other Linux distros may work as well).
    1.11 +
    1.12 +================================================================================
    1.13 + Features
    1.14 +================================================================================
    1.15 +
    1.16 +* Works without X11
    1.17 +* Hardware accelerated OpenGL ES 2.x
    1.18 +* Sound via ALSA
    1.19 +* Input (mouse/keyboard/joystick) via EVDEV
    1.20 +* Hotplugging of input devices via UDEV
    1.21 +
    1.22 +================================================================================
    1.23 + Raspbian Build Dependencies
    1.24 +================================================================================
    1.25 +
    1.26 +sudo apt-get install libudev-dev libasound2-dev
    1.27 +
    1.28 +You also need the VideoCore binary stuff that ships in /opt/vc for EGL and 
    1.29 +OpenGL ES 2.x, it usually comes pre installed, but in any case:
    1.30 +    
    1.31 +sudo apt-get install libraspberrypi0 libraspberrypi-bin libraspberrypi-dev
    1.32 +
    1.33 +================================================================================
    1.34 + No HDMI Audio
    1.35 +================================================================================
    1.36 +
    1.37 +If you notice that ALSA works but there's no audio over HDMI, try adding:
    1.38 +    
    1.39 +    hdmi_drive=2
    1.40 +    
    1.41 +to your config.txt file and reboot.
    1.42 +
    1.43 +Reference: http://www.raspberrypi.org/phpBB3/viewtopic.php?t=5062
    1.44 +
    1.45 +================================================================================
    1.46 + Notes
    1.47 +================================================================================
    1.48 +
    1.49 +* Building has only been tested natively (i.e. not cross compiled). Cross
    1.50 +  compilation might work though, feedback is welcome!
    1.51 +* No Text Input yet.
    1.52 \ No newline at end of file