Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 3, 2009, 5:33:31 PM (15 years ago)
Author:
rgrieder
Message:

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! =
Location:
code/branches/core5/data/defaultConfig
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/data/defaultConfig/keybindings.ini

    r5695 r5863  
    2525KeyEscape="exit"
    2626KeyF="scale -1 moveUpDown"
    27 KeyF1=
     27KeyF1="OverlayGroup toggleVisibility Debug"
    2828KeyF10=
    2929KeyF11=
     
    4141KeyF9=
    4242KeyG=greet
    43 KeyGrave=
     43KeyGrave="openConsole"
    4444KeyH=
    4545KeyHome=showGUI
     
    126126KeyU=
    127127KeyUP="scale 1 moveFrontBack"
    128 KeyUnassigned=
     128KeyUnassigned="openConsole"
    129129KeyUnderline=
    130130KeyUnlabeled=
Note: See TracChangeset for help on using the changeset viewer.