Changeset 2906


Ignore:
Timestamp:
Sep 12, 2013, 6:50:01 PM (6 years ago)
Author:
touky
Message:

nacl : CODE FAIL. today is not the day.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/nacl/nacl-instance.cpp

    r2904 r2906  
    5858    pp::Module::Get()->core()->CallOnMainThread(
    5959            DELTA_MS, pp::CompletionCallback(&TickCallback, data), PP_OK);
    60 
    61     /* Propagate gamepad information */
    62     InputDeviceInternal* stick = new InputDeviceInternal(String::Printf("Joystick%d", i+1).C());
    63     for (int j = 0; j < 4; ++j)
    64         stick->AddAxis(String::Printf("Axis%d", j+1).C());
    65     for (int j = 0; j < 16; ++j)
    66         stick->AddKey(String::Printf("Button%d", j+1).C());
    67 
    68     m_data->m_joysticks.Push(i, stick);
    6960
    7061    /* 12/09/2013 : Deactivated to get build back.
Note: See TracChangeset for help on using the changeset viewer.