mirror of
https://github.com/edubart/otclient.git
synced 2025-10-16 20:43:26 +02:00
implement auto repeat configuration for key press events, to give more flexibility
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
local m_mouseGrabberWidget
|
||||
|
||||
-- private functions
|
||||
local function onGameKeyPress(self, keyCode, keyboardModifiers, wouldFilter)
|
||||
if wouldFilter then return end
|
||||
local function onGameKeyPress(self, keyCode, keyboardModifiers)
|
||||
if keyboardModifiers == KeyboardCtrlModifier then
|
||||
if keyCode == KeyG then
|
||||
CharacterList.show()
|
||||
|
Reference in New Issue
Block a user