Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 30, 2010, 10:28:08 PM (14 years ago)
Author:
landauf
Message:

"KeyDetectorKeyPressed" is now a hidden command and "keybind" and "tkeybind" support auto-completion for the bound command

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/consolecommands3/src/libraries/core/input/KeyBinderManager.cc

    r7236 r7273  
    4848    static const std::string __CC_tunbind_name = "tunbind";
    4949
    50     SetConsoleCommand(__CC_keybind_name,  &KeyBinderManager::keybind).defaultValues("");
    51     SetConsoleCommand(__CC_tkeybind_name, &KeyBinderManager::tkeybind).defaultValues("");
     50    SetConsoleCommand(__CC_keybind_name,  &KeyBinderManager::keybind).defaultValues("").argumentCompleter(0, autocompletion::command());
     51    SetConsoleCommand(__CC_tkeybind_name, &KeyBinderManager::tkeybind).defaultValues("").argumentCompleter(0, autocompletion::command());
    5252    SetConsoleCommand(__CC_unbind_name,   &KeyBinderManager::unbind).defaultValues("");
    5353    SetConsoleCommand(__CC_tunbind_name,  &KeyBinderManager::tunbind).defaultValues("");
Note: See TracChangeset for help on using the changeset viewer.