Не все так просто так как
1. Половина этих самых клавиш описанных в keyboard.txt не работает начиная с классика.
2. Добавление своих конешно решает эту проблему но создает лишь неудобства пользователям
3. Ауран эту проблему решать не собирается
Цитата:
-Pass ALL keystroke information to the cab/cabin script. Currently only a subset of the keys usable are passed to the script methods meaning the cab script cannot react to all the users control requests and the range of controls is not extensible. -eldavo
--Please provide more information on what you want here. Which keys are you missing out on that you actually need? -chris
--At this time Trainz does not passes via Cabin.UserPressKey(string) large number of keyboard shortcuts defined in file Settings/keyboard.txt. This makes difficult to override default cabin implementation and defining custom functions to keys. -Mike
--As above, please provide specifics. We will not be simply passing through all keyboard information because this breaks localisation support. We may be able to help with specific requests. ~chris
|
Об какой спрашивается локализации они говорят?
4. Могу заверить что все это скриптерам давно известно