Unbind Key Presses

Posted by Doug on Stack Overflow See other posts from Stack Overflow or by Doug
Published on 2010-04-17T00:17:50Z Indexed on 2010/04/17 0:23 UTC
Read the original article Hit count: 651

Filed under:
|
|

I'm making a game that involves, like all games, key presses. Only left and right arrow and the Space Bar. They work, but the browser is pre-set to scroll left, right, or jump down on those keys. Is there any way to unbind those keys in the code? Thanks.

© Stack Overflow or respective owner

Related posts about unbind

Related posts about key