Jump to content

TheInput:IsKeyDown sticking issue


eXiGe
  • Pending
ThePlayer:DoPeriodicTask(1, function()
    print("Control "..tostring(TheInput:IsControlPressed(CONTROL_MOVE_RIGHT)))
    print("Key "..tostring(TheInput:IsKeyDown(KEY_D)))
end)

When holding down a key, D in this case, and alt-tabbing from the game, both key and control will continue to hold as expected. Once returning to the game, the control will be released, whereas the key will remain stuck on.


Steps to Reproduce
See code snippet above



User Feedback


There are no comments to display.



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...