Changeset 1447 for code/branches/network/src
- Timestamp:
- May 28, 2008, 5:41:43 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/Shell.cc
r1446 r1447 33 33 #include "CoreSettings.h" 34 34 #include "ConsoleCommand.h" 35 #include "Input Manager.h"35 #include "InputInterfaces.h" 36 36 37 37 #define SHELL_UPDATE_LISTENERS(function) \ … … 110 110 this->inputBuffer_->registerListener(this, &Shell::hintandcomplete, '\t', true); 111 111 this->inputBuffer_->registerListener(this, &Shell::backspace, '\b', true); 112 this->inputBuffer_->registerListener(this, &Shell::deletechar, OIS::KC_DELETE);112 this->inputBuffer_->registerListener(this, &Shell::deletechar, KeyCode::Delete); 113 113 this->inputBuffer_->registerListener(this, &Shell::exit, (char)27, true); 114 this->inputBuffer_->registerListener(this, &Shell::cursor_right, OIS::KC_RIGHT);115 this->inputBuffer_->registerListener(this, &Shell::cursor_left, OIS::KC_LEFT);116 this->inputBuffer_->registerListener(this, &Shell::cursor_end, OIS::KC_END);117 this->inputBuffer_->registerListener(this, &Shell::cursor_home, OIS::KC_HOME);118 this->inputBuffer_->registerListener(this, &Shell::history_up, OIS::KC_UP);119 this->inputBuffer_->registerListener(this, &Shell::history_down, OIS::KC_DOWN);120 this->inputBuffer_->registerListener(this, &Shell::scroll_up, OIS::KC_PGUP);121 this->inputBuffer_->registerListener(this, &Shell::scroll_down, OIS::KC_PGDOWN);114 this->inputBuffer_->registerListener(this, &Shell::cursor_right, KeyCode::Right); 115 this->inputBuffer_->registerListener(this, &Shell::cursor_left, KeyCode::Left); 116 this->inputBuffer_->registerListener(this, &Shell::cursor_end, KeyCode::End); 117 this->inputBuffer_->registerListener(this, &Shell::cursor_home, KeyCode::Home); 118 this->inputBuffer_->registerListener(this, &Shell::history_up, KeyCode::Up); 119 this->inputBuffer_->registerListener(this, &Shell::history_down, KeyCode::Down); 120 this->inputBuffer_->registerListener(this, &Shell::scroll_up, KeyCode::PageUp); 121 this->inputBuffer_->registerListener(this, &Shell::scroll_down, KeyCode::PageDown); 122 122 } 123 123
Note: See TracChangeset
for help on using the changeset viewer.