Hello guys,
I can't seem to figure out how to unbind keys I have been set.
I'm trying to deactivate the console and while it's deactivated I allow to walk with WASD, that stuff is working.
When I activate the console it wont unbind them somehow.
tried it several ways:
I somehow can't figure out what's wrong
hopefully someone of you guys can help me with it
Kind regards, Evil Hero.
I can't seem to figure out how to unbind keys I have been set.
I'm trying to deactivate the console and while it's deactivated I allow to walk with WASD, that stuff is working.
When I activate the console it wont unbind them somehow.
tried it several ways:
Lua:
g_keyboard.unbindKeyDown('W')
g_keyboard.unbindKeyUp('W')
g_keyboard.unbindKeyDown('W', function() modules.game_interface.changeWalkDir(North) end, modules.game_interface.gameRootPanel)
g_keyboard.unbindKeyUp('W', function() modules.game_interface.changeWalkDir(North) end, modules.game_interface.gameRootPanel)
hopefully someone of you guys can help me with it
Kind regards, Evil Hero.