Hi,
I am working on an in game CMD. I want to implement autocomplete for commands, however, pressing tab shifts the focus from the game to my different tabs in chrome.
Is it possible to use the preventDefault() method in C3?
Like:
input.keydown(function(event){
if (event.keyCode === 9) {
event.preventDefault();
}
});
Since the isKeyDown(keyStringOrWhich) does not provide an event but only a boolean.
Thanks in advance,
Toby