![]() |
onKeyDown
can the params possibly be changed to an array in which all keys currently being pressed are passed?
I.E holding c + v would pass params {67, 86}, {"c", "v"}, |
I'm not sure this makes sense. onKeyDown is an event when you hit a single key, why should it be returning any more information than the new information?
If we were working with some "currentKeys"ish variable, then yes, this would make sense, but in this case I don't think it does. |
You can make your own version of this like:
PHP Code:
Additionally, if you just want to check if C and V are being pressed you can do: PHP Code:
|
| All times are GMT +2. The time now is 09:44 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.