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/demos/tutorial/07_input.cpp

    r2923 r2925  
    2626    InputTutorial()
    2727    {
    28         m_controller = new Controller(KEY_MAX, AXIS_MAX);
     28        m_controller = new Controller("Default", KEY_MAX, AXIS_MAX);
    2929
    3030        m_keyboard = InputDevice::Get("Keyboard");
Note: See TracChangeset for help on using the changeset viewer.