Hello Guest

Keyboard not responding since update to 1.0 beta3

  • 34 Replies
  • 24019 Views
*

Offline Nop

  • *
  • 43
Keyboard not responding since update to 1.0 beta3
« Reply #30 on: November 16, 2006, 21:28:49 »
I think you are right on the mark. I use getEventCharacter() to get the typed key after having handled the F- and cursor keys. The following is the code that takes the typed key and adds it to the editor (which does not work with the bug).

Quote
               default:
                    char c = Keyboard.getEventCharacter();
                    if( c >= 32 )
                    {
                        Gui.getEditor().addChar( c );
                    }

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Keyboard not responding since update to 1.0 beta3
« Reply #31 on: November 17, 2006, 06:50:55 »
Great! Then there's a good chance you'll find beta4 working on win98 SE. You can either wait for the release (should be very soon, probably this weekend), or if you like to test it, compile either directly from SVN or use these prebuilt binaries:

http://download.oddlabs.com/elias/lwjgl-17112006.zip

 - elias

*

Offline Nop

  • *
  • 43
Keyboard not responding since update to 1.0 beta3
« Reply #32 on: November 17, 2006, 18:14:07 »
I have tried the pre-build files. Unfortunately this always gives me the following exception:
Code: [Select]

java.lang.IllegalStateException: Destroy the Keyboard first.
at org.lwjgl.input.Keyboard.create(Keyboard.java:293)
at org.lwjgl.input.Keyboard.create(Keyboard.java:312)


(I used the old lwgjl_util.jar, as there wasn't a pre-built one.)

*

Offline elias

  • *****
  • 899
    • http://oddlabs.com
Keyboard not responding since update to 1.0 beta3
« Reply #33 on: November 17, 2006, 18:24:27 »
Try this newer lwjgl.jar with that bug fixed (you can keep the natives):

http://download.oddlabs.com/elias/lwjgl.jar

 - elias

*

Offline Nop

  • *
  • 43
Keyboard not responding since update to 1.0 beta3
« Reply #34 on: November 18, 2006, 00:17:38 »
This appears to work. Thank you.