Hey,
Programming a simple slide show sort of thing. Space key goes forward,
Backspace key goes back.
So, I found it was missfiring (repeating) sometimes activating on a keyDown.
No problem, I'll attach it to the keyUp. You can't hold a key up, right?
However, the Backspace key doesn't seem to trigger a keyUp. Neither does
Enter. What's up with that?
And thoughts on getting around it? I mean, I'm planning to use a key that
fires correctly, but . . . seems a little fubar to me.
Thanks.
KB
KrahnikBoi - 01 Aug 2008 00:06 GMT
Me again,
OK, so it works perfectly well when I use an onKeyDown with a Key.getCode()
and assign a Boolean to tell me if it has triggered or not, so it doesn't
fire repeatedly.
Still, I'd like to know why the weirdness was happening with the first
attempt. I was trying to assign SPACE and BACKSPACE to a String and make it
do it's thing that way. Some keys worked as expected, but others didn't.
Thanks for the input.
KB
> Hey,
>
[quoted text clipped - 12 lines]
>
> KB