Ignore:
Timestamp:
Jun 4, 2012, 7:18:45 PM (8 years ago)
Author:
sam
Message:

nacl: preliminary gamepad support in the NaCl backend.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/nacl/nacl_instance.h

    r1435 r1439  
    66#define EXAMPLES_TUMBLER_TUMBLER_H_
    77
    8 #include <pthread.h>
    9 #include <map>
    10 #include <vector>
    11 
    128#include <ppapi/cpp/instance.h>
     9#include <ppapi/c/ppb_gamepad.h>
    1310
    1411#include "platform/nacl/opengl_context.h"
    1512#include "platform/nacl/opengl_context_ptrs.h"
     13
     14#include "input/input.h"
    1615
    1716namespace lol {
     
    4847
    4948private:
     49    static void TickCallback(void* data, int32_t result);
     50
    5051    static void CallIntMainWrappers(int argc, char const* argn[]);
    5152    static void CallVoidMainWrappers(int argc, char const* argn[]);
     53
     54    static void RunMain(uint32_t argc, const char* argn[], const char* argv[]);
     55
     56    /* Gamepad support */
     57    PPB_Gamepad const *m_pad_interface;
     58    Array<Stick *> m_sticks;
    5259};
    5360
Note: See TracChangeset for help on using the changeset viewer.