Ignore:
Timestamp:
Sep 14, 2013, 8:55:42 PM (6 years ago)
Author:
benlitz
Message:

input: added a name the controllers, and a static Get() function to easily retrieve a registered controller

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/meshviewer.cpp

    r2838 r2925  
    8383    {
    8484        /* Register an input controller for the keyboard */
    85         m_controller = new Controller(KEY_MAX, 0);
     85        m_controller = new Controller("Default", KEY_MAX, 0);
    8686
    8787        m_controller->GetKey(KEY_CAM_RESET).Bind("Keyboard", "Return");
Note: See TracChangeset for help on using the changeset viewer.