• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OTClient hotkeys binding issue

fcaval

New Member
Joined
Nov 18, 2021
Messages
1
Reaction score
0
GitHub
andrefel44
I've been having some issues with especific bindings and was wondering if maybe someone can help. I can't seem to be able to bind a few numpad keys (/, *, -, + and ,), as the client appears to not even recognize those keys when i press them.
1637275394367.png

I have very little knowledge about lua scripting, so all my attempts at editing stuff rendered no success. I am not even sure if it is possible, but I wanna be able to bind the aforementioned keys to hotkeys and use them
 
Those keys has not been mapped in source (src/framework/platform/win32window.cpp) by Edubart for some reason.
You can try to find out why by uncommenting the fragment:
C++:
    // keypad
    /*
    m_keyMap[VK_ADD] = Fw::KeyPlus;
    m_keyMap[VK_SUBTRACT] = Fw::KeyMinus;
    m_keyMap[VK_DECIMAL] = Fw::KeyPeriod;
    m_keyMap[VK_DIVIDE] = Fw::KeySlash;
    m_keyMap[VK_MULTIPLY] = Fw::KeyAsterisk;
    */
 
Back
Top