README.ds
changeset 5515 0fcf231a6e74
parent 5430 1b318d81c85f
child 6251 3e8c673cad58
     1.1 --- a/README.ds	Fri Mar 25 14:45:04 2011 -0700
     1.2 +++ b/README.ds	Sat Mar 26 21:26:05 2011 -0700
     1.3 @@ -17,9 +17,9 @@
     1.4  After setting the devkitpro environment, cd into your SDL directory and type:
     1.5    make -f Makefile.ds
     1.6  
     1.7 -This will compile and install the library and headers into the proper libnds
     1.8 -directories. Additionnaly it will compile several tests that you can run
     1.9 -either on the DS or with desmume. For instance:
    1.10 +This will compile and install the library and headers into the
    1.11 +devkitpro's portlibs directory. Additionnaly it will compile several
    1.12 +tests that you can run either on the DS or with desmume. For instance:
    1.13    desmume test/nds-test-progs/general/general.nds
    1.14  
    1.15  -Notes-
    1.16 @@ -27,7 +27,7 @@
    1.17  * The port is very basic and incomplete:
    1.18    - SDL currently has to be compiled for either framebuffer mode or render mode.
    1.19       See USE_HW_RENDERER in Makefile.ds.
    1.20 -  - some optionnal renderer functions are not implemented.
    1.21 +  - some optional renderer functions are not implemented.
    1.22  
    1.23  -Limitations-
    1.24  * in hardware renderer mode, don't load too many textures. The internal format is
    1.25 @@ -36,4 +36,24 @@
    1.26  * the screen size is 256 x 384. Anything else won't work.
    1.27  * there is no 8 bits/pixel mode because SDL 1.3 doesn't support palettes.
    1.28  
    1.29 +-Joystick mapping-
    1.30 +The Joystick presented to SDL has 2 axes and 8 buttons
    1.31  
    1.32 + KEY      | Code
    1.33 +  A       |   0
    1.34 +  B       |   1
    1.35 +  X       |   2
    1.36 +  Y       |   3
    1.37 +  L       |   4
    1.38 +  R       |   5
    1.39 +  select  |   6
    1.40 +  start   |   7
    1.41 +
    1.42 + Left-right is axe 0.
    1.43 + Up-down is axe 1.
    1.44 +
    1.45 +-Mouse mapping-
    1.46 +todo
    1.47 +
    1.48 +-Examples-
    1.49 +Due to memory limitations, to be able to successfully run the testscale example, sample.bmp must be resized to 256x105.