Changeset 838


Ignore:
Timestamp:
Aug 18, 2011, 6:54:20 PM (8 years ago)
Author:
sam
Message:

ps3: add a simple PS3 input system that currently merely emulates mouse
movements with the right stick and one mouse button with the L1 or R1 buttons.

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/monsterz/monsterz.cpp

    r758 r838  
    2626#if defined __CELLOS_LV2__
    2727#   include "ps3app.h"
     28#   include "ps3input.h"
    2829#elif defined HAVE_GLES_2X
    2930#   include "eglapp.h"
     
    5354
    5455    /* Register an input driver and some debug stuff */
    55 #if !defined HAVE_GLES_2X
     56#if defined __CELLOS_LV2__
     57    new Ps3Input();
     58#elif !defined HAVE_GLES_2X
    5659    new SdlInput();
    5760#endif
  • trunk/monsterz/ps3/Makefile

    r833 r838  
    2626PPU_LDLIBS += -lpngdec_stub
    2727
     28# For the PadUtil lib (to remove later)
     29PPU_LDLIBS += -lpadfilter
     30PPU_CPPFLAGS += -I$(CELL_SDK)/samples/common/padutil
     31PPU_SRCS += $(CELL_SDK)/samples/common/padutil/padutil.cpp ../../src/ps3input.cpp
     32
    2833include $(CELL_SDK)/samples/sdk/graphics/psgl/MakeRules
    2934
  • trunk/src/Makefile.am

    r783 r838  
    1717    eglapp.cpp eglapp.h \
    1818    \
     19    ps3app.cpp ps3app.h \
     20    \
    1921    shader/shader.cpp shader/shader.h \
    2022    \
Note: See TracChangeset for help on using the changeset viewer.