Unfortunately not possible from Lua. It IS however possible with a 3rd party external application as the keymapping is stored in a text document, lotro.keymap in your "The Lord of the Rings Online" folder (where you create the "Plugins" folder). This unfortunately has two minor issues, first it means modifying game files with a third party tool (technically a ToS violation although I doubt Turbine cares about a settings file but I personally wouldn't publish such an application without first obtaining Turbine's blessing). Secondly it means erroding users' wariness of executables and the potential for keyloggers, etc. The second issue can be fairly well overcome by publishing the source code as well as the application and writing it to run in a secure sandbox such as Java.
Last edited by Garan : 01-22-2012 at 01:46 PM.
|