GetChar in firefox
Monkey Forums/Monkey Programming/GetChar in firefox
| ||
getchar in firefox seems to be producing repeat characters for certain keys. I havn't tested all keys, but confirm that this is happening for backspace and space. |
| ||
Hi, GetChar is supposed to repeat (in an OS defined way) - it's what the OS sends the app in terms of characters. Use KeyHit/KeyDown for raw key states. |
| ||
Hey, sorry maybe I wasn't making sense.. Just that Firefox produces double presses whereas the other browses just produce one. So pressing space once equals twice in Firefox. The os defined repeat behaviour is good, definitely don't delete that as a #bug, but this key-doubling is a different issue... |
| ||
You an see a demo of it here: http://www.monkeycoder.co.nz/Community/posts.php?topic=2397 try typing spaces and you will see it inserts two spaces.. |