Last change
on this file since 5863 was
5863,
checked in by rgrieder, 15 years ago
|
New class: KeyBinderManager (yes, it really was necessary, I'm not such a Fan of zillions of classes as well) and moved the keybind command to it from GSLevel.
This new Singleton simply maps the keybind command to the right KeyBinder, selected by KeyBinderManager::setCurrent().
There is also a default KeyBinder (with keybindings.ini as file), which should do the Trick for now. Other Keybinders should only server special purposes (like in mini games or so).
DELETE YOUR keybindings.ini FILE! =
|
-
Property svn:eol-style set to
native
|
File size:
253 bytes
|
Line | |
---|
1 | ADD_SOURCE_FILES(CORE_SRC_FILES |
---|
2 | Button.cc |
---|
3 | HalfAxis.cc |
---|
4 | InputBuffer.cc |
---|
5 | InputCommands.cc |
---|
6 | InputManager.cc |
---|
7 | InputState.cc |
---|
8 | JoyStick.cc |
---|
9 | JoyStickQuantityListener.cc |
---|
10 | KeyBinder.cc |
---|
11 | KeyBinderManager.cc |
---|
12 | Keyboard.cc |
---|
13 | KeyDetector.cc |
---|
14 | Mouse.cc |
---|
15 | ) |
---|
Note: See
TracBrowser
for help on using the repository browser.